Class HexTableModel.ByteChangedUndoableEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.fife.ui.hex.swing.HexTableModel.ByteChangedUndoableEdit
- All Implemented Interfaces:
Serializable, UndoableEdit
- Enclosing class:
HexTableModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byteprivate intprivate byteprivate static final longFields inherited from class AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidredo()private voidsetValueImpl(int offset, byte val) voidundo()Methods inherited from class AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
offs
private int offs -
oldVal
private byte oldVal -
newVal
private byte newVal
-
-
Constructor Details
-
ByteChangedUndoableEdit
ByteChangedUndoableEdit(int offs, byte oldVal, byte newVal)
-
-
Method Details
-
undo
public void undo()- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit
-
redo
public void redo()- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit
-
setValueImpl
private void setValueImpl(int offset, byte val)
-