|
||||||||||
| 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.ViewerWidget
org.faceless.pdf2.viewer2.feature.About
public class About
Create a simple "About" dialog displaying information about the PDFViewer and the runtime environment. The name of this feature is "About"
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 | |
|---|---|
|
About()
|
protected |
About(String title)
|
| Method Summary | |
|---|---|
void |
action(ViewerEvent event)
The method that's run when this feature is activated |
Object |
putProperty(String key,
Object property)
Add a property to the "About" dialog. |
static Object |
putStaticProperty(String key,
Object property)
Add a property to the "About" dialog. |
void |
showAboutDialog(PDFViewer viewer,
boolean featurelist,
int autoclear)
Show an "About" dialog in the viewer. |
| Methods inherited from class org.faceless.pdf2.viewer2.ViewerWidget |
|---|
getComponent, getViewer, initialize, setButton, setComponent, setDocumentRequired, setMenu, setMenu, setToolBarEnabled, setToolBarEnabledAlways, setToolBarFloatable, setToolBarFloating, toString |
| Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature |
|---|
getAllFeatures, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public About()
protected About(String title)
| Method Detail |
|---|
public void action(ViewerEvent event)
ViewerWidget
action in class ViewerWidget
public static Object putStaticProperty(String key,
Object property)
| Icon | The URL of the Icon to display in the dialog |
|---|---|
| Title | The Title displayed in the dialog |
| Main | The main line of text |
| PDF Viewer | The version of the PDF Viewer software |
| Java | The version of Java being run |
| JavaScript | The JavaScript implementation availabe to the Viewer |
null to
suppress their display.
public Object putProperty(String key,
Object property)
putStaticProperty(java.lang.String, java.lang.Object)
method.
public void showAboutDialog(PDFViewer viewer,
boolean featurelist,
int autoclear)
viewer - the Viewer this about dialog relates tofeaturelist - whether to display the list of Features available to the viewerautoclear - the number of ms to wait before clearing the dialog. A value of 0 means
the dialog must be clicked to close.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||