com.foxit.uiextensions.controls.panel.PanelSpec Interface Reference

Classes

enum  PanelType
 

Public Member Functions

View getContentView ()
 
int getIcon ()
 
PanelType getPanelType ()
 
View getTopToolbar ()
 
void onActivated ()
 
void onDeactivated ()
 

Detailed Description

The interface defines the specific content of the panel.

Through this interface, you can set the tab icon, top bar, panel content, etc. of the panel.

Member Function Documentation

◆ getContentView()

View com.foxit.uiextensions.controls.panel.PanelSpec.getContentView ( )
Returns
the content view of the panel

◆ getIcon()

int com.foxit.uiextensions.controls.panel.PanelSpec.getIcon ( )
Returns
the panel tab icon

◆ getPanelType()

PanelType com.foxit.uiextensions.controls.panel.PanelSpec.getPanelType ( )
Returns
the panel typePanelType

◆ getTopToolbar()

View com.foxit.uiextensions.controls.panel.PanelSpec.getTopToolbar ( )
Returns
the top toolbar of the panel

◆ onActivated()

void com.foxit.uiextensions.controls.panel.PanelSpec.onActivated ( )

Called when a panel is selected as the current panel.

◆ onDeactivated()

void com.foxit.uiextensions.controls.panel.PanelSpec.onDeactivated ( )

Called when the current panel is changed.