Foxit PDF SDK  9.1
com.foxit.uiextensions.controls.panel.PanelSpec Interface Reference

Public Member Functions

int getIcon ()
 
ColorStateList getIconTint ()
 
int getPanelType ()
 
View getTopToolbar ()
 
View getContentView ()
 
void onActivated ()
 
void onDeactivated ()
 

Public Attributes

int BOOKMARKS = 0
 
int OUTLINE = 1
 
int ANNOTATIONS = 2
 
int ATTACHMENTS = 3
 
int SIGNATURES = 4
 

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
a positive integer used to identify the panel tab icon

◆ getIconTint()

ColorStateList com.foxit.uiextensions.controls.panel.PanelSpec.getIconTint ( )

Gets the icon tint for the different states (normal, selected) used for the tab.

◆ getPanelType()

int com.foxit.uiextensions.controls.panel.PanelSpec.getPanelType ( )
Returns
the panel type start withBOOKMARKS

◆ 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.

Member Data Documentation

◆ ANNOTATIONS

int com.foxit.uiextensions.controls.panel.PanelSpec.ANNOTATIONS = 2

Annotation panel type.

◆ ATTACHMENTS

int com.foxit.uiextensions.controls.panel.PanelSpec.ATTACHMENTS = 3

Attachment panel type.

◆ BOOKMARKS

int com.foxit.uiextensions.controls.panel.PanelSpec.BOOKMARKS = 0

Reading bookmark panel type.

◆ OUTLINE

int com.foxit.uiextensions.controls.panel.PanelSpec.OUTLINE = 1

Outline panel type.

◆ SIGNATURES

int com.foxit.uiextensions.controls.panel.PanelSpec.SIGNATURES = 4

Signature panel type.