org.faceless.pdf2.viewer2.feature
Class URLActionHandler
java.lang.Object
org.faceless.pdf2.viewer2.ViewerFeature
org.faceless.pdf2.viewer2.ActionHandler
org.faceless.pdf2.viewer2.feature.URLActionHandler
public class URLActionHandler
- extends ActionHandler
Create an action handler for "URL" actions, which will attempt to open a URL in the system web
browser.
The name of this feature is URLActionHandler
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.11.1 (from 2.8 to 2.11 this was called URLActionHandler as it worked for applets only)
URLActionHandler
public URLActionHandler()
- Return a new URLActionHandler
- Since:
- 2.11
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 actionaction
- the action
Copyright © 2001-2013 Big Faceless Organization