Foxit PDF SDK  9.1
com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow Interface Reference

Inherits IToolBar.

Classes

interface  IValueChangeListener
 
interface  OnDismissListener
 

Public Member Functions

void setProperty (int property, Object value)
 
boolean isShowing ()
 
void show ()
 
boolean getVisible (int type)
 
void setVisible (int type, boolean visible)
 
void dismiss ()
 
View getContentView ()
 
void registerListener (IViewSettingsWindow.IValueChangeListener listener)
 
void unRegisterListener (IViewSettingsWindow.IValueChangeListener listener)
 
IViewSettingsWindow.IValueChangeListener getValueChangeListener (int type)
 
void enableBar (int property, boolean enable)
 
void setOnDismissListener (OnDismissListener listener)
 
IViewSettingsWindow updateTheme ()
 
boolean isSelected (int property)
 

Public Attributes

int DAY = 0
 
int NIGHT = 1
 
int CUSTOM_COLOR = 2
 
int TYPE_SINGLE_PAGE = 0x0001
 
int TYPE_FACING_PAGE = 0x0002
 
int TYPE_COVER_PAGE = 0x0004
 
int TYPE_DAY = 0x0008
 
int TYPE_PAGE_COLOR = 0x0010
 
int TYPE_NIGHT = 0x0020
 
int TYPE_CONTINUOUS_PAGE = 0x0040
 
int TYPE_FIT_PAGE = 0x0080
 
int TYPE_FIT_WIDTH = 0x0100
 
int TYPE_REFLOW = 0x0120
 
int TYPE_CROP = 0x0140
 
int TYPE_TTS = 0x0180
 
int TYPE_AUTO_FLIP = 0x0200
 
int TYPE_ROTATE_VIEW = 0x0220
 
int TYPE_PAN_ZOOM = 0x0240
 
int TYPE_RIGHT_TO_LEFT = 0x0260
 

Detailed Description

Interface that defines the settings view.

Member Function Documentation

◆ dismiss()

void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.dismiss ( )

Disposes of the view settings window.

◆ enableBar()

void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.enableBar ( int  property,
boolean  enable 
)

Set the enabled state of the specified bar. NOW: only for TYPE_CROP, TYPE_REFLOW and TYPE_PANZOOM

Parameters
propertyTYPE_CROP, TYPE_REFLOW or TYPE_PANZOOM
enableTrue if this bar is enabled, false otherwise.

◆ getContentView()

View com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.getContentView ( )

Return the content view of this view settings window.

◆ getValueChangeListener()

IViewSettingsWindow.IValueChangeListener com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.getValueChangeListener ( int  type)

Get the value change listener based on type

Parameters
typethe setting view type TYPE_SINGLE_PAGE
Returns

◆ getVisible()

boolean com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.getVisible ( int  type)

Returns the visibility status for this view.

Parameters
typethe modules tag, Please refer to #TYPE_XXX values
Returns
The whether the type is visible

◆ isSelected()

boolean com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.isSelected ( int  property)

Indicates the selection state of this property view.

Returns
true if the view is selected, false otherwise

◆ isShowing()

boolean com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.isShowing ( )

Whether this view settings window is showing.

◆ registerListener()

void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.registerListener ( IViewSettingsWindow.IValueChangeListener  listener)

Sets the listener to be called when the view settings window is dismissed or its value is changed.

Parameters
listenerthe listener

◆ setOnDismissListener()

void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.setOnDismissListener ( OnDismissListener  listener)

Set a listener to be invoked when the dialog is dismissed.

Parameters
listenerThe OnDismissListener to use.

◆ setProperty()

void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.setProperty ( int  property,
Object  value 
)

Sets value by property.

Parameters
propertyThe type
valuethe value to set.

◆ setVisible()

void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.setVisible ( int  type,
boolean  visible 
)

Set the enabled state of this view.

Parameters
typethe modules tag, Please refer to #TYPE_XXX values
visibletrue display the type view, false otherwise.

◆ show()

void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.show ( )

Display this view settings window.

◆ unRegisterListener()

void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.unRegisterListener ( IViewSettingsWindow.IValueChangeListener  listener)

Unregister the specified listener.

◆ updateTheme()

IViewSettingsWindow com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.updateTheme ( )

Update the theme when the theme color changes

Returns
the setting window

Member Data Documentation

◆ CUSTOM_COLOR

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.CUSTOM_COLOR = 2

Page color mode: custom color

◆ DAY

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.DAY = 0

Page color mode: day

◆ NIGHT

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.NIGHT = 1

Page color mode: night

◆ TYPE_AUTO_FLIP

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_AUTO_FLIP = 0x0200

The type of view settings window: auto flip

◆ TYPE_CONTINUOUS_PAGE

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_CONTINUOUS_PAGE = 0x0040

The type of view settings window: Continuous Page mode

◆ TYPE_COVER_PAGE

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_COVER_PAGE = 0x0004

The type of view settings window: Cover mode

◆ TYPE_CROP

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_CROP = 0x0140

The type of view settings window: Crop mode

◆ TYPE_DAY

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_DAY = 0x0008

The type of view settings window: Day Note: On the pad, day and night are the same item, if you hide the day, nightTYPE_NIGHT will also be hidden. Similarly, if you hide night, day will also be hidden.

◆ TYPE_FACING_PAGE

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_FACING_PAGE = 0x0002

The type of view settings window: Crop mode

◆ TYPE_FIT_PAGE

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_FIT_PAGE = 0x0080

The type of view settings window: Fit page

◆ TYPE_FIT_WIDTH

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_FIT_WIDTH = 0x0100

The type of view settings window: Fit Width

◆ TYPE_NIGHT

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_NIGHT = 0x0020

The type of view settings window: night Note: On the pad, day and night are the same item, if you hide the dayTYPE_DAY, night will also be hidden. Similarly, if you hide night, day will also be hidden.

◆ TYPE_PAGE_COLOR

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_PAGE_COLOR = 0x0010

The type of view settings window: Page color

◆ TYPE_PAN_ZOOM

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_PAN_ZOOM = 0x0240

The type of view settings window: Pan&Zoom

◆ TYPE_REFLOW

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_REFLOW = 0x0120

The type of view settings window: Reflow mode

◆ TYPE_RIGHT_TO_LEFT

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_RIGHT_TO_LEFT = 0x0260

The type of view settings window: Right to Left

◆ TYPE_ROTATE_VIEW

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_ROTATE_VIEW = 0x0220

The type of view settings window: Rotate View

◆ TYPE_SINGLE_PAGE

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_SINGLE_PAGE = 0x0001

The type of view settings window: Single Page mode

◆ TYPE_TTS

int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_TTS = 0x0180

The type of view settings window: TextToSpeech