|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.lxtreme.ols.util.swing.StandardActionFactory
public final class StandardActionFactory
Provides a Swing StandardActionFactory.CancelAction
-factory for some commonly used actions.
Nested Class Summary | |
---|---|
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
|
Field Summary | |
---|---|
static String |
CLOSE_ACTION_ID
Denotes the ID of a "close"/"cancel" action. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CLOSE_ACTION_ID
Method Detail |
---|
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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |