|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.services.gui.swing.util.MenuUtils
public final class MenuUtils
This utility class helps to create menus using Sun's appFramework.
Method Summary | |
---|---|
static JMenu |
createMenu(ActionsContext context,
String menuName,
Collection<String> actionNames)
Creates a JMenu out of a String array containing action names. |
static JPopupMenu |
createPopup(ActionsContext context,
Collection<String> actionNames)
Creates a JPopupMenu out of a String array containing action names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JMenu createMenu(ActionsContext context, String menuName, Collection<String> actionNames)
context
- the actions contextmenuName
- the menu nameactionNames
- the collection of menu items
public static JPopupMenu createPopup(ActionsContext context, Collection<String> actionNames)
context
- the actions contextactionNames
- the collection of menu items
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |