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
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, 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
-
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
-