|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.lib.conceptmap.model.LinkModel
public class LinkModel
The LinkModel class is instantiated for each connection between nodes. Since painting (and possibly other operations) are needed for links between nodes, this separate class is used. Each node has a vector of links to all its children.
Constructor Summary | |
---|---|
LinkModel(NodeModel inSource,
NodeModel inTarget)
Creates a LinkModel object using the originating and destination nodes as arguments. |
Method Summary | |
---|---|
NodeModel |
getSource()
Returns the source node for this link. |
NodeModel |
getTarget()
Returns the target node for this link. |
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 LinkModel(NodeModel inSource, NodeModel inTarget)
inSource
- the originating node for this linkinTarget
- the destination node for this linkMethod Detail |
---|
public NodeModel getSource()
public NodeModel getTarget()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |