|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcytoscape.editor.impl.CytoscapeEditorManagerSupport
provides non-static methods needed by the CytoscapeEditorManager, in particular those methods associated with the PropertyChangeListener class
CytoscapeEditorManager| Constructor Summary | |
CytoscapeEditorManagerSupport()
register interest in NETWORK_VIEW_FOCUSED and NETWORK_VIEW_CREATED events |
|
| Method Summary | |
void |
graphPerspectiveChanged(giny.model.GraphPerspectiveChangeEvent event)
Implementation of the GraphPerspectiveChangeListener interface. |
void |
onComponentAdded(int count)
Notifies the listener when a component is added to the CytoPanel. |
void |
onComponentRemoved(int count)
Notifies the listener when a component is removed from the CytoPanel. |
void |
onComponentSelected(int componentIndex)
respond to selection of a CytoPanels component, in particular respond to selection of a tab on the WEST CytoPanel. |
void |
onStateChange(cytoscape.view.cytopanels.CytoPanelState newState)
Notifies the listener on a change in the CytoPanel state. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
respond to a PropertyChangeEvent. |
void |
setupUndoableAdditionEdit(cytoscape.CyNetwork net,
cytoscape.CyNode node,
cytoscape.CyEdge edge)
sets up the undo/redo operations for an Add of a node or edge |
void |
stateChanged(javax.swing.event.ChangeEvent e)
respond to a ChangeEvent, typically this is caused by switching visual styles |
void |
updateEditorPalette(cytoscape.visual.VisualStyle style)
sets up editor and visual style and builds the ShapePalette |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CytoscapeEditorManagerSupport()
| Method Detail |
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListenerpublic void onComponentSelected(int componentIndex)
onComponentSelected in interface cytoscape.view.cytopanels.CytoPanelListenerpublic void onStateChange(cytoscape.view.cytopanels.CytoPanelState newState)
onStateChange in interface cytoscape.view.cytopanels.CytoPanelListenernewState - The new CytoPanel state - see CytoPanelState class.public void onComponentAdded(int count)
onComponentAdded in interface cytoscape.view.cytopanels.CytoPanelListenercount - The number of components on the CytoPanel after the add.public void onComponentRemoved(int count)
onComponentRemoved in interface cytoscape.view.cytopanels.CytoPanelListenercount - The number of components on the CytoPanel after the remove.public void updateEditorPalette(cytoscape.visual.VisualStyle style)
style - public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListener
public void setupUndoableAdditionEdit(cytoscape.CyNetwork net,
cytoscape.CyNode node,
cytoscape.CyEdge edge)
net - network node/edge has been added tonode - the added node (null if the add operation was for an edge)edge - the added edge (null if the add operation was for a node)public void graphPerspectiveChanged(giny.model.GraphPerspectiveChangeEvent event)
graphPerspectiveChanged in interface giny.model.GraphPerspectiveChangeListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||