Class 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  
      • Fields inherited from class javax.swing.undo.AbstractUndoableEdit

        RedoName, UndoName
    • 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()  
      • Methods inherited from class javax.swing.undo.AbstractUndoableEdit

        addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • offs

        private int offs
      • oldVal

        private byte oldVal
      • newVal

        private byte newVal
    • Constructor Detail

      • ByteChangedUndoableEdit

        public ByteChangedUndoableEdit​(int offs,
                                       byte oldVal,
                                       byte newVal)
    • Method Detail

      • undo

        public void undo()
        Specified by:
        undo in interface javax.swing.undo.UndoableEdit
        Overrides:
        undo in class javax.swing.undo.AbstractUndoableEdit
      • redo

        public void redo()
        Specified by:
        redo in interface javax.swing.undo.UndoableEdit
        Overrides:
        redo in class javax.swing.undo.AbstractUndoableEdit
      • setValueImpl

        private void setValueImpl​(int offset,
                                  byte val)