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