Modifier and Type | Class and Description |
---|---|
static class |
StandardActionFactory.CancelAction
Denotes an action for an "Cancel" button.
|
static class |
StandardActionFactory.CloseAction
Provides a generic close dialog action.
|
static class |
StandardActionFactory.DialogStatus
Denotes the result status of a dialog.
|
static class |
StandardActionFactory.OkAction
Denotes an action for an "Ok"/"Apply" button.
|
static interface |
StandardActionFactory.StatusAwareCloseableDialog |
Modifier and Type | Field and Description |
---|---|
static String |
CLOSE_ACTION_ID
Denotes the ID of a "close"/"cancel" action.
|
Modifier and Type | Method and Description |
---|---|
static Action |
createCancelAction()
Creates a new cancel action instance.
|
static JButton |
createCancelButton()
Creates a new button instance with a cancel action assigned to it.
|
static Action |
createCloseAction()
Creates a new close action instance.
|
static JButton |
createCloseButton()
Creates a new button instance with a close action assigned to it.
|
static Action |
createOkAction()
Creates a new OK action instance.
|
static JButton |
createOkButton()
Creates a new button instance with an OK action assigned to it.
|
public static final String CLOSE_ACTION_ID
public static final Action createCancelAction()
null
.public static final JButton createCancelButton()
null
.public static final Action createCloseAction()
The close action will have a default shortcut key of CTRL/CMD + W on Mac OS platforms, and ESC on other platforms.
null
.public static final JButton createCloseButton()
The close action shortcut will be set as default operation on the returned button.
null
.public static final Action createOkAction()
null
.public static final JButton createOkButton()
null
.Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.