Foxit PDF SDK  9.1
com.foxit.uiextensions.controls.toolbar.ITabActionToolbar Interface Reference

Public Member Functions

void setHorizontalHeight (int height)
 
void setVerticalWidth (int width)
 
void setBackgroundColor (int color)
 
void setBackgroundColor (int lightColor, int darkColor)
 

Detailed Description

The toolbar under the tab, the toolbar content of different tabs is also different, and this toolbar can be dragged on the pad.

Member Function Documentation

◆ setBackgroundColor() [1/2]

void com.foxit.uiextensions.controls.toolbar.ITabActionToolbar.setBackgroundColor ( int  color)

Sets the background color for the tab toolbar.

Parameters
colorthe color of the background.

◆ setBackgroundColor() [2/2]

void com.foxit.uiextensions.controls.toolbar.ITabActionToolbar.setBackgroundColor ( int  lightColor,
int  darkColor 
)

Sets the background color for the tab toolbar. supporting both light and dark mode. This method allows different background colors to be set depending on whether the system is in light or dark mode.

Parameters
lightColorthe background color to be used in light mode.
darkColorthe background color to be used in dark mode.

◆ setHorizontalHeight()

void com.foxit.uiextensions.controls.toolbar.ITabActionToolbar.setHorizontalHeight ( int  height)

Set the height of toolbar when it is at the top or bottom of the screen (Minimum height: 48dip).

Parameters
heightThe height of toolbar when it is at the top or bottom of the screen, a fixed size in pixels.

◆ setVerticalWidth()

void com.foxit.uiextensions.controls.toolbar.ITabActionToolbar.setVerticalWidth ( int  width)

Set the width of toolbar when it is at the left or right of the screen (Minimum width: 48dip).

Parameters
widthThe width of toolbar when it is at the left or right of the screen, a fixed size in pixels.