Classes | |
interface | ICloseDefaultPanelCallback |
Public Member Functions | |
void | addSpec (PanelSpec spec) |
View | getContentView () |
PanelSpec | getCurrentSpec () |
PanelSpec | getSpec (PanelSpec.PanelType panelType) |
void | removeSpec (PanelSpec spec) |
void | setCurrentSpec (PanelSpec.PanelType panelType) |
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 | ( | PanelSpec | spec | ) |
Add a specified PanelSpec to the PanelHost.
spec | The specified PanelSpec. |
View 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 | ( | PanelSpec.PanelType | panelType | ) |
Get the PanelSpec by the specified com.foxit.uiextensions.controls.panel.PanelSpec.PanelType
panelType | he specified PanelType. |
void com.foxit.uiextensions.controls.panel.PanelHost.removeSpec | ( | PanelSpec | spec | ) |
Remove the specified PanelSpec from the PanelHost.
spec | The specified PanelSpec. |
void com.foxit.uiextensions.controls.panel.PanelHost.setCurrentSpec | ( | PanelSpec.PanelType | panelType | ) |
Set a PanelSpec by the specified com.foxit.uiextensions.controls.panel.PanelSpec.PanelType as the current PanelSpec.
panelType | The specified PanelType. |