|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.view.FlagAndSelectionHandler
public class FlagAndSelectionHandler
This class synchronizes the flagged status of nodes and edges as held by a SelectFilter object of a network with the selection status of the corresponding node and edge views in a GraphView. An object will be selected in the view iff the matching object is flagged in the SelectFilter. This class is only used by PhoebeNetworkView, which no longer used anywhere.
Constructor Summary | |
---|---|
FlagAndSelectionHandler(SelectFilter selectFilter,
GraphView view)
Standard constructor takes the flag filter and the view that should be synchronized. |
Method Summary | |
---|---|
void |
graphViewChanged(GraphViewChangeEvent event)
Responds to selection events from the view by setting the matching flagged state in the SelectFilter object. |
void |
onSelectEvent(SelectEvent event)
Responds to events indicating a change in the flagged state of one or more nodes or edges. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlagAndSelectionHandler(SelectFilter selectFilter, GraphView view)
Method Detail |
---|
public void graphViewChanged(GraphViewChangeEvent event)
graphViewChanged
in interface GraphViewChangeListener
public void onSelectEvent(SelectEvent event)
onSelectEvent
in interface SelectEventListener
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |