public class mxCellPath extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_SEPARATOR
Defines the separator between the path components.
|
| Constructor and Description |
|---|
mxCellPath() |
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(String cp1,
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 String |
create(mxICell cell)
Creates the cell path for the given cell.
|
static String |
getParentPath(String path)
Returns the path for the parent of the cell represented by the given
path.
|
static mxICell |
resolve(mxICell root,
String path)
Returns the cell for the specified cell path using the given root as the
root of the path.
|
public static String PATH_SEPARATOR
..public static String create(mxICell cell)
cell - Cell whose path should be returned.public static String getParentPath(String path)
path - Path whose parent path should be returned.public static mxICell resolve(mxICell root, String path)
root - Root cell of the path to be resolved.path - String that defines the path.Copyright (c) 2010 Gaudenz Alder. All rights reserved.