Class ActionHandler

    • Constructor Detail

      • ActionHandler

        public ActionHandler​(String name)
        Create a new ActionHandler
        Parameters:
        name - the name of this ViewerFeature
    • Method Detail

      • matches

        public abstract boolean matches​(DocumentPanel panel,
                                        PDFAction action)
        Return true if this ActionFactory can handle the specified PDFAction
      • run

        public abstract void run​(DocumentPanel panel,
                                 PDFAction action)
        Run the specified action
        Parameters:
        panel - the DocumentPanel running the action
        action - the action