|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcytoscape.view.FlagAndSelectionHandler
public class FlagAndSelectionHandler
This class synchronizes the flagged status of nodes and edges as held by a FlagFilter 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 FlagFilter. This class is only used by PhoebeNetworkView, which no longer used anywhere.
| Constructor Summary | |
|---|---|
FlagAndSelectionHandler(FlagFilter flagFilter,
giny.view.GraphView view)
Standard constructor takes the flag filter and the view that should be synchronized. |
|
| Method Summary | |
|---|---|
void |
graphViewChanged(giny.view.GraphViewChangeEvent event)
Responds to selection events from the view by setting the matching flagged state in the FlagFilter object. |
void |
onFlagEvent(FlagEvent 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlagAndSelectionHandler(FlagFilter flagFilter,
giny.view.GraphView view)
| Method Detail |
|---|
public void graphViewChanged(giny.view.GraphViewChangeEvent event)
graphViewChanged in interface giny.view.GraphViewChangeListenerpublic void onFlagEvent(FlagEvent event)
onFlagEvent in interface FlagEventListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||