|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.lib.conceptmap.view.MouseClickedInfo
public class MouseClickedInfo
Used to store information about the mouse click, namely if a particular node was clicked and the the name of the clicked node (if any).
Constructor Summary | |
---|---|
MouseClickedInfo(boolean inIsClicked,
java.lang.String inNodeName)
Creates a MouseClickedInfo using the flag which indicates if the node was clicked or not and the name of node as arguments. |
Method Summary | |
---|---|
java.lang.String |
getNodeName()
Returns the sequence of nodes clicked by the user. |
boolean |
isClicked()
Returns true if a node was clicked and false otherwise. |
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 MouseClickedInfo(boolean inIsClicked, java.lang.String inNodeName)
inIsClicked
- true if the node was clicked, false otherwiseinNodeName
- the name of the nodeMethod Detail |
---|
public java.lang.String getNodeName()
public boolean isClicked()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |