public class NetGraphModel.NetGraphModelEdit extends DefaultGraphModel.GraphModelEdit
attributes, cellViews, changed, connectionSet, context, dirtyRegion, insert, inserted, parentMap, previousAttributes, previousConnectionSet, previousParentMap, remove, removed
Constructor and Description |
---|
NetGraphModelEdit(java.lang.Object[] inserted,
java.lang.Object[] removed,
java.util.Map attributes,
ConnectionSet connectionSet,
ParentMap parentMap) |
Modifier and Type | Method and Description |
---|---|
void |
redo()
Redoes a change.
|
void |
undo()
Undoes a change.
|
changeChildCount, execute, filterParents, getAttributes, getChanged, getConnectionSet, getContext, getDirtyRegion, getInserted, getParentMap, getPreviousAttributes, getPreviousConnectionSet, getPreviousParentMap, getRemoved, getSource, getViews, handleEmptyGroups, isSignificant, putViews, setDirtyRegion, toString
public NetGraphModelEdit(java.lang.Object[] inserted, java.lang.Object[] removed, java.util.Map attributes, ConnectionSet connectionSet, ParentMap parentMap)
public void redo() throws javax.swing.undo.CannotRedoException
DefaultGraphModel.GraphModelEdit
redo
in interface javax.swing.undo.UndoableEdit
redo
in class DefaultGraphModel.GraphModelEdit
javax.swing.undo.CannotRedoException
- if the change cannot be redonepublic void undo() throws javax.swing.undo.CannotUndoException
DefaultGraphModel.GraphModelEdit
undo
in interface javax.swing.undo.UndoableEdit
undo
in class DefaultGraphModel.GraphModelEdit
javax.swing.undo.CannotUndoException
- if the change cannot be undone