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 TypeMethodDescriptionvoidmxCodec.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.voidmxCodec.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 mxICellmxCell.parentReference to the parent cell and source and target terminals for edges.protected mxICellmxGraphModel.rootHolds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.protected mxICellmxCell.sourceReference to the parent cell and source and target terminals for edges.protected mxICellmxCell.targetReference 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 mxICellReturns 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 StringCreates the cell path for the given cell.intmxCell.getEdgeIndex(mxICell edge) intmxICell.getEdgeIndex(mxICell edge) Returns the index of the specified edge in the edge array.intintReturns 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.voidmxGraphModel.mergeChildren(mxICell from, mxICell to, boolean cloneAllEdges) Merges the children of the given cell into the given target cell inside this model.protected voidmxGraphModel.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 mxICellReturns the cell for the specified cell path using the given root as the root of the path.voidvoidSets the parent cell.voidSets the source terminal.voidSets 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.