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". More... | |
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. More... | |
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. More... | |
Static Public Attributes | |
static char | PATH_SEPARATOR = '.' |
Defines the separator between the path components. Default is ".". More... | |
Implements a mechanism for temporary cell Ids.
|
inlinestatic |
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. |
References com.mxgraph.mxICell.Parent, and com.mxgraph.mxCellPath.PATH_SEPARATOR.
|
inlinestatic |
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. |
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. |
|
static |
Defines the separator between the path components. Default is ".".
Referenced by com.mxgraph.mxCellPath.Create(), and com.mxgraph.mxGraphModel.GetNearestCommonAncestor().