Foxit PDF SDK
9.1
|
Public Member Functions | |
Activity | getAttachedActivity () |
void | setAttachedActivity (Activity act) |
Context | getContext () |
RelativeLayout | getContentView () |
void | showToolbars () |
void | hideToolbars () |
boolean | isToolbarsVisible () |
BaseBar | getTopToolbar () |
BaseBar | getBottomToolbar () |
void | enableTopToolbar (boolean isEnabled) |
void | enableBottomToolbar (boolean isEnabled) |
boolean | isShowTopToolbar () |
boolean | isShowBottomToolbar () |
BaseBar | getCustomTopbar () |
BaseBar | getCustomBottombar () |
IPanelManager | getPanelManager () |
IViewSettingsWindow | getSettingWindow () |
void | hideSettingWindow () |
ViewGroup | getTopActionView () |
void | setToolBarPosition (@UIDragToolBar.ToolbarPos int position) |
.ToolbarPos int | getToolBarPosition () |
int | getCurrentTab () |
void | setCurrentTab (int tabType) |
void | removeTab (int tabType) |
void | enableSmallTopToolbar (boolean isEnabled) |
void | enableSmallBottomToolbar (boolean isEnabled) |
boolean | isSmallTopToolbarEnabled () |
boolean | isSmallBottomToolbarEnabled () |
Interface definition for main frame of the complete pdf reader. It provides an entrance to access the UI of reader. For example, getTopToolbar/getBottomToolbar will provide caller the interface for top bar and bottom bar of pdf view control. The SDK user is able to modify or customize the reader UI through these interfaces.
void com.foxit.uiextensions.pdfreader.IMainFrame.enableBottomToolbar | ( | boolean | isEnabled | ) |
isEnabled | If set false, the bottom toolbar will be hidden, true otherwise. |
void com.foxit.uiextensions.pdfreader.IMainFrame.enableSmallBottomToolbar | ( | boolean | isEnabled | ) |
Enable or disable small bottom toolbar.
isEnabled | Whether small bottom toolbar is enabled or not. |
void com.foxit.uiextensions.pdfreader.IMainFrame.enableSmallTopToolbar | ( | boolean | isEnabled | ) |
Enable or disable small top toolbar.
isEnabled | Whether small top toolbar is enabled or not. |
void com.foxit.uiextensions.pdfreader.IMainFrame.enableTopToolbar | ( | boolean | isEnabled | ) |
isEnabled | If set false, the top toolbar will be hidden, true otherwise. |
Activity com.foxit.uiextensions.pdfreader.IMainFrame.getAttachedActivity | ( | ) |
BaseBar com.foxit.uiextensions.pdfreader.IMainFrame.getBottomToolbar | ( | ) |
RelativeLayout com.foxit.uiextensions.pdfreader.IMainFrame.getContentView | ( | ) |
Context com.foxit.uiextensions.pdfreader.IMainFrame.getContext | ( | ) |
int com.foxit.uiextensions.pdfreader.IMainFrame.getCurrentTab | ( | ) |
BaseBar com.foxit.uiextensions.pdfreader.IMainFrame.getCustomBottombar | ( | ) |
BaseBar com.foxit.uiextensions.pdfreader.IMainFrame.getCustomTopbar | ( | ) |
IPanelManager com.foxit.uiextensions.pdfreader.IMainFrame.getPanelManager | ( | ) |
IViewSettingsWindow com.foxit.uiextensions.pdfreader.IMainFrame.getSettingWindow | ( | ) |
.ToolbarPos int com.foxit.uiextensions.pdfreader.IMainFrame.getToolBarPosition | ( | ) |
Get the position of the toolbar.
ViewGroup com.foxit.uiextensions.pdfreader.IMainFrame.getTopActionView | ( | ) |
BaseBar com.foxit.uiextensions.pdfreader.IMainFrame.getTopToolbar | ( | ) |
void com.foxit.uiextensions.pdfreader.IMainFrame.hideSettingWindow | ( | ) |
Hide the settings window.
void com.foxit.uiextensions.pdfreader.IMainFrame.hideToolbars | ( | ) |
Hide the tool bars, enter the full screen mode
boolean com.foxit.uiextensions.pdfreader.IMainFrame.isShowBottomToolbar | ( | ) |
boolean com.foxit.uiextensions.pdfreader.IMainFrame.isShowTopToolbar | ( | ) |
boolean com.foxit.uiextensions.pdfreader.IMainFrame.isSmallBottomToolbarEnabled | ( | ) |
Returns the enabled status for the small bottom toolbar
boolean com.foxit.uiextensions.pdfreader.IMainFrame.isSmallTopToolbarEnabled | ( | ) |
Returns the enabled status for the small top toolbar
boolean com.foxit.uiextensions.pdfreader.IMainFrame.isToolbarsVisible | ( | ) |
void com.foxit.uiextensions.pdfreader.IMainFrame.removeTab | ( | int | tabType | ) |
Remove the tab in the center of the topbar and its sub-toolbar
Note:Removing the tab of the topbar will not affect the full screen toolbar
tabType | Please refer to values starting from ToolbarItemConfig#ITEM_HOME_TAB |
void com.foxit.uiextensions.pdfreader.IMainFrame.setAttachedActivity | ( | Activity | act | ) |
void com.foxit.uiextensions.pdfreader.IMainFrame.setCurrentTab | ( | int | tabType | ) |
tabType | ToolbarItemConfig#ITEM_HOME_TAB |
void com.foxit.uiextensions.pdfreader.IMainFrame.setToolBarPosition | ( | @UIDragToolBar.ToolbarPos int | position | ) |
Set the toolbar position, Currently supported locations can refer to UIDragToolBar.ToolbarPos.
position | The position of toolbar. UIDragToolBar.ToolbarPos |
void com.foxit.uiextensions.pdfreader.IMainFrame.showToolbars | ( | ) |
Show th tool bars, exit full screen mode