Package org.fife.ui.hex.swing
Class HexTableModel.BytesReplacedUndoableEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- org.fife.ui.hex.swing.HexTableModel.BytesReplacedUndoableEdit
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.undo.UndoableEdit
- Enclosing class:
- HexTableModel
private class HexTableModel.BytesReplacedUndoableEdit extends javax.swing.undo.AbstractUndoableEdit
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
added
private int
offs
private byte[]
removed
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description BytesReplacedUndoableEdit(int offs, byte[] removed, byte[] added)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
redo()
private void
removeAndAdd(byte[] toRemove, byte[] toAdd)
void
undo()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
offs
private int offs
-
removed
private byte[] removed
-
added
private byte[] added
-
-
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
-
removeAndAdd
private void removeAndAdd(byte[] toRemove, byte[] toAdd)
-
-