Module is.codion.swing.common.ui
Interface PanelBuilder
- All Superinterfaces:
ComponentBuilder<Void,
JPanel, PanelBuilder>
Builds a JPanel instance.
-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
COMPONENT_VALUE, TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionadd
(JComponent component) add
(JComponent component, Object constraints) addAll
(Collection<? extends JComponent> components) addAll
(JComponent... components) static PanelBuilder
builder()
static PanelBuilder
builder
(LayoutManager layout) static PanelBuilder
layout
(LayoutManager layoutManager) 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, onBuild, onBuildValue, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator, value, visible
-
Method Details
-
layout
- Parameters:
layoutManager
- the layout manager- Returns:
- this builder instance
- See Also:
-
add
- Parameters:
component
- the component to add- Returns:
- this builder instance
- See Also:
-
add
- Parameters:
component
- the component to addconstraints
- the layout constraints- Returns:
- this builder instance
- See Also:
-
addAll
- Parameters:
components
- the components to add- Returns:
- this builder instance
- See Also:
-
addAll
- Parameters:
components
- the components to add- Returns:
- this builder instance
- See Also:
-
builder
- Returns:
- a panel builder
-
builder
- Parameters:
layout
- the panel layout manager- Returns:
- a panel builder
-
builder
- Parameters:
panel
- the panel to configure- Returns:
- a panel builder
-