Class Action

  • All Implemented Interfaces:

    
    public abstract class Action
    
                        

    Represents a PDF action used to describe what happens when annotations, bookmarks, etc. are clicked or selected.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<Action> getSubActions() Returns list of sub actions of this action.
      abstract ActionType getType() Returns type of action to make down-casting easier.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getSubActions

        @NonNull() List<Action> getSubActions()

        Returns list of sub actions of this action. These actions will be executed in order after this action is executed.

        Returns:

        List of chained sub actions.

      • getType

        @NonNull() abstract ActionType getType()

        Returns type of action to make down-casting easier.

        Returns:

        Type of this action.