Class UndoableListModel

    • Constructor Detail

      • UndoableListModel

        public UndoableListModel()
      • UndoableListModel

        public UndoableListModel​(Collection<?> pColl)
    • Method Detail

      • getIndex

        public int getIndex()
        Where in history is the list.
      • getDelta

        @Deprecated
        public Object[] getDelta()
        Deprecated.
        Needed for CCU.
        Get the objects affected by the last update.
      • getNextUndo

        public UndoableEdit getNextUndo()
        The last edit that was (re)done or null if no such edit exists.
      • getNextRedo

        public UndoableEdit getNextRedo()
        The last edit that was undone or null if no such edit exists.
      • main

        public static void main​(String[] pArgs)
        Create an UndoableListModel, add some items and perform a few undos and redos.