|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.NodeEvent
public class NodeEvent
Field Summary | |
---|---|
static int |
ALL_DESELECTED
All nodes were deselected. |
static int |
DESELECTED
Node was deselected. |
static int |
MOUSE_ENTER
Mouse enters node. |
static int |
MOUSE_LEAVE
Mouse leaves node. |
static int |
SELECTED
Node was selected. |
Constructor Summary | |
---|---|
NodeEvent(GraphView graphView,
Node node,
int type)
Creates a new NodeEvent with the given properties. |
Method Summary | |
---|---|
Graph |
getGraph()
Returns the Graph object. |
GraphView |
getGraphView()
Returns the GraphView object. |
Node |
getNode()
Returns the Node object. |
NodeView |
getNodeView()
Returns the NodeView object. |
int |
getType()
Returns the type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MOUSE_ENTER
public static final int MOUSE_LEAVE
public static final int SELECTED
public static final int DESELECTED
public static final int ALL_DESELECTED
Constructor Detail |
---|
public NodeEvent(GraphView graphView, Node node, int type)
graphView
- Sender objectnode
- Nodetype
- TypeMethod Detail |
---|
public int getType()
public GraphView getGraphView()
public Node getNode()
public Graph getGraph()
public NodeView getNodeView()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |