Package | Description |
---|---|
com.mxgraph.model |
This package contains the classes that define a graph model.
|
com.mxgraph.view |
This package implements the graph component, represented by the mxGraph
class.
|
Modifier and Type | Field and Description |
---|---|
protected mxGeometry |
mxCell.geometry
Holds the geometry.
|
protected mxGeometry |
mxGraphModel.mxGeometryChange.geometry |
protected mxGeometry |
mxGraphModel.mxGeometryChange.previous |
Modifier and Type | Method and Description |
---|---|
protected mxGeometry |
mxGraphModel.geometryForCellChanged(java.lang.Object cell,
mxGeometry geometry)
Inner callback to update the mxGeometry of the given mxCell using
mxCell.setGeometry and return the previous mxGeometry.
|
mxGeometry |
mxICell.getGeometry()
Returns the object that describes the geometry.
|
mxGeometry |
mxCell.getGeometry() |
mxGeometry |
mxGraphModel.mxGeometryChange.getGeometry() |
mxGeometry |
mxIGraphModel.getGeometry(java.lang.Object cell)
Returns the geometry of the given cell.
|
mxGeometry |
mxGraphModel.getGeometry(java.lang.Object cell) |
mxGeometry |
mxGraphModel.mxGeometryChange.getPrevious() |
mxGeometry |
mxIGraphModel.setGeometry(java.lang.Object cell,
mxGeometry geometry)
Sets the geometry of the given cell.
|
mxGeometry |
mxGraphModel.setGeometry(java.lang.Object cell,
mxGeometry geometry) |
Modifier and Type | Method and Description |
---|---|
protected mxGeometry |
mxGraphModel.geometryForCellChanged(java.lang.Object cell,
mxGeometry geometry)
Inner callback to update the mxGeometry of the given mxCell using
mxCell.setGeometry and return the previous mxGeometry.
|
void |
mxICell.setGeometry(mxGeometry geometry)
Sets the object to be used as the geometry.
|
void |
mxCell.setGeometry(mxGeometry geometry) |
void |
mxGraphModel.mxGeometryChange.setGeometry(mxGeometry value) |
mxGeometry |
mxIGraphModel.setGeometry(java.lang.Object cell,
mxGeometry geometry)
Sets the geometry of the given cell.
|
mxGeometry |
mxGraphModel.setGeometry(java.lang.Object cell,
mxGeometry geometry) |
void |
mxGraphModel.mxGeometryChange.setPrevious(mxGeometry value) |
Constructor and Description |
---|
mxCell(java.lang.Object value,
mxGeometry geometry,
java.lang.String style)
Constructs a new cell for the given parameters.
|
mxGraphModel.mxGeometryChange(mxGraphModel model,
java.lang.Object cell,
mxGeometry geometry) |
Modifier and Type | Method and Description |
---|---|
mxGeometry |
mxGraph.getCellGeometry(java.lang.Object cell)
Returns the geometry for the given cell.
|
Modifier and Type | Method and Description |
---|---|
mxPoint |
mxGraphView.getPoint(mxCellState state,
mxGeometry geometry)
Returns the absolute point on the edge for the given relative geometry as
a point.
|
void |
mxGraph.updateAlternateBounds(java.lang.Object cell,
mxGeometry geo,
boolean willCollapse)
Updates or sets the alternate bounds in the given geometry for the given
cell depending on whether the cell is going to be collapsed.
|
void |
mxGraphView.updateEdgeState(mxCellState state,
mxGeometry geo)
Validates the given cell state.
|
void |
mxGraphView.updateVertexState(mxCellState state,
mxGeometry geo)
Validates the given cell state.
|
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.