org.icepdf.core.pobjects
Class ViewerPreferences
java.lang.Object
org.icepdf.core.pobjects.Dictionary
org.icepdf.core.pobjects.ViewerPreferences
public class ViewerPreferences
- extends Dictionary
The ViewerPreferences class is used to represent and provide access to the
ViewerPreference keys and values from the PDF Specification, such as HideToolbar
| Methods inherited from class org.icepdf.core.pobjects.Dictionary |
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ViewerPreferences
public ViewerPreferences(Library l,
java.util.HashMap h)
- Creates a new instance of a NameTree.
- Parameters:
l - document library.h - NameTree dictionary entries.
init
public void init()
- Initiate the NameTree.
- Overrides:
init in class Dictionary
getRoot
public NameNode getRoot()
hasHideToolbar
public boolean hasHideToolbar()
hasHideMenubar
public boolean hasHideMenubar()
hasFitWindow
public boolean hasFitWindow()
getHideToolbar
public boolean getHideToolbar()
getHideMenubar
public boolean getHideMenubar()
getFitWindow
public boolean getFitWindow()