|
||||||||||
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.feature.AppleSupport
public class AppleSupport
This feature can be added to the viewer on Mac OS X for a more "Mac-like" interface. Some of the menu items will be moved around to match OS X interface guidelines, and rotate and swipe gestures can be used to rotate and switch between pages. Adding this class on a non-OS X system has no effect.
dockIcon | true or false , for setDockIcon(boolean) |
---|---|
moveMenus | true or false , for setMoveMenus(boolean) |
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 | |
---|---|
AppleSupport()
|
Method Summary | |
---|---|
void |
initialize(PDFViewer viewer)
Called when the feature is first added to a viewer |
void |
setDockIcon(boolean dockicon)
Set whether to set the dock icon. |
void |
setMoveMenus(boolean menus)
Set whether to move the menus from the application window to the System menu bar. |
Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature |
---|
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getFeatureURLProperty, getName, isEnabledByDefault, setFeatureName, teardown, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AppleSupport()
Method Detail |
---|
public void setMoveMenus(boolean menus)
menus
- whether to move the menus or notpublic void setDockIcon(boolean dockicon)
dockicon
- whether to customize the dock iconpublic void initialize(PDFViewer viewer)
ViewerFeature
initialize
in class ViewerFeature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |