THIS
- Self-referential generic THISpublic interface FluentSplitPanel<THIS extends FluentSplitPanel<THIS>> extends FluentAbstractComponentContainer<THIS>
AbstractSplitPanel
AbstractSplitPanel
FluentHasComponents.FluentComponentAttachDetachNotifier<THIS extends FluentHasComponents<THIS>>
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
FluentComponent.FluentFocusable<C extends FluentComponent.FluentFocusable<C>>
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Method and Description |
---|---|
default THIS |
withFirstComponent(com.vaadin.ui.Component c)
Sets the first component of this split panel.
|
default THIS |
withLocked(boolean locked)
Lock the SplitPanels position, disabling the user from dragging the split
handle.
|
default THIS |
withMaxSplitPosition(float pos,
com.vaadin.server.Sizeable.Unit unit)
Sets the maximum split position to the given position and unit.
|
default THIS |
withMinSplitPosition(float pos,
com.vaadin.server.Sizeable.Unit unit)
Sets the minimum split position to the given position and unit.
|
default THIS |
withSecondComponent(com.vaadin.ui.Component c)
Sets the second component of this split panel.
|
default THIS |
withSplitPosition(float pos)
Moves the position of the splitter.
|
default THIS |
withSplitPosition(float pos,
boolean reverse)
Moves the position of the splitter.
|
default THIS |
withSplitPosition(float pos,
com.vaadin.server.Sizeable.Unit unit)
Moves the position of the splitter with given position and unit.
|
default THIS |
withSplitPosition(float pos,
com.vaadin.server.Sizeable.Unit unit,
boolean reverse)
Moves the position of the splitter with given position and unit.
|
default THIS |
withSplitPositionChangeListener(com.vaadin.ui.AbstractSplitPanel.SplitPositionChangeListener listener)
Add a listener to handle
AbstractSplitPanel.SplitPositionChangeEvent s. |
default THIS |
withSplitterClickListener(com.vaadin.ui.AbstractSplitPanel.SplitterClickListener listener)
Add a listener to handle
AbstractSplitPanel.SplitterClickEvent s. |
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleName
withAttachListener, withDetachListener
withContextClickListener
addContextClickListener, removeContextClickListener
withComponent, withComponents
addComponent, addComponents, getComponentCount, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponent, replaceComponent
forEach, spliterator
withCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisible
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
withFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidth
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
withComponentAttachListener, withComponentDetachListener
default THIS withFirstComponent(com.vaadin.ui.Component c)
c
- The component to use as first componentAbstractSplitPanel.setFirstComponent(Component)
default THIS withSecondComponent(com.vaadin.ui.Component c)
c
- The component to use as second componentAbstractSplitPanel.setSecondComponent(Component)
default THIS withLocked(boolean locked)
locked
- Set true
if locked, false
otherwise.AbstractSplitPanel.setLocked(boolean)
default THIS withMinSplitPosition(float pos, com.vaadin.server.Sizeable.Unit unit)
pos
- the minimum position of the splitunit
- the unit (from Sizeable
) in which the size is given.
Allowed units are UNITS_PERCENTAGE and UNITS_PIXELSAbstractSplitPanel.setMinSplitPosition(float, com.vaadin.server.Sizeable.Unit)
default THIS withMaxSplitPosition(float pos, com.vaadin.server.Sizeable.Unit unit)
pos
- the maximum position of the splitunit
- the unit (from Sizeable
) in which the size is given.
Allowed units are UNITS_PERCENTAGE and UNITS_PIXELSAbstractSplitPanel.setMaxSplitPosition(float, com.vaadin.server.Sizeable.Unit)
default THIS withSplitPosition(float pos)
pos
- the new size of the first region in the unit that was last
used (default is percentage). Fractions are only allowed when
unit is percentage.AbstractSplitPanel.setSplitPosition(float)
default THIS withSplitPosition(float pos, boolean reverse)
pos
- the new size of the region in the unit that was last used
(default is percentage). Fractions are only allowed when unit
is percentage.reverse
- if set to true the split splitter position is measured by the
second region else it is measured by the first regionAbstractSplitPanel.setSplitPosition(float, boolean)
default THIS withSplitPosition(float pos, com.vaadin.server.Sizeable.Unit unit)
pos
- the new size of the first region. Fractions are only allowed
when unit is percentage.unit
- the unit (from Sizeable
) in which the size is given.AbstractSplitPanel.setSplitPosition(float, com.vaadin.server.Sizeable.Unit)
default THIS withSplitPosition(float pos, com.vaadin.server.Sizeable.Unit unit, boolean reverse)
pos
- the new size of the first region. Fractions are only allowed
when unit is percentage.unit
- the unit (from Sizeable
) in which the size is given.reverse
- if set to true the split splitter position is measured by the
second region else it is measured by the first regionAbstractSplitPanel.setSplitPosition(float, com.vaadin.server.Sizeable.Unit, boolean)
default THIS withSplitPositionChangeListener(com.vaadin.ui.AbstractSplitPanel.SplitPositionChangeListener listener)
AbstractSplitPanel.SplitPositionChangeEvent
s.listener
- AbstractSplitPanel.SplitPositionChangeListener
to be registered.AbstractSplitPanel.addSplitPositionChangeListener(SplitPositionChangeListener)
default THIS withSplitterClickListener(com.vaadin.ui.AbstractSplitPanel.SplitterClickListener listener)
AbstractSplitPanel.SplitterClickEvent
s.listener
- AbstractSplitPanel.SplitterClickListener
to be registered.AbstractSplitPanel.addSplitterClickListener(SplitterClickListener)
Copyright © 2017 Jean-Christophe Fortier. All rights reserved.