Foxit PDF SDK
9.1
|
Classes | |
interface | OnPanelEventListener |
Public Member Functions | |
PanelHost | getPanelHost () |
void | showPanel () |
void | showPanel (int panelType) |
boolean | isShowingPanel () |
void | hidePanel () |
void | addPanel (PanelSpec panelSpec) |
void | addPanel (int index, PanelSpec panelSpec) |
void | removePanel (PanelSpec panelSpec) |
void | removePanel (int panelType) |
void | registerPanelEventListener (OnPanelEventListener listener) |
void | unregisterPanelEventListener (OnPanelEventListener listener) |
The interface to handle the creation, display, hiding, layout, and interaction of panels.
void com.foxit.uiextensions.modules.panel.IPanelManager.addPanel | ( | int | index, |
PanelSpec | panelSpec | ||
) |
Adds a child panel view. If the panel typePanelSpec#getPanelType() already exists, will not be added again. referencePanelSpec#BOOKMARKS
index | the position at which to add the child |
panelSpec | the child panel to add |
void com.foxit.uiextensions.modules.panel.IPanelManager.addPanel | ( | PanelSpec | panelSpec | ) |
Adds a child panel view. If the panel typePanelSpec#getPanelType() already exists, will not be added again. referencePanelSpec#BOOKMARKS
panelSpec | the child panel to add |
PanelHost com.foxit.uiextensions.modules.panel.IPanelManager.getPanelHost | ( | ) |
Get the panel host
void com.foxit.uiextensions.modules.panel.IPanelManager.hidePanel | ( | ) |
Dismiss the panel and its window.
boolean com.foxit.uiextensions.modules.panel.IPanelManager.isShowingPanel | ( | ) |
void com.foxit.uiextensions.modules.panel.IPanelManager.registerPanelEventListener | ( | OnPanelEventListener | listener | ) |
Adds the specified listener to the list of listeners that will be notified of panel events.
listener | Listener to notify when panel events occur. |
void com.foxit.uiextensions.modules.panel.IPanelManager.removePanel | ( | int | panelType | ) |
Remove the child panel view at the specified position in the group.
panelType | the position in the group of the panel to remove |
void com.foxit.uiextensions.modules.panel.IPanelManager.removePanel | ( | PanelSpec | panelSpec | ) |
Remove the child panel view.
panelSpec | the child panel view. |
void com.foxit.uiextensions.modules.panel.IPanelManager.showPanel | ( | ) |
Display the default or the current panel window.
void com.foxit.uiextensions.modules.panel.IPanelManager.showPanel | ( | int | panelType | ) |
Display the panel window by the specified panel type.
panelType | The panel type, start with PanelSpec#BOOKMARKS, |
void com.foxit.uiextensions.modules.panel.IPanelManager.unregisterPanelEventListener | ( | OnPanelEventListener | listener | ) |
Removes the specified listener from the list of listeners that will be notified of panel events.
listener | Listener to remove from being notified of panel events |