Class ForwardAction

All Implemented Interfaces:
IAction

public class ForwardAction extends FrameAction
Generic "Forward" action which goes forward one frame.
  • Constructor Details

    • ForwardAction

      public ForwardAction(FrameList frameList)
      Constructs a new action for the specified frame list.
      Parameters:
      frameList - the frame list
  • Method Details

    • run

      public void run()
      Calls forward() on the frame list.
      Specified by:
      run in interface IAction
      Overrides:
      run in class Action
      See Also:
    • update

      public void update()
      Updates this action's enabled state and tool tip text. This action is enabled only when there is a next frame in the frame list. The tool tip text is "Forward to " plus the tool tip text for the next frame.
      Overrides:
      update in class FrameAction