Module is.codion.swing.common.ui
Interface BorderLayoutPanelBuilder
- All Superinterfaces:
ComponentBuilder<Void,
JPanel, BorderLayoutPanelBuilder>
public interface BorderLayoutPanelBuilder
extends ComponentBuilder<Void,JPanel,BorderLayoutPanelBuilder>
Builds a JPanel instance using a BorderLayout.
-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionstatic BorderLayoutPanelBuilder
builder()
Creates a newBorderLayoutPanelBuilder
instance using a newBorderLayout
instance with the default horizontal and vertical gap.static BorderLayoutPanelBuilder
builder
(BorderLayout layout) centerComponent
(JComponent centerComponent) eastComponent
(JComponent eastComponent) northComponent
(JComponent northComponent) southComponent
(JComponent southComponent) westComponent
(JComponent westComponent) Methods inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
background, border, build, build, buildValue, clear, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusCycleRoot, focusListener, font, foreground, initialValue, keyEvent, keyListener, label, linkedValue, linkedValue, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, onBuild, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator, visible
-
Method Details
-
centerComponent
- Parameters:
centerComponent
- theBorderLayout.CENTER
component- Returns:
- this builder instance
-
northComponent
- Parameters:
northComponent
- theBorderLayout.NORTH
component- Returns:
- this builder instance
-
southComponent
- Parameters:
southComponent
- theBorderLayout.SOUTH
component- Returns:
- this builder instance
-
eastComponent
- Parameters:
eastComponent
- theBorderLayout.EAST
component- Returns:
- this builder instance
-
westComponent
- 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:
-
builder
- Parameters:
layout
- the BorderLayout to use- Returns:
- a border layout panel builder
-