Module is.codion.swing.common.ui
Interface BorderLayoutPanelBuilder
- All Superinterfaces:
ComponentBuilder<JPanel,
,BorderLayoutPanelBuilder> PanelBuilder<BorderLayout,
,BorderLayoutPanelBuilder> Supplier<JPanel>
public interface BorderLayoutPanelBuilder
extends PanelBuilder<BorderLayout,BorderLayoutPanelBuilder>
Builds a
BorderLayout
based panel.-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.swing.common.ui.component.panel.PanelBuilder
PanelBuilder.PanelBuilderFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic BorderLayoutPanelBuilder
builder()
Creates a newBorderLayoutPanelBuilder
instance using a newBorderLayout
instance with the default horizontal and vertical gap.center
(Supplier<? extends JComponent> centerComponent) center
(JComponent centerComponent) east
(Supplier<? extends JComponent> eastComponent) east
(JComponent eastComponent) north
(Supplier<? extends JComponent> northComponent) north
(JComponent northComponent) south
(Supplier<? extends JComponent> southComponent) south
(JComponent southComponent) west
(Supplier<? extends JComponent> westComponent) west
(JComponent westComponent) Methods inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
background, border, build, build, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusable, focusCycleRoot, focusListener, font, foreground, get, keyEvent, keyListener, label, label, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, name, onBuild, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, toolTipText, transferFocusOnEnter, transferFocusOnEnter, transferHandler, visible, visible
-
Method Details
-
center
- Parameters:
centerComponent
- theBorderLayout.CENTER
component- Returns:
- this builder instance
-
center
- Parameters:
centerComponent
- theBorderLayout.CENTER
component- Returns:
- this builder instance
-
north
- Parameters:
northComponent
- theBorderLayout.NORTH
component- Returns:
- this builder instance
-
north
- Parameters:
northComponent
- theBorderLayout.NORTH
component- Returns:
- this builder instance
-
south
- Parameters:
southComponent
- theBorderLayout.SOUTH
component- Returns:
- this builder instance
-
south
- Parameters:
southComponent
- theBorderLayout.SOUTH
component- Returns:
- this builder instance
-
east
- Parameters:
eastComponent
- theBorderLayout.EAST
component- Returns:
- this builder instance
-
east
- Parameters:
eastComponent
- theBorderLayout.EAST
component- Returns:
- this builder instance
-
west
- Parameters:
westComponent
- theBorderLayout.WEST
component- Returns:
- this builder instance
-
west
- Parameters:
westComponent
- theBorderLayout.WEST
component- Returns:
- this builder instance
-
builder
Creates a newBorderLayoutPanelBuilder
instance using a newBorderLayout
instance with the default horizontal and vertical gap.- Returns:
- a border layout panel builder
- See Also:
-