|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.lib.conceptmap.view.NodeView
org.problets.lib.conceptmap.view.collapsible.CollapsibleNodeView
public class CollapsibleNodeView
Derived from NodeView. Adds to the functionality ofa node view in order to handle a collapsible node view.
Field Summary |
---|
Fields inherited from class org.problets.lib.conceptmap.view.NodeView |
---|
NO_NODE_PRESSED, NO_NODE_RELEASED, NON_ROOT_PRESSED, NON_ROOT_RELEASED, ROOT_PRESSED, ROOT_RELEASED |
Constructor Summary | |
---|---|
CollapsibleNodeView(NodeView parent,
NodeModel nodeModel)
Creates a CollapsibleNodeView object using the parent node view and the corresponding model as arguments. |
Method Summary | |
---|---|
MouseClickedInfo |
handleMouseClicked(int xCoord,
int yCoord)
Handles the mouseClicked event. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollapsibleNodeView(NodeView parent, NodeModel nodeModel)
parent
- this node view's parentnodeModel
- the model representing this node viewMethod Detail |
---|
public MouseClickedInfo handleMouseClicked(int xCoord, int yCoord)
handleMouseClicked
in class NodeView
xCoord
- the x-coordinate of the mouse eventyCoord
- the y-coordinate of the mouse event
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |