mxGraph
|
Implements a mechanism for temporary cell Ids. More...
Static Public Member Functions | |
static string | Create (mxICell cell) |
Creates the cell path for the given cell. The cell path is a concatenation of the indices of all cells on the (finite) path to the root, eg. "0.0.0.1". | |
static string | GetParentPath (string path) |
Returns the path for the parent of the cell represented by the given path. Returns null if the given path has no parent. | |
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. | |
Static Public Attributes | |
static char | PATH_SEPARATOR = '.' |
Defines the separator between the path components. Default is ".". |
Implements a mechanism for temporary cell Ids.
static string com.mxgraph.mxCellPath.Create | ( | mxICell | cell | ) | [inline, static] |
Creates the cell path for the given cell. The cell path is a concatenation of the indices of all cells on the (finite) path to the root, eg. "0.0.0.1".
cell | Cell whose path should be returned. |
static string com.mxgraph.mxCellPath.GetParentPath | ( | string | path | ) | [inline, static] |
Returns the path for the parent of the cell represented by the given path. Returns null if the given path has no parent.
path | Path whose parent path should be returned. |
static mxICell com.mxgraph.mxCellPath.Resolve | ( | mxICell | root, |
string | path | ||
) | [inline, static] |
Returns the cell for the specified cell path using the given root as the root of the path.
root | Root cell of the path to be resolved. |
path | String that defines the path. |
char com.mxgraph.mxCellPath.PATH_SEPARATOR = '.' [static] |
Defines the separator between the path components. Default is ".".