|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.faceless.pdf2.viewer2.ViewerFeature
org.faceless.pdf2.viewer2.ActionHandler
public abstract class ActionHandler
A type of ViewerFeature
that will run a PDFAction
on a document,
usually as a result of a link or button being clicked.
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.
Constructor Summary | |
---|---|
ActionHandler(String name)
Create a new ActionHandler |
Method Summary | |
---|---|
abstract boolean |
matches(DocumentPanel panel,
PDFAction action)
Return true if this ActionFactory can handle the specified PDFAction |
abstract void |
run(DocumentPanel panel,
PDFAction action)
Run the specified action |
String |
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 |
---|
public ActionHandler(String name)
name
- the name of this ViewerFeatureMethod Detail |
---|
public String toString()
toString
in class ViewerFeature
public abstract boolean matches(DocumentPanel panel, PDFAction action)
PDFAction
public abstract void run(DocumentPanel panel, PDFAction action)
panel
- the DocumentPanel running the actionaction
- the action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |