|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.examples.simpleviewer.gui.GUI
public class GUI
any shared GUI code - generic and AWT
| Field Summary | |
|---|---|
GUIButton |
back
nav buttons - global so accessible to ContentExtractor |
GUIButton |
continuousButton
|
GUIButton |
continuousFacingButton
|
int |
cropH
|
int |
cropW
|
int |
cropX
|
int |
cropY
|
GUIButton |
end
nav buttons - global so accessible to ContentExtractor |
GUIButton |
facingButton
|
GUIButton |
fback
nav buttons - global so accessible to ContentExtractor |
GUIButton |
fforward
nav buttons - global so accessible to ContentExtractor |
GUIButton |
first
nav buttons - global so accessible to ContentExtractor |
GUIButton |
forward
nav buttons - global so accessible to ContentExtractor |
int |
mediaH
|
int |
mediaW
|
GUIButton |
singleButton
|
| Constructor Summary | |
|---|---|
GUI()
|
|
| Method Summary | |
|---|---|
boolean |
allowScrolling()
|
void |
createUniqueAnnotationIcons()
example code which sets up an individual icon for each annotation to display - only use if you require each annotation to have its own icon |
java.lang.String[] |
getAnnotTypes()
|
int |
getPDFDisplayInset()
|
PropertiesFile |
getProperties()
|
java.lang.String |
getPropertiesFileLocation()
|
java.awt.Rectangle |
getRectangle()
|
int |
getRotation()
|
float |
getScaling()
|
boolean |
isUseDownloadWindow()
|
void |
setAutoScrolling(boolean allowScrolling)
|
void |
setDpi(int dpi)
|
void |
setHiResPrinting(boolean hiResPrinting)
|
void |
setNoPagesDecoded()
|
void |
setPreferences(int dpi,
int search,
int border,
boolean scroll,
int pageMode,
boolean updateDefaultValue,
int maxNoOfMultiViewers,
boolean showDownloadWindow,
boolean useHiResPrinting)
|
void |
setProperties(java.lang.String item,
boolean value)
|
void |
setPropertiesFileLocation(java.lang.String file)
|
void |
setRectangle(java.awt.Rectangle newRect)
|
void |
setScaling(float s)
|
void |
setUseDownloadWindow(boolean useDownloadWindow)
|
void |
toogleAutoScrolling()
|
boolean |
useHiResPrinting()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public GUIButton first
public GUIButton fback
public GUIButton back
public GUIButton forward
public GUIButton fforward
public GUIButton end
public GUIButton singleButton
public GUIButton continuousButton
public GUIButton continuousFacingButton
public GUIButton facingButton
public int cropX
public int cropW
public int cropH
public int mediaW
public int cropY
public int mediaH
| Constructor Detail |
|---|
public GUI()
| Method Detail |
|---|
public boolean useHiResPrinting()
public void setHiResPrinting(boolean hiResPrinting)
public java.lang.String getPropertiesFileLocation()
public void setPropertiesFileLocation(java.lang.String file)
public void setProperties(java.lang.String item,
boolean value)
public void setPreferences(int dpi,
int search,
int border,
boolean scroll,
int pageMode,
boolean updateDefaultValue,
int maxNoOfMultiViewers,
boolean showDownloadWindow,
boolean useHiResPrinting)
public boolean allowScrolling()
public java.lang.String[] getAnnotTypes()
public void setNoPagesDecoded()
public void setRectangle(java.awt.Rectangle newRect)
public java.awt.Rectangle getRectangle()
public void setAutoScrolling(boolean allowScrolling)
public void toogleAutoScrolling()
public int getRotation()
public float getScaling()
public void setScaling(float s)
public int getPDFDisplayInset()
public void createUniqueAnnotationIcons()
To use this you ideally need to parse the annotations first -there is a method allowing you to extract just the annotations from the data.
public void setDpi(int dpi)
public boolean isUseDownloadWindow()
public void setUseDownloadWindow(boolean useDownloadWindow)
public PropertiesFile getProperties()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||