com.foxit.uiextensions.modules.panel.IPanelManager Interface Reference

Classes

interface  OnShowPanelListener
 

Public Member Functions

PanelHost getPanel ()
 
PopupWindow getPanelWindow ()
 
void hidePanel ()
 
void setOnShowPanelListener (OnShowPanelListener listener)
 
void showPanel ()
 
void showPanel (PanelSpec.PanelType panelType)
 
void updatePanel ()
 

Detailed Description

Through this interface you can control the show/hide of the panel and other related operations.

Member Function Documentation

◆ getPanel()

PanelHost com.foxit.uiextensions.modules.panel.IPanelManager.getPanel ( )

Get the panel host

Returns
The panel host

◆ getPanelWindow()

PopupWindow com.foxit.uiextensions.modules.panel.IPanelManager.getPanelWindow ( )

Get the panel window

Returns
The panel window

◆ hidePanel()

void com.foxit.uiextensions.modules.panel.IPanelManager.hidePanel ( )

Dismiss the panel and its window.

◆ setOnShowPanelListener()

void com.foxit.uiextensions.modules.panel.IPanelManager.setOnShowPanelListener ( OnShowPanelListener  listener)

Set a panel listener to be invoked when the panel is shown.

Parameters
listenerThe OnShowPanelListener to use.

◆ showPanel() [1/2]

void com.foxit.uiextensions.modules.panel.IPanelManager.showPanel ( )

Display the default or the current panel window.

◆ showPanel() [2/2]

void com.foxit.uiextensions.modules.panel.IPanelManager.showPanel ( PanelSpec.PanelType  panelType)

Display the panel window by the specified panel type.

Parameters
panelTypeThe panel type, should one of PanelSpec.PanelType#ReadingBookmarks, PanelSpec.PanelType#Outline, PanelSpec.PanelType#Annotations PanelSpec.PanelType#Attachments

◆ updatePanel()

void com.foxit.uiextensions.modules.panel.IPanelManager.updatePanel ( )

Update the panel window