Module is.codion.swing.common.ui
Interface PanelBuilder.PanelBuilderFactory
- Enclosing interface:
PanelBuilder<L extends LayoutManager,
B extends PanelBuilder<L, B>>
public static interface PanelBuilder.PanelBuilderFactory
Provides panel builders.
-
Method Summary
Modifier and TypeMethodDescriptionUses the default vertical and horizontal gap valueborderLayout
(BorderLayout layout) flexibleGridLayout
(int rows, int columns) Uses the default vertical and horizontal gap valueflexibleGridLayout
(FlexibleGridLayout layout) flowLayout
(int align) Uses the default vertical and horizontal gap valueflowLayout
(FlowLayout layout) gridLayout
(int rows, int columns) Uses the default vertical and horizontal gap valuegridLayout
(GridLayout layout) <L extends LayoutManager,
B extends PanelBuilder<L, B>>
PanelBuilder<L, B> layout
(L layout)
-
Method Details
-
layout
- Type Parameters:
L
- the layout typeB
- the builder type- Parameters:
layout
- the layout- Returns:
- a new panel builder
-
borderLayout
BorderLayoutPanelBuilder borderLayout()Uses the default vertical and horizontal gap value- Returns:
- a new panel builder
- See Also:
-
borderLayout
- Parameters:
layout
- the layout- Returns:
- a new panel builder
-
flowLayout
Uses the default vertical and horizontal gap value- Parameters:
align
- the layout alignment- Returns:
- a new panel builder
- See Also:
-
flowLayout
- Parameters:
layout
- the layout- Returns:
- a new panel builder
-
gridLayout
Uses the default vertical and horizontal gap value- Parameters:
rows
- the number of rowscolumns
- the number of columns- Returns:
- a new panel builder
- See Also:
-
gridLayout
- Parameters:
layout
- the layout- Returns:
- a new panel builder
-
flexibleGridLayout
Uses the default vertical and horizontal gap value- Parameters:
rows
- the number of rowscolumns
- the number of columns- Returns:
- a new panel builder
- See Also:
-
flexibleGridLayout
- Parameters:
layout
- the layout- Returns:
- a new panel builder
-