|
JHotDraw 7.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.app.action.ActionUtil
public class ActionUtil
Provides constants and static operations on Action objects.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 Values| Method Detail |
|---|
public static void configureJCheckBoxMenuItem(javax.swing.JCheckBoxMenuItem mi,
javax.swing.Action a)
public static void unconfigureJCheckBoxMenuItem(javax.swing.JCheckBoxMenuItem mi,
javax.swing.Action a)
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||