org.faceless.pdf2.viewer2.feature
Class AppleSupport

java.lang.Object
  extended by org.faceless.pdf2.viewer2.ViewerFeature
      extended by org.faceless.pdf2.viewer2.feature.AppleSupport

public class AppleSupport
extends ViewerFeature

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.

The following initialization parameters can be specified to configure this feature.
dockIcontrue or false, for setDockIcon(boolean)
moveMenustrue or false, for setMoveMenus(boolean)
The name of this feature is AppleSupport

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

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

AppleSupport

public AppleSupport()
Method Detail

setMoveMenus

public void setMoveMenus(boolean menus)
Set whether to move the menus from the application window to the System menu bar.

Parameters:
menus - whether to move the menus or not
Since:
2.11.6

setDockIcon

public void setDockIcon(boolean dockicon)
Set whether to set the dock icon. The default is true.

Parameters:
dockicon - whether to customize the dock icon
Since:
2.11.6

initialize

public void initialize(PDFViewer viewer)
Description copied from class: ViewerFeature
Called when the feature is first added to a viewer

Overrides:
initialize in class ViewerFeature


Copyright © 2001-2010 Big Faceless Organization