|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mxgraph.model.mxCellPath
public class mxCellPath
Implements a mechanism for temporary cell Ids.
Field Summary | |
---|---|
static java.lang.String |
PATH_SEPARATOR
Defines the separator between the path components. |
Constructor Summary | |
---|---|
mxCellPath()
|
Method Summary | |
---|---|
static int |
compare(java.lang.String cp1,
java.lang.String cp2)
Compares the given cell paths and returns -1 if cp1 is smaller, 0 if cp1 is equal and 1 if cp1 is greater than cp2. |
static java.lang.String |
create(mxICell cell)
Creates the cell path for the given cell. |
static java.lang.String |
getParentPath(java.lang.String path)
Returns the path for the parent of the cell represented by the given path. |
static mxICell |
resolve(mxICell root,
java.lang.String path)
Returns the cell for the specified cell path using the given root as the root of the path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String PATH_SEPARATOR
.
.
Constructor Detail |
---|
public mxCellPath()
Method Detail |
---|
public static java.lang.String create(mxICell cell)
cell
- Cell whose path should be returned.
public static java.lang.String getParentPath(java.lang.String path)
path
- Path whose parent path should be returned.public static mxICell resolve(mxICell root, java.lang.String path)
root
- Root cell of the path to be resolved.path
- String that defines the path.
public static int compare(java.lang.String cp1, java.lang.String cp2)
|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |