| Modifier and Type | Field and Description |
|---|---|
static boolean |
alwaysShowMouse |
static int |
BUTTONBAR |
static boolean |
deletePropertiesOnExit |
static Integer |
MULTIPAGE
flag used to show opening of multiple PDFs
|
static int |
NAVBAR |
static int |
PAGES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowScrolling()
show if user has set auto-scrolling on or off - if on moves at edge of
panel to show more
|
void |
alterProperty(String value,
boolean show) |
boolean |
confirmClose()
show is user has set the option to have exit confirmed with a dialog
|
void |
decodePage() |
void |
dispose() |
void |
enableCursor(boolean enabled,
boolean visible) |
void |
enableDownloadBar(boolean enabled,
boolean visible) |
void |
enableMemoryBar(boolean enabled,
boolean visible) |
void |
enableNavigationBar(boolean enabled,
boolean visible) |
void |
enablePageCounter(GUI.PageCounter value,
boolean enabled,
boolean visibility) |
void |
enableSearchItems(boolean enabled)
Method to enable / disable search options on the toolbar.
|
void |
enableStatusBar(boolean enabled,
boolean visible) |
GUIAnnotationPanel |
getAnnotationPanel() |
String |
getBookmark(String bookmark) |
GUIButtons |
getButtons() |
GUICombo |
getCombo(int ID)
return comboBox or nul if not (QUALITY, SCALING or ROTATION
|
Commands |
getCommand()
access to command object
|
Object |
getDisplayPane() |
double |
getDividerLocation() |
int |
getDropShadowDepth() |
Object |
getFrame()
allow access to root frame if required
|
Object |
getGlassPane() |
SwingCursor |
getGUICursor() |
Map |
getHotspots() |
GUIMenuItems |
getMenuItems() |
Object |
getMultiViewerFrames() |
Object |
getOutlinePanel() |
Object |
getPageContainer() |
Object |
getPageCounter(GUI.PageCounter value) |
String |
getPageLabel(int pageNumber) |
boolean |
getPageTurnScalingAppropriate() |
PaperSizes |
getPaperSizes() |
PdfDecoderInt |
getPdfDecoder() |
PropertiesFile |
getProperties()
This method returns the object that stores and handles the various preferences for the viewer.
|
String |
getPropertiesFileLocation() |
RecentDocumentsFactory |
getRecentDocument() |
int |
getRotation()
get current rotation
|
float |
getScaling()
get current scaling
|
int |
getSidebarTabCount() |
String |
getSidebarTabTitleAt(int pos) |
Object |
getSideTabBar() |
int |
getSplitDividerLocation() |
double |
getStartSize() |
Object |
getStatusBar() |
Object |
getThumbnailPanel() |
Object |
getThumbnailScrollBar() |
String |
getTitles(String title) |
Enum |
getType() |
Values |
getValues() |
Object |
getVerticalScrollBar() |
void |
init(Commands currentCommands)
main method to initialise Swing specific code and create GUI display
|
boolean |
isCommandInThread() |
boolean |
isExecutingCommand() |
boolean |
isSingle() |
void |
open(String fileName) |
void |
openFile(String fileToOpen) |
PdfDecoderInt |
openNewMultiplePage(String selectedFile,
Values commonValues) |
Object |
printDialog(String[] printersList,
String defaultPrinter) |
void |
reinitialiseTabs(boolean showVisible) |
void |
reinitThumbnails() |
void |
removePageListener() |
void |
removeSearchWindow(boolean justHide) |
void |
removeSidebarTabAt(int pos) |
void |
rescanPdfLayers() |
void |
resetComboBoxes(boolean value)
set all 3 combo boxes to isEnabled(value)
|
void |
resetNavBar() |
void |
resetPageNav() |
void |
resetRotationBox()
align rotation combo box to default for page
|
void |
resetStatusMessage(String message) |
void |
rotate()
read value from rotation box and apply - called by combo listener
|
void |
scaleAndRotate()
zoom into page
|
float |
scaleToVisible(float left,
float right,
float top,
float bottom) |
void |
scrollToPage(int page) |
void |
searchInTab(GUISearchWindow searchFrame) |
void |
setAutoScrolling(boolean autoScroll) |
void |
setBookmarks(boolean alwaysGenerate) |
void |
setCommandInThread(boolean b) |
void |
setCoordText(String string)
set text displayed in cursor co-ordinates box
|
void |
setDisplayMode(Integer mode) |
void |
setDisplayView(int SINGLE_PAGE,
int DISPLAY_CENTERED) |
void |
setDownloadProgress(String message,
int percentage) |
void |
setExecutingCommand(boolean b) |
void |
setMultibox(int[] flags) |
void |
setNoPagesDecoded()
flush list of pages decoded
|
void |
setPage(int newPage) |
void |
setPageCounterText(GUI.PageCounter value,
String text) |
void |
setPageNumber()
set page number at bottom of screen
|
void |
setPannable(boolean pan) |
void |
setPropertiesFileLocation(String file) |
void |
setRecentDocument() |
void |
setResults(GUISearchList results) |
void |
setRootContainer(Object rawValue) |
void |
setRotationFromExternal(int rotation) |
void |
setScalingFromExternal(String scale) |
void |
setScrollBarPolicy(GUI.ScrollPolicy pol) |
void |
setSearchFrame(GUISearchWindow searchFrame) |
void |
setSearchText(Object searchText) |
void |
setStartSize(int size) |
void |
setStatusProgress(int size)
set current status value 0 -100
|
void |
setTabsNotInitialised(boolean b) |
void |
setThumbnailScrollBarValue(int pageNum) |
void |
setThumbnailScrollBarVisibility(boolean v) |
void |
setupSplitPaneDivider(int size,
boolean visibility) |
void |
setupThumbnailPanel() |
void |
setViewerTitle(String title)
set title or over-ride with message
|
int |
showConfirmDialog(Object message,
String title,
int optionType,
int messageType) |
int |
showConfirmDialog(String message,
String message2,
int option) |
void |
showFirstTimePopup() |
String |
showInputDialog(Object message,
String title,
int type) |
String |
showInputDialog(String message) |
void |
showMessageDialog(Object info) |
int |
showMessageDialog(Object message1,
Object[] options,
int selectedChoice) |
void |
showMessageDialog(Object message,
String title,
int type) |
void |
showMessageDialog(String message1) |
int |
showOverwriteDialog(String file,
boolean yesToAllPresent) |
void |
snapScalingToDefaults(float newScaling) |
void |
stopThumbnails() |
void |
toogleAutoScrolling()
toggle state of autoscrolling on/off
|
void |
triggerPageTurnAnimation(PdfDecoderInt decode_pdf,
Values commonValues,
int updatedTotal,
boolean rightTurn) |
void |
updateStatusMessage(String message)
message to show in status object
|
void |
updateTextBoxSize() |
static final int BUTTONBAR
static final int NAVBAR
static final int PAGES
static final boolean deletePropertiesOnExit
static final boolean alwaysShowMouse
static final Integer MULTIPAGE
Commands getCommand()
void resetRotationBox()
void init(Commands currentCommands)
void setViewerTitle(String title)
void resetComboBoxes(boolean value)
void scaleAndRotate()
int getRotation()
float getScaling()
void rotate()
void toogleAutoScrolling()
void setupThumbnailPanel()
void setAutoScrolling(boolean autoScroll)
void setNoPagesDecoded()
void setCoordText(String string)
void setPageNumber()
Object getFrame()
void resetNavBar()
void showMessageDialog(String message1)
void showMessageDialog(Object info)
int showOverwriteDialog(String file, boolean yesToAllPresent)
void showFirstTimePopup()
int showConfirmDialog(Object message, String title, int optionType, int messageType)
boolean allowScrolling()
boolean confirmClose()
void updateStatusMessage(String message)
void resetStatusMessage(String message)
void setStatusProgress(int size)
void setPage(int newPage)
Enum getType()
Object getMultiViewerFrames()
void setBookmarks(boolean alwaysGenerate)
void alterProperty(String value, boolean show)
SwingCursor getGUICursor()
void setRotationFromExternal(int rotation)
void setResults(GUISearchList results)
void setMultibox(int[] flags)
PropertiesFile getProperties()
void snapScalingToDefaults(float newScaling)
Object getVerticalScrollBar()
String getPropertiesFileLocation()
boolean isSingle()
Object getPageContainer()
PaperSizes getPaperSizes()
void setPropertiesFileLocation(String file)
GUICombo getCombo(int ID)
ID - void enableSearchItems(boolean enabled)
Object getDisplayPane()
void reinitialiseTabs(boolean showVisible)
void scrollToPage(int page)
Object getStatusBar()
void setTabsNotInitialised(boolean b)
void setScalingFromExternal(String scale)
boolean getPageTurnScalingAppropriate()
void resetPageNav()
void removeSearchWindow(boolean justHide)
Map getHotspots()
void setSearchText(Object searchText)
void stopThumbnails()
Object getThumbnailPanel()
Object getOutlinePanel()
void setDownloadProgress(String message, int percentage)
void reinitThumbnails()
Object getThumbnailScrollBar()
void setThumbnailScrollBarVisibility(boolean v)
void setThumbnailScrollBarValue(int pageNum)
Object getSideTabBar()
int getSplitDividerLocation()
void dispose()
void rescanPdfLayers()
void setRootContainer(Object rawValue)
void setSearchFrame(GUISearchWindow searchFrame)
void searchInTab(GUISearchWindow searchFrame)
void setDisplayMode(Integer mode)
boolean isCommandInThread()
void setCommandInThread(boolean b)
b - assigns commandInThread to bboolean isExecutingCommand()
void setExecutingCommand(boolean b)
b - assigns executingCommand to bPdfDecoderInt getPdfDecoder()
GUIButtons getButtons()
Values getValues()
void setScrollBarPolicy(GUI.ScrollPolicy pol)
GUIMenuItems getMenuItems()
void decodePage()
RecentDocumentsFactory getRecentDocument()
void setRecentDocument()
void openFile(String fileToOpen)
void open(String fileName)
void enablePageCounter(GUI.PageCounter value, boolean enabled, boolean visibility)
void setPageCounterText(GUI.PageCounter value, String text)
Object getPageCounter(GUI.PageCounter value)
void updateTextBoxSize()
void enableStatusBar(boolean enabled,
boolean visible)
void enableCursor(boolean enabled,
boolean visible)
void enableMemoryBar(boolean enabled,
boolean visible)
void enableNavigationBar(boolean enabled,
boolean visible)
void enableDownloadBar(boolean enabled,
boolean visible)
int getSidebarTabCount()
String getSidebarTabTitleAt(int pos)
void removeSidebarTabAt(int pos)
double getDividerLocation()
float scaleToVisible(float left,
float right,
float top,
float bottom)
int getDropShadowDepth()
void setPannable(boolean pan)
void setupSplitPaneDivider(int size,
boolean visibility)
double getStartSize()
void setStartSize(int size)
void setDisplayView(int SINGLE_PAGE,
int DISPLAY_CENTERED)
void removePageListener()
PdfDecoderInt openNewMultiplePage(String selectedFile, Values commonValues)
void triggerPageTurnAnimation(PdfDecoderInt decode_pdf, Values commonValues, int updatedTotal, boolean rightTurn)
String getPageLabel(int pageNumber)
GUIAnnotationPanel getAnnotationPanel()
Object getGlassPane()
Copyright © 2017. All rights reserved.