Defines the requirements for a cell that can be used in an mxGraphModel. More...
Public Member Functions | |
mxICell | GetTerminal (bool source) |
Returns the source or target terminal of the cell. | |
mxICell | SetTerminal (mxICell terminal, bool source) |
Sets the source or target terminal. | |
int | ChildCount () |
Returns the number of child cells. | |
int | GetIndex (mxICell child) |
Returns the index of the specified child in the child array. | |
mxICell | GetChildAt (int index) |
Returns the child at the specified index. | |
mxICell | Insert (mxICell child) |
Appends the specified child into the child array and updates the parent reference of the child. | |
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 | Remove (int index) |
Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child. | |
mxICell | Remove (mxICell child) |
Removes the given child from the child array. Will remove the parent reference of the child. | |
void | RemoveFromParent () |
Removes the cell from its parent. | |
int | EdgeCount () |
Returns the number of edges in the edge array. | |
int | GetEdgeIndex (mxICell edge) |
Returns the index of the specified edge in the edge array. | |
mxICell | GetEdgeAt (int index) |
Returns the edge at the specified index in the edge array. | |
mxICell | InsertEdge (mxICell edge, bool isOutgoing) |
Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge. | |
mxICell | RemoveEdge (mxICell edge, bool isOutgoing) |
Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge. | |
void | RemoveFromTerminal (bool isSource) |
Removes the edge from its source or target terminal. | |
Object | Clone () |
Returns a clone of this cell. | |
Properties | |
string | Id [get, set] |
Sets or returns the Id of the cell. | |
Object | Value [get, set] |
Sets or returns the user object of the cell. | |
mxGeometry | Geometry [get, set] |
Sets or returns the geometry of the cell. | |
string | Style [get, set] |
Sets or returns the string that describes the style. | |
bool | Vertex [get] |
Returns true if the cell is a vertex. | |
bool | Edge [get] |
Returns true if the cell is an edge. | |
bool | Connectable [get] |
Returns true if the cell is connectable. | |
bool | Visible [get, set] |
Sets or returns the visible state of the cell. | |
bool | Collapsed [get, set] |
Sets or returns the collapsed state of the cell. | |
mxICell | Parent [get, set] |
Sets or returns the parent of the cell. |
Defines the requirements for a cell that can be used in an mxGraphModel.
int com::mxgraph::mxICell::ChildCount | ( | ) |
Returns the number of child cells.
Implemented in com::mxgraph::mxCell.
Object com::mxgraph::mxICell::Clone | ( | ) |
Returns a clone of this cell.
Implemented in com::mxgraph::mxCell.
int com::mxgraph::mxICell::EdgeCount | ( | ) |
Returns the number of edges in the edge array.
Implemented in com::mxgraph::mxCell.
mxICell com::mxgraph::mxICell::GetChildAt | ( | int | index | ) |
Returns the child at the specified index.
index | Integer that specifies the child to be returned. |
Implemented in com::mxgraph::mxCell.
mxICell com::mxgraph::mxICell::GetEdgeAt | ( | int | index | ) |
Returns the edge at the specified index in the edge array.
index | Integer that specifies the index of the edge to be returned. |
Implemented in com::mxgraph::mxCell.
int com::mxgraph::mxICell::GetEdgeIndex | ( | mxICell | edge | ) |
Returns the index of the specified edge in the edge array.
edge | Cell whose index should be returned. |
Implemented in com::mxgraph::mxCell.
int com::mxgraph::mxICell::GetIndex | ( | mxICell | child | ) |
Returns the index of the specified child in the child array.
child | Child whose index should be returned. |
Implemented in com::mxgraph::mxCell.
mxICell com::mxgraph::mxICell::GetTerminal | ( | bool | source | ) |
Returns the source or target terminal of the cell.
source | Boolean that specifies if the source terminal should be returned. |
Implemented in com::mxgraph::mxCell.
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
child | Cell to be inserted into the child array. | |
index | Integer that specifies the index at which the child should be inserted into the child array. |
Implemented in com::mxgraph::mxCell.
Appends the specified child into the child array and updates the parent reference of the child.
child | Cell to be appended to the child array. |
Implemented in com::mxgraph::mxCell.
Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge.
edge | Cell to be inserted into the edge array. | |
isOutgoing | Boolean that specifies if the edge is outgoing. |
Implemented in com::mxgraph::mxCell.
Removes the given child from the child array. Will remove the parent reference of the child.
child |
Implemented in com::mxgraph::mxCell.
mxICell com::mxgraph::mxICell::Remove | ( | int | index | ) |
Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child.
index | Integer that specifies the index of the child to be removed. |
Implemented in com::mxgraph::mxCell.
Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge.
edge | Cell to be removed from the edge array. | |
isOutgoing | Boolean that specifies if the edge is outgoing. |
Implemented in com::mxgraph::mxCell.
void com::mxgraph::mxICell::RemoveFromParent | ( | ) |
Removes the cell from its parent.
Implemented in com::mxgraph::mxCell.
void com::mxgraph::mxICell::RemoveFromTerminal | ( | bool | isSource | ) |
Removes the edge from its source or target terminal.
isSource | Boolean that specifies if the edge should be removed from its source or target terminal. |
Implemented in com::mxgraph::mxCell.
Sets the source or target terminal.
terminal | Cell that represents the new source or target terminal. | |
source | Boolean that specifies if the source or target terminal should be set. |
Implemented in com::mxgraph::mxCell.
bool com::mxgraph::mxICell::Collapsed [get, set] |
Sets or returns the collapsed state of the cell.
Implemented in com::mxgraph::mxCell.
bool com::mxgraph::mxICell::Connectable [get] |
Returns true if the cell is connectable.
Implemented in com::mxgraph::mxCell.
bool com::mxgraph::mxICell::Edge [get] |
Returns true if the cell is an edge.
Implemented in com::mxgraph::mxCell.
mxGeometry com::mxgraph::mxICell::Geometry [get, set] |
Sets or returns the geometry of the cell.
Implemented in com::mxgraph::mxCell.
string com::mxgraph::mxICell::Id [get, set] |
Sets or returns the Id of the cell.
Implemented in com::mxgraph::mxCell.
mxICell com::mxgraph::mxICell::Parent [get, set] |
Sets or returns the parent of the cell.
Implemented in com::mxgraph::mxCell.
string com::mxgraph::mxICell::Style [get, set] |
Sets or returns the string that describes the style.
Implemented in com::mxgraph::mxCell.
Object com::mxgraph::mxICell::Value [get, set] |
Sets or returns the user object of the cell.
Implemented in com::mxgraph::mxCell.
bool com::mxgraph::mxICell::Vertex [get] |
Returns true if the cell is a vertex.
Implemented in com::mxgraph::mxCell.
bool com::mxgraph::mxICell::Visible [get, set] |
Sets or returns the visible state of the cell.
Implemented in com::mxgraph::mxCell.