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 | Description |
---|---|---|
protected mxGeometry |
mxCell.geometry |
Holds the geometry.
|
protected mxGeometry |
mxGraphModel.mxGeometryChange.geometry |
|
protected mxGeometry |
mxGraphModel.mxGeometryChange.previous |
Modifier and Type | Method | 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 |
mxCell.getGeometry() |
|
mxGeometry |
mxGraphModel.getGeometry(java.lang.Object cell) |
|
mxGeometry |
mxGraphModel.mxGeometryChange.getGeometry() |
|
mxGeometry |
mxICell.getGeometry() |
Returns the object that describes the geometry.
|
mxGeometry |
mxIGraphModel.getGeometry(java.lang.Object cell) |
Returns the geometry of the given cell.
|
mxGeometry |
mxGraphModel.mxGeometryChange.getPrevious() |
|
mxGeometry |
mxGraphModel.setGeometry(java.lang.Object cell,
mxGeometry geometry) |
|
mxGeometry |
mxIGraphModel.setGeometry(java.lang.Object cell,
mxGeometry geometry) |
Sets the geometry of the given cell.
|
Modifier and Type | Method | 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 |
mxCell.setGeometry(mxGeometry geometry) |
|
void |
mxGraphModel.mxGeometryChange.setGeometry(mxGeometry value) |
|
mxGeometry |
mxGraphModel.setGeometry(java.lang.Object cell,
mxGeometry geometry) |
|
void |
mxICell.setGeometry(mxGeometry geometry) |
Sets the object to be used as the geometry.
|
mxGeometry |
mxIGraphModel.setGeometry(java.lang.Object cell,
mxGeometry geometry) |
Sets the geometry of the given cell.
|
void |
mxGraphModel.mxGeometryChange.setPrevious(mxGeometry value) |
Constructor | Description |
---|---|
mxCell(java.lang.Object value,
mxGeometry geometry,
java.lang.String style) |
Constructs a new cell for the given parameters.
|
mxGeometryChange(mxGraphModel model,
java.lang.Object cell,
mxGeometry geometry) |
Modifier and Type | Method | Description |
---|---|---|
mxGeometry |
mxGraph.getCellGeometry(java.lang.Object cell) |
Returns the geometry for the given cell.
|
Modifier and Type | Method | 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-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.