java.lang.Object
java.awt.GridLayout
is.codion.swing.common.ui.layout.FlexibleGridLayout
- All Implemented Interfaces:
LayoutManager,Serializable
Grid Layout which allows components of different sizes.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FlexibleGridLayout.Builderbuilder()voidlayoutContainer(Container parent) minimumLayoutSize(Container parent) preferredLayoutSize(Container parent) setFixedColumnWidth(int width) setFixedRowHeight(int height) Methods inherited from class java.awt.GridLayout
addLayoutComponent, getColumns, getHgap, getRows, getVgap, removeLayoutComponent, setColumns, setHgap, setRows, setVgap, toString
-
Method Details
-
setFixedRowHeight
- Parameters:
height- the fixed row height to use in this layout- Returns:
- this layout instance
-
setFixedColumnWidth
- Parameters:
width- the fixed column width to use in this layout- Returns:
- this layout instance
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager- Overrides:
preferredLayoutSizein classGridLayout
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager- Overrides:
minimumLayoutSizein classGridLayout
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager- Overrides:
layoutContainerin classGridLayout
-
builder
- Returns:
- a builder for
FlexibleGridLayout.
-