Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.dialog
Interface ActionDialogBuilder.ActionDialogComponentStep
- Enclosing interface:
ActionDialogBuilder<B extends ActionDialogBuilder<B>>
public static interface ActionDialogBuilder.ActionDialogComponentStep
Specifies the component to display in the dialog.
-
Method Summary
Modifier and TypeMethodDescription<B extends ActionDialogBuilder<B>>
ActionDialogBuilder<B> component(Supplier<? extends JComponent> component) Note: sets the layout toBorderLayoutand adds the component at locationBorderLayout.CENTER<B extends ActionDialogBuilder<B>>
ActionDialogBuilder<B> component(JComponent component) Note: sets the layout toBorderLayoutand adds the component at locationBorderLayout.CENTER
-
Method Details
-
component
Note: sets the layout toBorderLayoutand adds the component at locationBorderLayout.CENTER- Parameters:
component- the component to display- Returns:
- this builder instance
-
component
<B extends ActionDialogBuilder<B>> ActionDialogBuilder<B> component(Supplier<? extends JComponent> component) Note: sets the layout toBorderLayoutand adds the component at locationBorderLayout.CENTER- Parameters:
component- supplies the component to display- Returns:
- this builder instance
-