Module is.codion.swing.common.ui
Interface PanelBuilder
- All Superinterfaces:
ComponentBuilder<JPanel,
,PanelBuilder> Supplier<JPanel>
Builds a JPanel instance.
-
Method Summary
Modifier and TypeMethodDescriptionadd
(Supplier<? extends JComponent> component) add
(Supplier<? extends JComponent> component, Object constraints) add
(JComponent component) add
(JComponent component, Object constraints) addAll
(Collection<? extends JComponent> components) addAll
(JComponent... components) static PanelBuilder
builder()
layout
(@Nullable LayoutManager layoutManager) Methods inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
background, border, build, build, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusable, focusCycleRoot, focusListener, font, foreground, get, keyEvent, keyListener, label, label, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, name, onBuild, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, toolTipText, transferFocusOnEnter, transferFocusOnEnter, transferHandler, visible, visible
-
Method Details
-
panel
- Parameters:
panel
- the panel- Returns:
- this builder instancwe
-
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 add- Returns:
- this builder instance
- See Also:
-
add
- Parameters:
component
- the component to addconstraints
- the layout constraints- 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
-