|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.util.swing.ActionUtils
public class ActionUtils
A set of utility methods for dealing with actions and action lists.
Constructor Summary | |
---|---|
ActionUtils()
|
Method Summary | |
---|---|
static javax.swing.Action |
cloneAction(javax.swing.Action o)
Utility method to clone the specified action if it is cloneable. |
static javax.swing.JMenu |
createActionMenu(ActionList actions)
Creates a menu for the specified action list. |
static javax.swing.JMenuBar |
createActionMenuBar(ActionList actions)
Creates a menu bar for the specified action list. |
static javax.swing.JMenuItem |
createActionMenuItem(javax.swing.Action a)
Creates a menu for the specified action. |
static javax.swing.JPopupMenu |
createPopupMenu(ActionList actions)
Creates a pop-up menu for the specified action list. |
static javax.swing.JToolBar |
createToolBar(ActionList actions)
Creates a JToolBar for the specified action list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionUtils()
Method Detail |
---|
public static javax.swing.JMenu createActionMenu(ActionList actions)
public static javax.swing.JMenuBar createActionMenuBar(ActionList actions)
public static javax.swing.JPopupMenu createPopupMenu(ActionList actions)
public static javax.swing.JToolBar createToolBar(ActionList actions)
public static javax.swing.JMenuItem createActionMenuItem(javax.swing.Action a)
public static javax.swing.Action cloneAction(javax.swing.Action o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |