|
||||||||||
| 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
org.faceless.pdf2.viewer2.feature.GenericNamedActionHandler
public class GenericNamedActionHandler
Create an action handler to handle "Named" actions. Unlike most of the ActionHandler
features, this one will only work inside a PDFViewer - applying it to a
standalone DocumentPanel won't work. In addition this is intended as a generic
fallback handler, and so should always be added after any more specific handlers.
The name of this feature is "GenericNamedActionHandler".
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.
| Method Summary | |
|---|---|
static GenericNamedActionHandler |
getInstance()
Return the GenericNamedActionHandler |
boolean |
matches(DocumentPanel panel,
PDFAction action)
Return true if this ActionFactory can handle the specified PDFAction |
void |
run(DocumentPanel docpanel,
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 |
|---|
getAllFeatures, getName, initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static GenericNamedActionHandler getInstance()
public boolean matches(DocumentPanel panel,
PDFAction action)
ActionHandlerPDFAction
matches in class ActionHandler
public void run(DocumentPanel docpanel,
PDFAction action)
ActionHandler
run in class ActionHandlerdocpanel - the DocumentPanel running the actionaction - the action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||