## Uses of Interface
com.mxgraph.model.mxICell

- Packages that use mxICell
  Package | Description
  --- | ---
  com.mxgraph.io | This package contains all classes for input/output.
  com.mxgraph.model | This package contains the classes that define a graph model.

- - ### Uses of mxICell in com.mxgraph.io

    Methods in com.mxgraph.io that return mxICell
    Modifier and Type | Method and Description
    --- | ---
    `mxICell` | mxCodec.`decodeCell(org.w3c.dom.Node node, boolean restoreStructures)` Decodes cells that have been encoded using inversion, ie.

    Methods in com.mxgraph.io with parameters of type mxICell
    Modifier and Type | Method and Description
    --- | ---
    `void` | mxCodec.`encodeCell(mxICell cell, org.w3c.dom.Node node, boolean includeChildren)` Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg.
    `void` | mxCodec.`insertIntoGraph(mxICell cell)` Inserts the given cell into its parent and terminal cells.

  - ### Uses of mxICell in com.mxgraph.model

    Classes in com.mxgraph.model that implement mxICell
    Modifier and Type | Class and Description
    --- | ---
    `class` | `mxCell` Cells are the elements of the graph model.

    Fields in com.mxgraph.model declared as mxICell
    Modifier and Type | Field and Description
    --- | ---
    `protected mxICell` | mxCell.`parent` Reference to the parent cell and source and target terminals for edges.
    `protected mxICell` | mxGraphModel.`root` Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
    `protected mxICell` | mxCell.`source` Reference to the parent cell and source and target terminals for edges.
    `protected mxICell` | mxCell.`target` Reference to the parent cell and source and target terminals for edges.

    Methods in com.mxgraph.model that return mxICell
    Modifier and Type | Method and Description
    --- | ---
    `mxICell` | mxICell.`getChildAt(int index)` Returns the child at the specified index.
    `mxICell` | mxCell.`getChildAt(int index)`
    `mxICell` | mxICell.`getEdgeAt(int index)` Returns the edge at the specified index in the edge array.
    `mxICell` | mxCell.`getEdgeAt(int index)`
    `mxICell` | mxICell.`getParent()` Returns the cell's parent.
    `mxICell` | mxCell.`getParent()`
    `mxICell` | mxCell.`getSource()` Returns the source terminal.
    `mxICell` | mxCell.`getTarget()` Returns the target terminal.
    `mxICell` | mxICell.`getTerminal(boolean source)` Returns the source or target terminal.
    `mxICell` | mxCell.`getTerminal(boolean source)`
    `mxICell` | mxICell.`insert(mxICell child)` Appends the specified child into the child array and updates the parent reference of the child.
    `mxICell` | mxCell.`insert(mxICell child)`
    `mxICell` | mxICell.`insert(mxICell child, int index)` Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
    `mxICell` | mxCell.`insert(mxICell child, int index)`
    `mxICell` | mxICell.`insertEdge(mxICell edge, boolean isOutgoing)` Inserts the specified edge into the edge array and returns the edge.
    `mxICell` | mxCell.`insertEdge(mxICell edge, boolean isOutgoing)`
    `mxICell` | mxICell.`remove(int index)` Removes the child at the specified index from the child array and returns the child that was removed.
    `mxICell` | mxCell.`remove(int index)`
    `mxICell` | mxICell.`remove(mxICell child)` Removes the given child from the child array and returns it.
    `mxICell` | mxCell.`remove(mxICell child)`
    `mxICell` | mxICell.`removeEdge(mxICell edge, boolean isOutgoing)` Removes the specified edge from the edge array and returns the edge.
    `mxICell` | mxCell.`removeEdge(mxICell edge, boolean isOutgoing)`
    `static mxICell` | mxCellPath.`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.
    `mxICell` | mxICell.`setTerminal(mxICell terminal, boolean isSource)` Sets the source or target terminal and returns the new terminal.
    `mxICell` | mxCell.`setTerminal(mxICell terminal, boolean isSource)`

    Methods in com.mxgraph.model with parameters of type mxICell
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | mxCellPath.`create(mxICell cell)` Creates the cell path for the given cell.
    `int` | mxICell.`getEdgeIndex(mxICell edge)` Returns the index of the specified edge in the edge array.
    `int` | mxCell.`getEdgeIndex(mxICell edge)`
    `int` | mxICell.`getIndex(mxICell child)` Returns the index of the specified child in the child array.
    `int` | mxCell.`getIndex(mxICell child)`
    `mxICell` | mxICell.`insert(mxICell child)` Appends the specified child into the child array and updates the parent reference of the child.
    `mxICell` | mxCell.`insert(mxICell child)`
    `mxICell` | mxICell.`insert(mxICell child, int index)` Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
    `mxICell` | mxCell.`insert(mxICell child, int index)`
    `mxICell` | mxICell.`insertEdge(mxICell edge, boolean isOutgoing)` Inserts the specified edge into the edge array and returns the edge.
    `mxICell` | mxCell.`insertEdge(mxICell edge, boolean isOutgoing)`
    `void` | mxGraphModel.`mergeChildren(mxICell from, mxICell to, boolean cloneAllEdges)` Merges the children of the given cell into the given target cell inside this model.
    `protected void` | mxGraphModel.`mergeChildrenImpl(mxICell from, mxICell to, boolean cloneAllEdges, java.util.Hashtable<java.lang.Object,java.lang.Object> mapping)` Clones the children of the source cell into the given target cell in this model and adds an entry to the mapping that maps from the source cell to the target cell with the same id or the clone of the source cell that was inserted into this model.
    `mxICell` | mxICell.`remove(mxICell child)` Removes the given child from the child array and returns it.
    `mxICell` | mxCell.`remove(mxICell child)`
    `mxICell` | mxICell.`removeEdge(mxICell edge, boolean isOutgoing)` Removes the specified edge from the edge array and returns the edge.
    `mxICell` | mxCell.`removeEdge(mxICell edge, boolean isOutgoing)`
    `static mxICell` | mxCellPath.`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.
    `void` | mxICell.`setParent(mxICell parent)` Sets the parent cell.
    `void` | mxCell.`setParent(mxICell parent)`
    `void` | mxCell.`setSource(mxICell source)` Sets the source terminal.
    `void` | mxCell.`setTarget(mxICell target)` Sets the target terminal.
    `mxICell` | mxICell.`setTerminal(mxICell terminal, boolean isSource)` Sets the source or target terminal and returns the new terminal.
    `mxICell` | mxCell.`setTerminal(mxICell terminal, boolean isSource)`

Copyright (c) 2010 Gaudenz Alder. All rights reserved.