Class CommandAction

  • All Implemented Interfaces:
    Action
    Direct Known Subclasses:
    CleanAction, ClearAction, CopyAction, CutAction, PasteAction, UndoAction

    public abstract class CommandAction
    extends java.lang.Object
    implements Action
    Abstract class for handling of all the actions which handle single type of actions: the action is executed when pressing the button and the current drawing action will remain unchanged
    • Field Detail

      • model

        protected Model model
    • Constructor Detail

      • CommandAction

        public CommandAction​(Model m)