|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel cytoscape.view.NetworkPanel
public class NetworkPanel
GUI component for managing network list in current session.
Nested Class Summary | |
---|---|
protected class |
NetworkPanel.PopupListener
This class listens to mouse events from the TreeTable, if the mouse event is one that is canonically associated with a popup menu (ie, a right click) it will pop up the menu with option for destroying view, creating view, and destroying network (this is platform specific apparently) |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 | |
---|---|
NetworkPanel(CytoscapeDesktop desktop)
Constructor for the Network Panel. |
Method Summary | |
---|---|
void |
addNetwork(String network_id,
String parent_id)
DOCUMENT ME! |
void |
focusNetworkNode(String network_id)
DOCUMENT ME! |
JPanel |
getNavigatorPanel()
DOCUMENT ME! |
NetworkTreeNode |
getNetworkNode(String network_id)
DOCUMENT ME! |
SwingPropertyChangeSupport |
getSwingPropertyChangeSupport()
DOCUMENT ME! |
JTreeTable |
getTreeTable()
This is used by Session writer. |
void |
onSelectEvent(SelectEvent event)
DOCUMENT ME! |
void |
propertyChange(PropertyChangeEvent e)
DOCUMENT ME! |
void |
removeNetwork(String network_id)
Remove a network from the panel. |
void |
setNavigator(Component comp)
DOCUMENT ME! |
void |
stateChanged(ChangeEvent e)
|
void |
updateTitle(CyNetwork network)
update a network title |
void |
valueChanged(TreeSelectionEvent e)
This method highlights a network in the NetworkPanel. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetworkPanel(CytoscapeDesktop desktop)
desktop
- Method Detail |
---|
public void setNavigator(Component comp)
comp
- DOCUMENT ME!public JTreeTable getTreeTable()
public JPanel getNavigatorPanel()
public SwingPropertyChangeSupport getSwingPropertyChangeSupport()
public void removeNetwork(String network_id)
network_id
- public void updateTitle(CyNetwork network)
public void onSelectEvent(SelectEvent event)
onSelectEvent
in interface SelectEventListener
event
- DOCUMENT ME!public void addNetwork(String network_id, String parent_id)
network_id
- DOCUMENT ME!parent_id
- DOCUMENT ME!public void focusNetworkNode(String network_id)
network_id
- DOCUMENT ME!public NetworkTreeNode getNetworkNode(String network_id)
network_id
- DOCUMENT ME!
public void valueChanged(TreeSelectionEvent e)
valueChanged
in interface TreeSelectionListener
e
- DOCUMENT ME!public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
e
- DOCUMENT ME!public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |