Class UpAction

All Implemented Interfaces:
IAction

public class UpAction extends FrameAction
Generic "Up" action which goes to the parent frame for the current frame.
  • Constructor Details

    • UpAction

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

    • run

      public void run()
      Calls gotoFrame on the frame list with a frame representing the parent of the current input.
      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 parent frame for the current frame in the frame list. The tool tip text is "Up to " plus the tool tip text for the parent frame.
      Overrides:
      update in class FrameAction