Uses of Class
eu.webtoolkit.jwt.WLayout
Package | Description |
---|---|
eu.webtoolkit.jwt |
-
Uses of WLayout in eu.webtoolkit.jwt
Subclasses of WLayout in eu.webtoolkit.jwt Modifier and Type Class Description class
WBorderLayout
A layout manager which divides the container region in five regions.class
WBoxLayout
A layout manager which arranges widgets horizontally or vertically.class
WFitLayout
A layout manager which spans a single widget to all available space.class
WGridLayout
A layout manager which arranges widgets in a grid.class
WHBoxLayout
A layout manager which arranges widgets horizontally.class
WVBoxLayout
A layout manager which arranges widgets vertically.Methods in eu.webtoolkit.jwt that return WLayout Modifier and Type Method Description WLayout
WContainerWidget. getLayout()
Returns the layout manager that was set for the container.WLayout
WLayout. getLayout()
WLayout
WLayoutItem. getLayout()
Returns the layout that implements thisWLayoutItem
.WLayout
WWidgetItem. getLayout()
WLayout
WLayout. getParentLayout()
WLayout
WLayoutItem. getParentLayout()
Returns the layout in which this item is contained.WLayout
WWidgetItem. getParentLayout()
Methods in eu.webtoolkit.jwt with parameters of type WLayout Modifier and Type Method Description void
WBoxLayout. addLayout(WLayout layout)
Adds a nested layout to the layout.void
WBoxLayout. addLayout(WLayout layout, int stretch)
Adds a nested layout to the layout.void
WBoxLayout. addLayout(WLayout layout, int stretch, AlignmentFlag alignmen, AlignmentFlag... alignment)
Adds a nested layout to the layout.void
WBoxLayout. addLayout(WLayout layout, int stretch, java.util.EnumSet<AlignmentFlag> alignment)
Adds a nested layout to the layout.void
WGridLayout. addLayout(WLayout layout, int row, int column)
Adds a nested layout item to the grid.void
WGridLayout. addLayout(WLayout layout, int row, int column, int rowSpan, int columnSpan)
Adds a nested layout item to the grid.void
WGridLayout. addLayout(WLayout layout, int row, int column, int rowSpan, int columnSpan, AlignmentFlag alignmen, AlignmentFlag... alignment)
Adds a nested layout item to the grid.void
WGridLayout. addLayout(WLayout layout, int row, int column, int rowSpan, int columnSpan, java.util.EnumSet<AlignmentFlag> alignment)
Adds a nested layout item to the grid.void
WGridLayout. addLayout(WLayout layout, int row, int column, AlignmentFlag alignmen, AlignmentFlag... alignment)
Adds a nested layout item to the grid.void
WGridLayout. addLayout(WLayout layout, int row, int column, java.util.EnumSet<AlignmentFlag> alignment)
Adds a nested layout item to the grid.void
WBoxLayout. insertLayout(int index, WLayout layout)
Inserts a nested layout in the layout.void
WBoxLayout. insertLayout(int index, WLayout layout, int stretch)
Inserts a nested layout in the layout.void
WBoxLayout. insertLayout(int index, WLayout layout, int stretch, AlignmentFlag alignmen, AlignmentFlag... alignment)
Inserts a nested layout in the layout.void
WBoxLayout. insertLayout(int index, WLayout layout, int stretch, java.util.EnumSet<AlignmentFlag> alignment)
Inserts a nested layout in the layout.void
WContainerWidget. setLayout(WLayout layout)
Sets a layout manager for the container.void
WContainerWidget. setLayout(WLayout layout, AlignmentFlag alignmen, AlignmentFlag... alignment)
Sets a layout manager for the container (deprecated).void
WContainerWidget. setLayout(WLayout layout, java.util.EnumSet<AlignmentFlag> alignment)
Deprecated.void
WLayout. setParentLayout(WLayout layout)
void
WLayoutItem. setParentLayout(WLayout parentLayout)
Internal method.void
WWidgetItem. setParentLayout(WLayout parentLayout)
boolean
WBoxLayout. setStretchFactor(WLayout layout, int stretch)
Sets the stretch factor for a nested layout.
setLayout()
instead, use spacers or a nested layout to control the overall alignment of the layout contents within the container, and useWWebWidget#setMaximumSize()
(if needed) to let the layout contents determine the size of the container.