public class ActionUtil
extends java.lang.Object
Action
objects.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUTTON_GROUP_KEY
All actions with equal value are created as
a radio button and put into the same group.
|
static java.lang.String |
SELECTED_KEY
Key for the selected state of an action.
|
static java.lang.String |
SUBMENU_KEY
All actions with equal value are put into the
same submenu.
|
static java.lang.String |
UNDO_PRESENTATION_NAME_KEY
UndoableEdit presentation name key.
|
Modifier and Type | Method and Description |
---|---|
static void |
configureJCheckBoxMenuItem(javax.swing.JCheckBoxMenuItem mi,
javax.swing.Action a)
Configures a JCheckBoxMenuItem for an Action.
|
static void |
unconfigureJCheckBoxMenuItem(javax.swing.JCheckBoxMenuItem mi,
javax.swing.Action a)
Unconfigures a JCheckBoxMenuItem for an Action.
|
public static final java.lang.String SELECTED_KEY
public static final java.lang.String SUBMENU_KEY
public static final java.lang.String BUTTON_GROUP_KEY
public static final java.lang.String UNDO_PRESENTATION_NAME_KEY
UndoableEdit.getPresentationName()
,
Constant Field Valuespublic static void configureJCheckBoxMenuItem(javax.swing.JCheckBoxMenuItem mi, javax.swing.Action a)
public static void unconfigureJCheckBoxMenuItem(javax.swing.JCheckBoxMenuItem mi, javax.swing.Action a)