|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.util.swing.JMenuTracker
public final class JMenuTracker
A class that creates and manages hierarchies of JMenu objects.
| Constructor Summary | |
|---|---|
JMenuTracker(JMenuBar rootMenuBar)
This constructor allows you to specify a root menubar that all parent-less menus will be added to. |
|
JMenuTracker(JPopupMenu rootPopupMenu)
This constructor allows you to specify a root JPopupMenu that all parent-less menus will be added to. |
|
| Method Summary | |
|---|---|
GravityTracker |
getGravityTracker(String menuString)
This method will fetch an existing menu or create a new one if a menu with the specified name does not exist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMenuTracker(JPopupMenu rootPopupMenu)
rootPopupMenu - the popup menu that all parent-less items will be added to based on
their gravitypublic JMenuTracker(JMenuBar rootMenuBar)
rootMenuBar - the popup menu that all parent-less items will be added to based on
their gravity| Method Detail |
|---|
public GravityTracker getGravityTracker(String menuString)
menuString - A '.' delimited string identifying menu names.
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||