public class mxLink extends com.mxgraph.model.mxCell implements NetworkObjectListener
Modifier and Type | Field and Description |
---|---|
boolean |
loading |
static java.lang.String |
STYLE_ACTIVE |
static java.lang.String |
STYLE_CRASH |
static java.lang.String |
STYLE_INACTIVE |
Constructor and Description |
---|
mxLink(Link l) |
mxLink(Link l,
com.mxgraph.model.mxGeometry geometry) |
mxLink(Link l,
com.mxgraph.model.mxGeometry geometry,
java.lang.String style) |
Modifier and Type | Method and Description |
---|---|
static void |
clearBackup() |
static mxLink |
findLink(Link l,
com.mxgraph.model.mxGraphModel model) |
static int |
getLastID() |
Link |
getLink() |
boolean |
isComplete() |
boolean |
isEdge() |
boolean |
isVertex() |
void |
networkObjectChange(NetworkObject object,
java.lang.Object oldvalue,
int eventID,
java.lang.Object caller) |
void |
removeListener() |
void |
setEdge(boolean b) |
static void |
setLastID(int id) |
void |
setLink(Link l) |
void |
setSource(com.mxgraph.model.mxICell source) |
void |
setSourceLabel(java.lang.String text) |
void |
setTarget(com.mxgraph.model.mxICell target) |
void |
setTargetLabel(java.lang.String text) |
void |
setVertex(boolean b) |
clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getParent, getSource, getStyle, getTarget, getTerminal, getValue, insert, insert, insertEdge, isCollapsed, isConnectable, isVisible, remove, remove, removeEdge, removeFromParent, removeFromTerminal, setAttribute, setCollapsed, setConnectable, setGeometry, setId, setParent, setStyle, setTerminal, setValue, setVisible
public static final java.lang.String STYLE_ACTIVE
public static final java.lang.String STYLE_INACTIVE
public static final java.lang.String STYLE_CRASH
public boolean loading
public mxLink(Link l)
public mxLink(Link l, com.mxgraph.model.mxGeometry geometry)
public mxLink(Link l, com.mxgraph.model.mxGeometry geometry, java.lang.String style)
public static int getLastID()
public static void setLastID(int id)
public boolean isComplete()
public void setSourceLabel(java.lang.String text)
public void setTargetLabel(java.lang.String text)
public Link getLink()
public void setLink(Link l)
public boolean isVertex()
isVertex
in interface com.mxgraph.model.mxICell
isVertex
in class com.mxgraph.model.mxCell
public void setVertex(boolean b)
setVertex
in class com.mxgraph.model.mxCell
public boolean isEdge()
isEdge
in interface com.mxgraph.model.mxICell
isEdge
in class com.mxgraph.model.mxCell
public void setEdge(boolean b)
setEdge
in class com.mxgraph.model.mxCell
public void networkObjectChange(NetworkObject object, java.lang.Object oldvalue, int eventID, java.lang.Object caller)
networkObjectChange
in interface NetworkObjectListener
public static void clearBackup()
public void setSource(com.mxgraph.model.mxICell source)
setSource
in class com.mxgraph.model.mxCell
public void setTarget(com.mxgraph.model.mxICell target)
setTarget
in class com.mxgraph.model.mxCell
public void removeListener()