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 BorderLayoutPanelBuilderbuilder()Creates a newBorderLayoutPanelBuilderinstance using a newBorderLayoutinstance with the default horizontal and vertical gap.static BorderLayoutPanelBuilderbuilder(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, consumer, enabled, enabled, focusable, focusCycleRoot, focusListener, font, foreground, initialValue, keyEvent, keyListener, label, link, link, listener, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, onBuild, onBuildValue, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator, visible
-
Method Details
-
centerComponent
- Parameters:
centerComponent- theBorderLayout.CENTERcomponent- Returns:
- this builder instance
-
northComponent
- Parameters:
northComponent- theBorderLayout.NORTHcomponent- Returns:
- this builder instance
-
southComponent
- Parameters:
southComponent- theBorderLayout.SOUTHcomponent- Returns:
- this builder instance
-
eastComponent
- Parameters:
eastComponent- theBorderLayout.EASTcomponent- Returns:
- this builder instance
-
westComponent
- 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:
-
builder
- Parameters:
layout- the BorderLayout to use- Returns:
- a border layout panel builder
-