Package | Description |
---|---|
org.faceless.pdf2 |
Contains the classes used to create a PDF document
|
org.faceless.pdf2.viewer2 |
The "viewer" package contains the classes required to create a Swing application to
display PDFs.
|
org.faceless.pdf2.viewer2.feature |
Contains a list of all the features that are available to the PDFViewer.
|
Modifier and Type | Method and Description |
---|---|
static PDFAction |
PDFAction.formImportData(String file)
Return a new
PDFAction which imports a Forms Data Format (FDF)
file into the document AcroForm, setting some or all of the forms values. |
static PDFAction |
PDFAction.formJavaScript(String javascript)
Return a new
PDFAction which executes a JavaScript action. |
static PDFAction |
PDFAction.formReset()
Return a new
PDFAction which resets the documents AcroForm,
setting every field to its default values. |
static PDFAction |
PDFAction.formSubmit(String url,
int method)
Return a new PDFAction which submits the documents AcroForm.
|
PDFAction |
AnnotationLink.getAction()
Return the action performed by this hyperlink
|
PDFAction |
PDFBookmark.getAction()
Get the action this bookmark performs when selected
|
PDFAction |
FormElement.getAction(Event event)
Get the action that's performed when the specified event takes place on this field.
|
PDFAction |
PDF.getAction(Event event)
Return the action that's performed when the specified event
occurs on the document, as set by
setAction . |
PDFAction |
PDFPage.getAction(Event type)
Get the action that's perform when this page is displayed.
|
PDFAction |
WidgetAnnotation.getAction(Event event)
Return the action that occurs when the specified event happens to
this annotation.
|
PDFAction |
PDFAction.getNext()
Return the action that's next in the chain after this one, or
null if no further actions are defined. |
static PDFAction |
PDFAction.goTo(PDFPage page)
Return a new PDFAction which jumps to the specified page in the
PDF document.
|
static PDFAction |
PDFAction.goTo(PDFPage page,
float x,
float y,
float zoom)
Return a new PDFAction which jumps to the specified page in the
PDF document, at the specified x, y and zoom level.
|
static PDFAction |
PDFAction.goToFit(PDFPage page)
Return a new PDFAction which jumps to the specified page in the PDF document.
|
static PDFAction |
PDFAction.goToFitHeight(PDFPage page,
float x)
Return a new PDFAction which jumps to the specified page in the PDF document.
|
static PDFAction |
PDFAction.goToFitRectangle(PDFPage page,
float x1,
float y1,
float x2,
float y2)
Return a new PDFAction which jumps to the specified page in the PDF document.
|
static PDFAction |
PDFAction.goToFitRemoteRectangle(String filename,
int pagenumber,
float left,
float bottom,
float width,
float height)
As for
goToFitRectangle(org.faceless.pdf2.PDFPage, float, float, float, float) , but returns a new PDFAction which moves to a page in another
PDF. |
static PDFAction |
PDFAction.goToFitWidth(PDFPage page,
float y)
Return a new PDFAction which jumps to the specified page in the PDF document.
|
static PDFAction |
PDFAction.goToRemote(String filename,
int pagenumber,
float x,
float y,
float zoom)
As for
goTo(org.faceless.pdf2.PDFPage) , but returns a new PDFAction which moves to a page in another
PDF. |
static PDFAction |
PDFAction.goToRemote(String filename,
int pagenumber,
float x,
float y,
float zoom,
String newwindow)
As for
goTo(org.faceless.pdf2.PDFPage) , but returns a new PDFAction which moves to a page in another
PDF. |
static PDFAction |
PDFAction.goToURL(String url)
Return a new PDFAction which jumps to the specified URL.
|
static PDFAction |
PDFAction.goToURL(URI uri,
boolean isImageMap)
Return a new PDFAction which jumps to the specified URI.
|
static PDFAction |
PDFAction.goToURL(URL url)
Return a new PDFAction which jumps to the specified URL.
|
static PDFAction |
PDFAction.goToURL(URL url,
boolean isImageMap)
Return a new PDFAction which jumps to the specified URL.
|
static PDFAction |
PDFAction.hideWidget(WidgetAnnotation annot)
Return a new PDFAction which hides the specified
WidgetAnnotation . |
static PDFAction |
PDFAction.launch(String filename,
String newwindow)
Create a "Launch" action.
|
static PDFAction |
PDFAction.named(String name)
Return a new PDFAction which runs the named action.
|
static PDFAction |
PDFAction.playSound(PDFSound s)
Return a new PDFAction which plays a
PDFSound when activated. |
static PDFAction |
PDFAction.playSound(PDFSound sound,
int volume,
boolean repeat,
boolean mix)
Return a new PDFAction which plays a
PDFSound when activated. |
static PDFAction |
PDFAction.showWidget(WidgetAnnotation annot)
Return a new PDFAction which makes the specified
WidgetAnnotation
visible on screen. |
Modifier and Type | Method and Description |
---|---|
Map<String,PDFAction> |
PDF.getNamedActions()
Return a Map containing all the named actions in the PDF.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFPage.beginTextLink(PDFAction action,
PDFStyle linkstyle)
Start a "link" section in the text.
|
void |
PDFPage.drawTextLink(String text,
float x,
float y,
PDFAction action)
Draw a line of text at a the specified position, and set it to
link to the specified action.
|
void |
FormElement.setAction(Event event,
PDFAction action)
Set the action to perform when the specified event takes place on this field.
|
void |
PDF.setAction(Event event,
PDFAction action)
Specify an action to perform when the specified event occurs on the document.
|
void |
PDFPage.setAction(Event event,
PDFAction action)
Set the action to perform when the specified event occurs.
|
void |
WidgetAnnotation.setAction(Event event,
PDFAction action)
Set an action to occur when the specified event happens to
this annotation.
|
void |
AnnotationLink.setAction(PDFAction action)
Set the action for this hyperlink
|
void |
PDFBookmark.setAction(PDFAction action)
Set the action this bookmark performs when selected
|
void |
PDFAction.setNext(PDFAction action)
The
setNext method allows you to create "chains" of actions
which are executed whenever the first entry in the chain is run. |
Constructor and Description |
---|
PDFBookmark(String name,
PDFAction action)
Create a new bookmark with an initial state of "closed".
|
PDFBookmark(String name,
PDFAction action,
boolean open)
Create a new bookmark and set the initial state to "open" or "closed"
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ActionHandler.matches(DocumentPanel panel,
PDFAction action)
Return true if this ActionFactory can handle the specified
PDFAction |
abstract void |
ActionHandler.run(DocumentPanel panel,
PDFAction action)
Run the specified action
|
boolean |
DocumentPanel.runAction(PDFAction action)
Run the specified action on the PDF.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FormImportDataActionHandler.matches(DocumentPanel panel,
PDFAction action) |
boolean |
FormResetActionHandler.matches(DocumentPanel panel,
PDFAction action) |
boolean |
FormSubmitActionHandler.matches(DocumentPanel panel,
PDFAction action) |
boolean |
GenericNamedActionHandler.matches(DocumentPanel panel,
PDFAction action) |
boolean |
GoToActionHandler.matches(DocumentPanel panel,
PDFAction action) |
boolean |
ShowHideActionHandler.matches(DocumentPanel panel,
PDFAction action) |
boolean |
SoundActionHandler.matches(DocumentPanel panel,
PDFAction action) |
boolean |
URLActionHandler.matches(DocumentPanel panel,
PDFAction action) |
void |
FormImportDataActionHandler.run(DocumentPanel docpanel,
PDFAction action) |
void |
FormResetActionHandler.run(DocumentPanel docpanel,
PDFAction action) |
void |
FormSubmitActionHandler.run(DocumentPanel docpanel,
PDFAction action) |
void |
GenericNamedActionHandler.run(DocumentPanel docpanel,
PDFAction action) |
void |
GoToActionHandler.run(DocumentPanel docpanel,
PDFAction action) |
void |
ShowHideActionHandler.run(DocumentPanel docpanel,
PDFAction action) |
void |
SoundActionHandler.run(DocumentPanel docpanel,
PDFAction action) |
void |
URLActionHandler.run(DocumentPanel panel,
PDFAction action) |
Copyright © 2001-2017 Big Faceless Organization