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 BorderLayoutPanelBuilderbuilder()Creates a newBorderLayoutPanelBuilderinstance using a newBorderLayoutinstance 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, 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.CENTERcomponent- Returns:
- this builder instance
-
center
- Parameters:
centerComponent- theBorderLayout.CENTERcomponent- Returns:
- this builder instance
-
north
- Parameters:
northComponent- theBorderLayout.NORTHcomponent- Returns:
- this builder instance
-
north
- Parameters:
northComponent- theBorderLayout.NORTHcomponent- Returns:
- this builder instance
-
south
- Parameters:
southComponent- theBorderLayout.SOUTHcomponent- Returns:
- this builder instance
-
south
- Parameters:
southComponent- theBorderLayout.SOUTHcomponent- Returns:
- this builder instance
-
east
- Parameters:
eastComponent- theBorderLayout.EASTcomponent- Returns:
- this builder instance
-
east
- Parameters:
eastComponent- theBorderLayout.EASTcomponent- Returns:
- this builder instance
-
west
- Parameters:
westComponent- theBorderLayout.WESTcomponent- Returns:
- this builder instance
-
west
- Parameters:
westComponent- theBorderLayout.WESTcomponent- Returns:
- this builder instance
-
builder
Creates a newBorderLayoutPanelBuilderinstance using a newBorderLayoutinstance with the default horizontal and vertical gap.- Returns:
- a border layout panel builder
- See Also:
-