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 bytenewValprivate intoffsprivate byteoldValprivate static longserialVersionUID
-
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 voidredo()private voidsetValueImpl(int offset, byte val)voidundo()
-
-
-
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:
undoin interfacejavax.swing.undo.UndoableEdit- Overrides:
undoin classjavax.swing.undo.AbstractUndoableEdit
-
redo
public void redo()
- Specified by:
redoin interfacejavax.swing.undo.UndoableEdit- Overrides:
redoin classjavax.swing.undo.AbstractUndoableEdit
-
setValueImpl
private void setValueImpl(int offset, byte val)
-
-