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
COMPONENT_VALUE, 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, buildValue, clientProperty, componentListener, componentOrientation, consumer, enabled, enabled, focusable, focusCycleRoot, focusListener, font, foreground, keyEvent, keyListener, label, link, link, listener, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, name, onBuild, onBuildValue, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator, value, 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
-