Documentation of 'org.jhotdraw.app.action.ActionUtil' Java class
ActionUtil
org.jhotdraw.app.action

Class ActionUtil



  • public class ActionUtil
    extends java.lang.Object
    Provides constants and static operations on Action objects.
    • Field Summary

      Fields 
      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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SELECTED_KEY

        public static final java.lang.String SELECTED_KEY
        Key for the selected state of an action. The value must be a Boolean.
        See Also:
        Constant Field Values
      • SUBMENU_KEY

        public static final java.lang.String SUBMENU_KEY
        All actions with equal value are put into the same submenu. The value must be a String or an array of Strings. Each element of the array represents a menu.
        See Also:
        Constant Field Values
      • BUTTON_GROUP_KEY

        public static final java.lang.String BUTTON_GROUP_KEY
        All actions with equal value are created as a radio button and put into the same group. The value must be an object.
        See Also:
        Constant Field Values
      • UNDO_PRESENTATION_NAME_KEY

        public static final java.lang.String UNDO_PRESENTATION_NAME_KEY
        UndoableEdit presentation name key.
        See Also:
        UndoableEdit.getPresentationName(), Constant Field Values
    • Method Detail

      • configureJCheckBoxMenuItem

        public static void configureJCheckBoxMenuItem(javax.swing.JCheckBoxMenuItem mi,
                                                      javax.swing.Action a)
        Configures a JCheckBoxMenuItem for an Action.
      • unconfigureJCheckBoxMenuItem

        public static void unconfigureJCheckBoxMenuItem(javax.swing.JCheckBoxMenuItem mi,
                                                        javax.swing.Action a)
        Unconfigures a JCheckBoxMenuItem for an Action.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.