|
Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.data.FlagEvent
SelectEvent
public class FlagEvent
Events that are fired when the flagged state of a Node or Edge, or a group of Nodes or Edges, is changed.
Field Summary | |
---|---|
static int |
EDGE_SET
Deprecated. Static constant indicating a change to a group of Edges. |
static int |
NODE_SET
Deprecated. Static constant indicating a change to a group of Nodes. |
static int |
SINGLE_EDGE
Deprecated. Static constant indicating a change to a single Edge. |
static int |
SINGLE_NODE
Deprecated. Static constant indicating a change to a single Node. |
Constructor Summary | |
---|---|
FlagEvent(FlagFilter source,
Object target,
boolean selectOn)
Deprecated. Standard constructor. |
Method Summary | |
---|---|
boolean |
getEventType()
Deprecated. Returns a boolean identifying the type of event, true if the change is setting the flag for these objects, or false if the change is removing the flag. |
FlagFilter |
getSource()
Deprecated. Returns the source of this event. |
Object |
getTarget()
Deprecated. Returns an object references the target that was changed. |
int |
getTargetType()
Deprecated. Returns a static constant identifying the type of object; either SINGLE_NODE for a Node, SINGLE_EDGE for an Edge, NODE_SET for a Set of Nodes, or EDGE_SET for a Set of Edges. |
String |
toString()
Deprecated. Returns a String representation of this object's data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SINGLE_NODE
public static final int SINGLE_EDGE
public static final int NODE_SET
public static final int EDGE_SET
Constructor Detail |
---|
public FlagEvent(FlagFilter source, Object target, boolean selectOn)
The first argument is the object that fired this event.
The second argument decribes what objects were affected; it should be of type Node, Edge, a Set of Nodes, or a Set of Edges. If the argument is a Set, it should contain at least one element. The third argument is a boolean indicating the type of event. It should be true if the change is setting the flag on for the target objects, or false if the change is removing the flag.
IllegalArgumentException
- if the target is null or an invalid type,Method Detail |
---|
public FlagFilter getSource()
public Object getTarget()
public int getTargetType()
public boolean getEventType()
public String toString()
toString
in class Object
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |