Package de.esoco.process.ui.layout
Klasse UiDockLayout
java.lang.Object
de.esoco.process.ui.UiElement<UiLayout>
de.esoco.process.ui.UiLayoutElement<UiLayout>
de.esoco.process.ui.UiLayout
de.esoco.process.ui.layout.UiDockLayout
A layout that docks components to one or both sides of a center component,
either in horizontal or in vertical direction. The side components must have
a corresponding size value (width or height) set because the center component
will fill the remaining space.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen de.esoco.process.ui.UiLayout
UiLayout.Cell, UiLayout.ChildElement<E extends UiLayout.ChildElement<E>>, UiLayout.Column, UiLayout.Row, UiLayout.StructureElement<E extends UiLayout.StructureElement<E>>
-
Konstruktorübersicht
KonstruktorBeschreibungUiDockLayout
(de.esoco.lib.property.Orientation orientation, boolean allowResize) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
addComponent
(UiComponent<?, ?> component) Internal method to initially add a component to the layout.protected void
applyToContainer
(UiContainer<?> container) Applies this layout to the given container.protected UiLayout.Cell
createCell
(UiLayout.Row row, UiLayout.Column column) Creates a new layout cell.Von Klasse geerbte Methoden de.esoco.process.ui.UiLayout
applyTo, getCells, getColumns, getCurrentRow, getLayoutCell, getLayoutType, getNextGridColumn, getNextGridRow, getRows, ignoreProperties, isIgnored, layoutComponent, nextRow, removeColumn, removeRow, reset
Von Klasse geerbte Methoden de.esoco.process.ui.UiLayoutElement
alignHorizontal, alignVertical, applyPropertiesTo, applyProperty
Von Klasse geerbte Methoden de.esoco.process.ui.UiElement
applyTo, clearProperties, copyPropertiesFrom, get, get, hasProperty, isModified, set, set, set, setModified, toString
-
Konstruktordetails
-
UiDockLayout
public UiDockLayout(de.esoco.lib.property.Orientation orientation, boolean allowResize) Creates a new instance.- Parameter:
orientation
- The layout orientationallowResize
- TRUE to provide controls for the resizing of the components in the layout direction (split panel)
-
-
Methodendetails
-
addComponent
Internal method to initially add a component to the layout. This will add a dummy layout cell to the component that is not positioned in the layout but can be used to set layout parameters on the component by querying it withUiComponent.cell()
. The actual layout is performed by the methodUiLayout.layoutComponent(UiComponent)
.Invoked by
UiContainer.addComponent(UiComponent)
.- Setzt außer Kraft:
addComponent
in KlasseUiLayout
- Parameter:
component
- The component that has been added to the container
-
applyToContainer
Applies this layout to the given container.- Setzt außer Kraft:
applyToContainer
in KlasseUiLayout
- Parameter:
container
- The container
-
createCell
Creates a new layout cell. Can be overridden by subclasses to create layout-specific cell types. The default implementation returns an instance of the inner classUiLayout.Cell
.- Setzt außer Kraft:
createCell
in KlasseUiLayout
- Parameter:
row
- The row of the cellcolumn
- The column of the cell- Gibt zurück:
- The new cell
-