public class mxProcessor extends com.mxgraph.model.mxCell implements NetworkObjectListener
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SIZE |
boolean |
loading |
static java.lang.String |
STYLE_ACTIVE |
static java.lang.String |
STYLE_ACTIVE_ROOT |
static java.lang.String |
STYLE_CRASH |
static java.lang.String |
STYLE_CRASH_ROOT |
static java.lang.String |
STYLE_INACTIVE |
static java.lang.String |
STYLE_INACTIVE_ROOT |
Constructor and Description |
---|
mxProcessor(Processor p) |
mxProcessor(Processor p,
com.mxgraph.model.mxGeometry geometry) |
Modifier and Type | Method and Description |
---|---|
static void |
clearBackup() |
static mxProcessor |
findProcessor(Processor p,
com.mxgraph.model.mxGraphModel model) |
static int |
getLastID() |
Processor |
getProcessor() |
java.lang.Object |
getValue() |
boolean |
isEdge() |
boolean |
isVertex() |
void |
networkObjectChange(NetworkObject object,
java.lang.Object oldvalue,
int eventID,
java.lang.Object caller) |
void |
removeListener() |
void |
setBottomLabel(java.lang.String text) |
void |
setEdge(boolean b) |
static void |
setLastID(int id) |
void |
setProcessor(Processor processor) |
void |
setTopLabel(java.lang.String text) |
void |
setValue(java.lang.Object pid) |
void |
setVertex(boolean b) |
clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getParent, getSource, getStyle, getTarget, getTerminal, insert, insert, insertEdge, isCollapsed, isConnectable, isVisible, remove, remove, removeEdge, removeFromParent, removeFromTerminal, setAttribute, setCollapsed, setConnectable, setGeometry, setId, setParent, setSource, setStyle, setTarget, setTerminal, setVisible
public static final int DEFAULT_SIZE
public static final java.lang.String STYLE_ACTIVE
public static final java.lang.String STYLE_ACTIVE_ROOT
public static final java.lang.String STYLE_INACTIVE
public static final java.lang.String STYLE_INACTIVE_ROOT
public static final java.lang.String STYLE_CRASH
public static final java.lang.String STYLE_CRASH_ROOT
public boolean loading
public mxProcessor(Processor p)
public mxProcessor(Processor p, com.mxgraph.model.mxGeometry geometry)
public static int getLastID()
public static void setLastID(int id)
public void setTopLabel(java.lang.String text)
public void setBottomLabel(java.lang.String text)
public Processor getProcessor()
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 setValue(java.lang.Object pid)
setValue
in interface com.mxgraph.model.mxICell
setValue
in class com.mxgraph.model.mxCell
public java.lang.Object getValue()
getValue
in interface com.mxgraph.model.mxICell
getValue
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 setProcessor(Processor processor)
public void removeListener()
public static mxProcessor findProcessor(Processor p, com.mxgraph.model.mxGraphModel model)