|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.mathpadapp.conceptmapping.GraphLink
public class GraphLink
The Class GraphLink.
Constructor Summary | |
---|---|
GraphLink(ContentSystem contentSystem,
GraphManager graphManager)
Instantiates a new graph link. |
Method Summary | |
---|---|
int |
getArrowMode()
Gets the arrow mode. |
LineItem |
getLineItem()
Gets the line item. |
int |
getLinkMode()
Gets the link mode. |
java.lang.String |
getName()
Gets the name. |
int |
getOrder()
Gets the order. |
GraphNode |
getSourceNode()
Gets the source node. |
GraphNode |
getTargetNode()
Gets the target node. |
java.lang.String |
getText()
Gets the text. |
float |
getWidth()
Gets the width. |
boolean |
isMenuEnabled()
Checks if is menu enabled. |
void |
remove()
Removes the. |
void |
setArrowMode(int arrowMode)
Sets the arrow mode. |
void |
setLinkMode(int lineMode)
Sets the link mode. |
void |
setMenuEnabled(boolean isEnabled)
Sets the menu enabled. |
void |
setSourceNode(GraphNode sourceNode)
Sets the source node. |
void |
setTargetNode(GraphNode targetNode)
Sets the target node. |
void |
setText(java.lang.String text)
Sets the text. |
void |
setWidth(float lineWidth)
Sets the width. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphLink(ContentSystem contentSystem, GraphManager graphManager)
contentSystem
- the content systemgraphManager
- the graph managerMethod Detail |
---|
public int getArrowMode()
public LineItem getLineItem()
public int getLinkMode()
public java.lang.String getName()
public int getOrder()
public GraphNode getSourceNode()
public GraphNode getTargetNode()
public java.lang.String getText()
public float getWidth()
public boolean isMenuEnabled()
public void remove()
public void setArrowMode(int arrowMode)
arrowMode
- the new arrow modepublic void setLinkMode(int lineMode)
lineMode
- the new link modepublic void setMenuEnabled(boolean isEnabled)
isEnabled
- the new menu enabledpublic void setSourceNode(GraphNode sourceNode)
sourceNode
- the new source nodepublic void setTargetNode(GraphNode targetNode)
targetNode
- the new target nodepublic void setText(java.lang.String text)
text
- the new textpublic void setWidth(float lineWidth)
lineWidth
- the new width
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |