Package org.fife.ui.hex.swing
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 byte
private int
private byte
private static final long
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
redo()
private void
setValueImpl
(int offset, byte val) void
undo()
Methods inherited from class javax.swing.undo.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:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
-
redo
public void redo()- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
-
setValueImpl
private void setValueImpl(int offset, byte val)
-