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:
java.io.Serializable
,javax.swing.undo.UndoableEdit
- Enclosing class:
- HexTableModel
private class HexTableModel.ByteChangedUndoableEdit extends javax.swing.undo.AbstractUndoableEdit
-
-
Field Summary
Fields Modifier and Type Field Description private byte
newVal
private int
offs
private byte
oldVal
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ByteChangedUndoableEdit(int offs, byte oldVal, byte newVal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
redo()
private void
setValueImpl(int offset, byte val)
void
undo()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
offs
private int offs
-
oldVal
private byte oldVal
-
newVal
private byte newVal
-
-
Method Detail
-
undo
public void undo()
- Specified by:
undo
in interfacejavax.swing.undo.UndoableEdit
- Overrides:
undo
in classjavax.swing.undo.AbstractUndoableEdit
-
redo
public void redo()
- Specified by:
redo
in interfacejavax.swing.undo.UndoableEdit
- Overrides:
redo
in classjavax.swing.undo.AbstractUndoableEdit
-
setValueImpl
private void setValueImpl(int offset, byte val)
-
-