|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.conceptmap.graphcomponents.GraphComponent
apps.conceptmap.graphcomponents.link.GraphLink
public class GraphLink
The Class GraphLink.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class apps.conceptmap.graphcomponents.GraphComponent |
---|
GraphComponent.OptionMessageListener |
Constructor Summary | |
---|---|
GraphLink(ContentSystem contentSystem,
GraphManager gManager)
Instantiates a new graph link. |
Method Summary | |
---|---|
int |
getArrowMode()
Gets the arrow mode. |
KeyboardNode |
getKeyboardNode()
Gets the keyboard node. |
LineItem |
getLineItem()
Gets the line item. |
int |
getLinkMode()
Gets the link mode. |
GraphNode |
getLinkPoint()
Gets the link point. |
java.lang.String |
getName()
Gets the name. |
int |
getOrder()
Gets the order. |
Location |
getSourceLocation()
Gets the source location. |
GraphNode |
getSourceNode()
Gets the source node. |
Location |
getTargetLocation()
Gets the target location. |
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 |
removeMenu()
Removes the menu. |
void |
setArrowMode(int arrowMode)
Sets the arrow mode. |
void |
setKeyboardNode(KeyboardNode keyboardNode)
Sets the keyboard node. |
void |
setLinkMode(int lineMode)
Sets the link mode. |
void |
setMenuEnabled(boolean isEnabled)
Sets the menu enabled. |
void |
setSourceLocation(Location sourceLocation)
Sets the source location. |
void |
setSourceNode(GraphNode sourceNode)
Sets the source node. |
void |
setTargetLocation(Location targetLocation)
Sets the target location. |
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 apps.conceptmap.graphcomponents.GraphComponent |
---|
addOptionMessageListener, fireMessageProcessed, removeOptionMessageListeners |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphLink(ContentSystem contentSystem, GraphManager gManager)
contentSystem
- the content systemgManager
- the g managerMethod Detail |
---|
public int getArrowMode()
public KeyboardNode getKeyboardNode()
public LineItem getLineItem()
public int getLinkMode()
public GraphNode getLinkPoint()
public java.lang.String getName()
GraphComponent
getName
in class GraphComponent
public int getOrder()
public Location getSourceLocation()
public GraphNode getSourceNode()
public Location getTargetLocation()
public GraphNode getTargetNode()
public java.lang.String getText()
public float getWidth()
public boolean isMenuEnabled()
public void remove()
public void removeMenu()
public void setArrowMode(int arrowMode)
arrowMode
- the new arrow modepublic void setKeyboardNode(KeyboardNode keyboardNode)
keyboardNode
- the new keyboard nodepublic void setLinkMode(int lineMode)
lineMode
- the new link modepublic void setMenuEnabled(boolean isEnabled)
isEnabled
- the new menu enabledpublic void setSourceLocation(Location sourceLocation)
sourceLocation
- the new source locationpublic void setSourceNode(GraphNode sourceNode)
sourceNode
- the new source nodepublic void setTargetLocation(Location targetLocation)
targetLocation
- the new target locationpublic 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 |