org.faceless.pdf2.viewer2.feature
Class GoToActionHandler

java.lang.Object
  extended by org.faceless.pdf2.viewer2.ViewerFeature
      extended by org.faceless.pdf2.viewer2.ActionHandler
          extended by org.faceless.pdf2.viewer2.feature.GoToActionHandler

public class GoToActionHandler
extends ActionHandler

Create an action handler for "GoTo" actions and the named actions that move between pages. The name of this feature is GoToActionHandler

This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.

Since:
2.8

Constructor Summary
GoToActionHandler()
          Create a new GoToActionHandler
 
Method Summary
static GoToActionHandler getInstance()
          Deprecated. since 2.11 just calls the public constructor
 boolean matches(DocumentPanel panel, PDFAction action)
          Return true if this ActionFactory can handle the specified PDFAction
 void run(DocumentPanel panel, PDFAction action)
          Run the specified action
 
Methods inherited from class org.faceless.pdf2.viewer2.ActionHandler
toString
 
Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getFeatureURLProperty, getName, initialize, isEnabledByDefault, setFeatureName, teardown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoToActionHandler

public GoToActionHandler()
Create a new GoToActionHandler

Since:
2.11 just calls the public constructor
Method Detail

getInstance

public static GoToActionHandler getInstance()
Deprecated. since 2.11 just calls the public constructor

Return a GoToActionHandler


matches

public boolean matches(DocumentPanel panel,
                       PDFAction action)
Description copied from class: ActionHandler
Return true if this ActionFactory can handle the specified PDFAction

Specified by:
matches in class ActionHandler

run

public void run(DocumentPanel panel,
                PDFAction action)
Description copied from class: ActionHandler
Run the specified action

Specified by:
run in class ActionHandler
Parameters:
panel - the DocumentPanel running the action
action - the action


Copyright © 2001-2010 Big Faceless Organization