|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
com.jgraph.graph.GraphView.GraphViewLayerEdit
com.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
An implementation of GraphViewChange.
| Field Summary | |
protected java.lang.Object[] |
parents
|
| Fields inherited from class com.jgraph.graph.GraphView.GraphViewLayerEdit |
BACK, cells, changeSource, FRONT, layer, next, prev |
| Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
RedoName, UndoName |
| Constructor Summary | |
DefaultGraphModel.GraphModelLayerEdit(java.lang.Object[] cells,
int layer)
Constructs a GraphModelEdit. |
|
| Method Summary | |
java.lang.Object[] |
getChanged()
Returns the cells that have changed. |
java.lang.Object[] |
getInserted()
Returns the cells that have changed. |
protected java.util.List |
getParentList(java.lang.Object cell)
Returns the list that exclusively contains view. |
java.lang.Object[] |
getRemoved()
Returns the cells that have changed. |
java.lang.Object |
getSource()
Returns the source of this change. |
java.util.Map |
getStoredAttributeMap()
Returns null. |
CellView[] |
getViews(GraphView view)
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed. |
void |
putViews(GraphView view,
CellView[] cellViews)
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed. |
protected void |
updateListeners()
|
| Methods inherited from class com.jgraph.graph.GraphView.GraphViewLayerEdit |
execute, getAttributeMap, getContext, redo, undo, updateNext |
| Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.jgraph.event.GraphModelEvent.GraphViewChange |
getAttributeMap, getContext |
| Field Detail |
protected java.lang.Object[] parents
| Constructor Detail |
public DefaultGraphModel.GraphModelLayerEdit(java.lang.Object[] cells,
int layer)
| Method Detail |
public java.lang.Object getSource()
getSource in interface GraphModelEvent.GraphViewChangegetSource in class GraphView.GraphViewLayerEditpublic java.lang.Object[] getChanged()
getChanged in interface GraphModelEvent.GraphViewChangegetChanged in class GraphView.GraphViewLayerEditpublic java.lang.Object[] getInserted()
getInserted in interface GraphModelEvent.GraphModelChangepublic java.lang.Object[] getRemoved()
getRemoved in interface GraphModelEvent.GraphModelChangepublic java.util.Map getStoredAttributeMap()
getStoredAttributeMap in interface GraphModelEvent.GraphModelChangepublic CellView[] getViews(GraphView view)
getViews in interface GraphModelEvent.GraphModelChange
public void putViews(GraphView view,
CellView[] cellViews)
putViews in interface GraphModelEvent.GraphModelChangeprotected void updateListeners()
updateListeners in class GraphView.GraphViewLayerEditprotected java.util.List getParentList(java.lang.Object cell)
view.
getParentList in class GraphView.GraphViewLayerEdit
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||