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
-
Method Summary
Modifier and TypeMethodDescriptionstatic FlexibleGridLayout.Builder
builder()
void
layoutContainer
(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:
preferredLayoutSize
in interfaceLayoutManager
- Overrides:
preferredLayoutSize
in classGridLayout
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
- Overrides:
minimumLayoutSize
in classGridLayout
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
- Overrides:
layoutContainer
in classGridLayout
-
builder
- Returns:
- a builder for
FlexibleGridLayout
.
-