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 and 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 and Description |
---|---|
protected List<mxUndoableEdit.mxUndoableChange> |
mxUndoableEdit.changes
Holds the list of changes that make up this undoable edit.
|
Modifier and Type | Method and Description |
---|---|
List<mxUndoableEdit.mxUndoableChange> |
mxUndoableEdit.getChanges() |
Modifier and Type | Method and Description |
---|---|
void |
mxUndoableEdit.add(mxUndoableEdit.mxUndoableChange change)
Adds the specified change to this edit.
|
Modifier and Type | Class and Description |
---|---|
static class |
mxGraphSelectionModel.mxSelectionChange |
static class |
mxGraphView.mxCurrentRootChange
Action to change the current root in a view.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<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 and Description |
---|---|
protected Collection<Object> |
mxLayoutManager.getCellsForChanges(List<mxUndoableEdit.mxUndoableChange> changes) |
Object[] |
mxGraph.getRemovedCellsForChanges(List<mxUndoableEdit.mxUndoableChange> changes)
Returns the cells that have been removed from the model.
|
Object[] |
mxGraph.getSelectionCellsForChanges(List<mxUndoableEdit.mxUndoableChange> changes)
Returns the cells to be selected for the given list of changes.
|
mxRectangle |
mxGraph.graphModelChanged(mxIGraphModel sender,
List<mxUndoableEdit.mxUndoableChange> changes)
Called when the graph model changes.
|
mxRectangle |
mxGraph.processChanges(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 Gaudenz Alder, David Benson. All rights reserved.