|
Foxit PDF SDK
9.1
|
Classes | |
| interface | ICloseDefaultPanelCallback |
Public Member Functions | |
| ViewGroup | getContentView () |
| void | addSpec (PanelSpec spec) |
| void | addSpec (int index, PanelSpec spec) |
| void | removeSpec (PanelSpec spec) |
| void | removeSpec (int panelType) |
| int | indexOf (PanelSpec spec) |
| void | setCurrentSpec (int panelType) |
| PanelSpec | getCurrentSpec () |
| PanelSpec | getSpec (int panelType) |
| void | setTabVisibility (boolean visible) |
The interface that defines information for Panel container, thc container include topbar,tabbar and panel content.
Through this interface you can add/remove/get/set panel via PanelSpec
| void com.foxit.uiextensions.controls.panel.PanelHost.addSpec | ( | int | index, |
| PanelSpec | spec | ||
| ) |
Adds a panel view. If the panel typePanelSpec#getPanelType() already exists, will not be added again. referencePanelSpec#BOOKMARKS
| index | the position at which to add the panel |
| spec | the panel to add |
| void com.foxit.uiextensions.controls.panel.PanelHost.addSpec | ( | PanelSpec | spec | ) |
Add a specified PanelSpec panelto the PanelHost.
| spec | The specified PanelSpec. |
| ViewGroup com.foxit.uiextensions.controls.panel.PanelHost.getContentView | ( | ) |
Retrieve the View attached to this PanelHost, if present.
| PanelSpec com.foxit.uiextensions.controls.panel.PanelHost.getCurrentSpec | ( | ) |
| PanelSpec com.foxit.uiextensions.controls.panel.PanelHost.getSpec | ( | int | panelType | ) |
Get the PanelSpec by the panel type start with PanelSpec#BOOKMARKS
| panelType | he specified panel type. |
| int com.foxit.uiextensions.controls.panel.PanelHost.indexOf | ( | PanelSpec | spec | ) |
Returns the position in the group of the specified panel.
| spec | the panel for which to get the position |
| void com.foxit.uiextensions.controls.panel.PanelHost.removeSpec | ( | int | panelType | ) |
Remove the specified PanelSpec panel type from the PanelHost.
| panelType | the panel type PanelSpec#BOOKMARKS |
| void com.foxit.uiextensions.controls.panel.PanelHost.removeSpec | ( | PanelSpec | spec | ) |
Remove the specified PanelSpec panel from the PanelHost.
| spec | The specified PanelSpec. |
| void com.foxit.uiextensions.controls.panel.PanelHost.setCurrentSpec | ( | int | panelType | ) |
Set a panel type start withPanelSpec#BOOKMARKS as the current PanelSpec.
| panelType | The specified PanelType. |
| void com.foxit.uiextensions.controls.panel.PanelHost.setTabVisibility | ( | boolean | visible | ) |
Set whether the panel title bar is displayed
| visible | true means show the panel title bar |