Class AbstractUndoAction

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractUndoAction​(java.lang.String resourceKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      The description of the action will be used to determine grouping equality as well as for display purposes.
      protected java.lang.Object[] getDescriptionArgs()  
      boolean isGroupSequenceIndependent()
      This function should return true if a group of these actions can be undone by ONLY calling undo() on the first action in the group, and redone by ONLY calling execute() on the last action in the group.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractUndoAction

        public AbstractUndoAction​(java.lang.String resourceKey)
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: UndoManager.UndoAction
        The description of the action will be used to determine grouping equality as well as for display purposes.
        Specified by:
        getDescription in interface UndoManager.UndoAction
      • getDescriptionArgs

        protected java.lang.Object[] getDescriptionArgs()
      • isGroupSequenceIndependent

        public boolean isGroupSequenceIndependent()
        Description copied from interface: UndoManager.UndoAction
        This function should return true if a group of these actions can be undone by ONLY calling undo() on the first action in the group, and redone by ONLY calling execute() on the last action in the group.
        Specified by:
        isGroupSequenceIndependent in interface UndoManager.UndoAction