Package editor

Class ScriptEditorUndoItem

    • Field Detail

      • _bUndo

        private boolean _bUndo
      • _iUndoPos

        private int _iUndoPos
      • _iRedoPos

        private int _iRedoPos
      • _docEdit

        private javax.swing.undo.UndoableEdit _docEdit
    • Constructor Detail

      • ScriptEditorUndoItem

        public ScriptEditorUndoItem​(ScriptChangeHandler sch,
                                    javax.swing.undo.UndoableEdit docEdit)
        Parameters:
        sch - The ScriptChangeHandler context.
        docEdit - The source of the change.
    • Method Detail

      • storeState

        public void storeState​(java.util.Hashtable stateTable)
        Specified by:
        storeState in interface javax.swing.undo.StateEditable
      • restoreState

        public void restoreState​(java.util.Hashtable stateTable)
        Specified by:
        restoreState in interface javax.swing.undo.StateEditable