Uses of Interface
com.mxgraph.model.mxICell
Packages that use mxICell
Package
Description
This package contains all classes for input/output.
This package contains the classes that define a graph model.
-
Uses of mxICell in com.mxgraph.io
Methods in com.mxgraph.io that return mxICellModifier and TypeMethodDescriptionmxCodec.decodeCell
(Node node, boolean restoreStructures) Decodes cells that have been encoded using inversion, ie.Methods in com.mxgraph.io with parameters of type mxICellModifier and TypeMethodDescriptionvoid
mxCodec.encodeCell
(mxICell cell, 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 mxICellFields in com.mxgraph.model declared as mxICellModifier and TypeFieldDescriptionprotected 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 mxICellModifier and TypeMethodDescriptionmxCell.getChildAt
(int index) mxICell.getChildAt
(int index) Returns the child at the specified index.mxCell.getEdgeAt
(int index) mxICell.getEdgeAt
(int index) Returns the edge at the specified index in the edge array.mxCell.getParent()
mxICell.getParent()
Returns the cell's parent.mxCell.getSource()
Returns the source terminal.mxCell.getTarget()
Returns the target terminal.mxCell.getTerminal
(boolean source) mxICell.getTerminal
(boolean source) Returns the source or target terminal.Appends the specified child into the child array and updates the parent reference of the child.Inserts the specified child into the child array at the specified index and updates the parent reference of the child.mxCell.insertEdge
(mxICell edge, boolean isOutgoing) mxICell.insertEdge
(mxICell edge, boolean isOutgoing) Inserts the specified edge into the edge array and returns the edge.mxCell.remove
(int index) mxICell.remove
(int index) Removes the child at the specified index from the child array and returns the child that was removed.Removes the given child from the child array and returns it.mxCell.removeEdge
(mxICell edge, boolean isOutgoing) mxICell.removeEdge
(mxICell edge, boolean isOutgoing) Removes the specified edge from the edge array and returns the edge.static mxICell
Returns the cell for the specified cell path using the given root as the root of the path.mxCell.setTerminal
(mxICell terminal, boolean isSource) mxICell.setTerminal
(mxICell terminal, boolean isSource) Sets the source or target terminal and returns the new terminal.Methods in com.mxgraph.model with parameters of type mxICellModifier and TypeMethodDescriptionstatic String
Creates the cell path for the given cell.int
mxCell.getEdgeIndex
(mxICell edge) int
mxICell.getEdgeIndex
(mxICell edge) Returns the index of the specified edge in the edge array.int
int
Returns the index of the specified child in the child array.Appends the specified child into the child array and updates the parent reference of the child.Inserts the specified child into the child array at the specified index and updates the parent reference of the child.mxCell.insertEdge
(mxICell edge, boolean isOutgoing) mxICell.insertEdge
(mxICell edge, boolean isOutgoing) Inserts the specified edge into the edge array and returns the edge.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, Hashtable<Object, 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.Removes the given child from the child array and returns it.mxCell.removeEdge
(mxICell edge, boolean isOutgoing) mxICell.removeEdge
(mxICell edge, boolean isOutgoing) Removes the specified edge from the edge array and returns the edge.static mxICell
Returns the cell for the specified cell path using the given root as the root of the path.void
void
Sets the parent cell.void
Sets the source terminal.void
Sets the target terminal.mxCell.setTerminal
(mxICell terminal, boolean isSource) mxICell.setTerminal
(mxICell terminal, boolean isSource) Sets the source or target terminal and returns the new terminal.