|
Cytoscape 2.7.0 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JMenuBar
cytoscape.util.CytoscapeMenuBar
public class CytoscapeMenuBar
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary | |
|---|---|
static String |
DEFAULT_MENU_SPECIFIER
|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CytoscapeMenuBar()
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
addAction(Action action)
If the given Action has a present and false inMenuBar property, return; otherwise delegate to addAction( String, Action ) with the value of its preferredMenu property, or null if it does not have that property. |
boolean |
addAction(Action action,
int index)
DOCUMENT ME! |
boolean |
addAction(String menu_name,
Action action)
DOCUMENT ME! |
JMenu |
createJMenu(String title)
Factory method for instantiating objects of type JMenu |
boolean |
equals(Object other_object)
CytoscapeMenuBars are unique -- this equals() method returns true iff the other object == this. |
String |
getDefaultMenuSpecifier()
DOCUMENT ME! |
String |
getIdentifier()
implements CommunityMember |
JMenu |
getMenu(String menu_string)
DOCUMENT ME! |
JMenu |
getMenu(String menu_string,
int parentPosition)
|
boolean |
isReidentificationEnabled()
imlements Reidentifiable |
boolean |
removeAction(Action action)
If the given Action has a present and false inMenuBar property, return; otherwise if there's a menu item for the action, remove it. |
void |
setDefaultMenuSpecifier(String menu_name)
DOCUMENT ME! |
void |
setIdentifier(String new_identifier)
imlements Reidentifiable |
String |
toString()
Delegates to getIdentifier(). |
| Methods inherited from class javax.swing.JMenuBar |
|---|
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, getUIClassID, isBorderPainted, isSelected, menuSelectionChanged, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_MENU_SPECIFIER
| Constructor Detail |
|---|
public CytoscapeMenuBar()
| Method Detail |
|---|
public void setDefaultMenuSpecifier(String menu_name)
menu_name - DOCUMENT ME!public String getDefaultMenuSpecifier()
public boolean addAction(Action action)
public boolean addAction(Action action,
int index)
action - DOCUMENT ME!index - DOCUMENT ME!
public boolean addAction(String menu_name,
Action action)
menu_name - DOCUMENT ME!action - DOCUMENT ME!
public boolean removeAction(Action action)
public JMenu getMenu(String menu_string)
menu_string - DOCUMENT ME!
public JMenu getMenu(String menu_string,
int parentPosition)
public boolean equals(Object other_object)
equals in class Objectpublic String getIdentifier()
public void setIdentifier(String new_identifier)
public boolean isReidentificationEnabled()
public String toString()
getIdentifier().
toString in class Componentpublic JMenu createJMenu(String title)
|
www.cytoscape.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||