|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.undo.AbstractUndoableEdit | +--net.sf.vex.dom.Element.AttributeChangeEdit
Represents an insertion of text into the document.
Field Summary |
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
RedoName, UndoName |
Constructor Summary | |
Element.AttributeChangeEdit(java.lang.String name,
java.lang.String oldValue,
java.lang.String newValue)
Class constructor. |
Method Summary | |
Element |
getElement()
Returns the element to which this edit applies. |
java.lang.String |
getName()
Returns the name of the attribute that was changed. |
java.lang.String |
getNewValue()
Returns the new value of the attribute. |
java.lang.String |
getOldValue()
Returns the value of the attribute before the change. |
java.lang.String |
getPresentationName()
|
java.lang.String |
getRedoPresentationName()
|
java.lang.String |
getUndoPresentationName()
|
void |
redo()
|
void |
undo()
|
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
addEdit, canRedo, canUndo, die, isSignificant, replaceEdit, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Element.AttributeChangeEdit(java.lang.String name, java.lang.String oldValue, java.lang.String newValue)
Method Detail |
public void undo() throws javax.swing.undo.CannotUndoException
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CannotUndoException
UndoableEdit.undo()
public void redo() throws javax.swing.undo.CannotRedoException
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CannotRedoException
UndoableEdit.redo()
public Element getElement()
public java.lang.String getName()
public java.lang.String getNewValue()
public java.lang.String getOldValue()
public java.lang.String getPresentationName()
getPresentationName
in interface javax.swing.undo.UndoableEdit
getPresentationName
in class javax.swing.undo.AbstractUndoableEdit
UndoableEdit.getPresentationName()
public java.lang.String getUndoPresentationName()
getUndoPresentationName
in interface javax.swing.undo.UndoableEdit
getUndoPresentationName
in class javax.swing.undo.AbstractUndoableEdit
UndoableEdit.getUndoPresentationName()
public java.lang.String getRedoPresentationName()
getRedoPresentationName
in interface javax.swing.undo.UndoableEdit
getRedoPresentationName
in class javax.swing.undo.AbstractUndoableEdit
UndoableEdit.getRedoPresentationName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |