Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.dialog
Interface OkCancelDialogBuilder.OkCancelDialogComponentStep
- Enclosing interface:
OkCancelDialogBuilder
public static interface OkCancelDialogBuilder.OkCancelDialogComponentStep
Specifies the component to display in the dialog.
-
Method Summary
Modifier and TypeMethodDescriptioncomponent(Supplier<? extends JComponent> component) Note: sets the layout toBorderLayoutand adds the component at locationBorderLayout.CENTERcomponent(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
Note: sets the layout toBorderLayoutand adds the component at locationBorderLayout.CENTER- Parameters:
component- supplies the component to display- Returns:
- this builder instance
-