Package | Description |
---|---|
com.mxgraph.model |
This package contains the classes that define a graph model.
|
com.mxgraph.util |
This package provides utility classes such as mxConstants, mxUtils, mxPoint
and mxRectangle as well as all classes for custom events and the undo
history.
|
com.mxgraph.view |
This package implements the graph component, represented by the mxGraph
class.
|
Modifier and Type | Class | Description |
---|---|---|
static class |
mxGraphModel.mxChildChange |
|
static class |
mxGraphModel.mxCollapseChange |
|
static class |
mxGraphModel.mxGeometryChange |
|
static class |
mxGraphModel.mxRootChange |
|
static class |
mxGraphModel.mxStyleChange |
|
static class |
mxGraphModel.mxTerminalChange |
|
static class |
mxGraphModel.mxValueChange |
|
static class |
mxGraphModel.mxVisibleChange |
|
static class |
mxIGraphModel.mxAtomicGraphModelChange |
Defines the interface for an atomic change of the graph model.
|
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<mxUndoableEdit.mxUndoableChange> |
mxUndoableEdit.changes |
Holds the list of changes that make up this undoable edit.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<mxUndoableEdit.mxUndoableChange> |
mxUndoableEdit.getChanges() |
Modifier and Type | Method | Description |
---|---|---|
void |
mxUndoableEdit.add(mxUndoableEdit.mxUndoableChange change) |
Adds the specified change to this edit.
|
Modifier and Type | Class | Description |
---|---|---|
static class |
mxGraphSelectionModel.mxSelectionChange |
|
static class |
mxGraphView.mxCurrentRootChange |
Action to change the current root in a view.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Collection<java.lang.Object> |
mxLayoutManager.getCellsForChange(mxUndoableEdit.mxUndoableChange change) |
|
mxRectangle |
mxGraph.processChange(mxUndoableEdit.mxUndoableChange change,
boolean invalidate,
boolean ignoreDirty) |
Processes the given change and invalidates the respective cached data
in
|
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Collection<java.lang.Object> |
mxLayoutManager.getCellsForChanges(java.util.List<mxUndoableEdit.mxUndoableChange> changes) |
|
java.lang.Object[] |
mxGraph.getSelectionCellsForChanges(java.util.List<mxUndoableEdit.mxUndoableChange> changes) |
Returns the cells to be selected for the given list of changes.
|
mxRectangle |
mxGraph.graphModelChanged(mxIGraphModel sender,
java.util.List<mxUndoableEdit.mxUndoableChange> changes) |
Called when the graph model changes.
|
mxRectangle |
mxGraph.processChanges(java.util.List<mxUndoableEdit.mxUndoableChange> changes,
boolean invalidate,
boolean ignoreDirty) |
Processes the changes and returns the minimal rectangle to be
repainted in the buffer.
|
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.