|
Foxit PDF SDK
9.1
|
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 |
Interface that defines the settings view.
| void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.dismiss | ( | ) |
Disposes of the view settings window.
| 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
| property | TYPE_CROP, TYPE_REFLOW or TYPE_PANZOOM |
| enable | True if this bar is enabled, false otherwise. |
| View com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.getContentView | ( | ) |
Return the content view of this view settings window.
| IViewSettingsWindow.IValueChangeListener com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.getValueChangeListener | ( | int | type | ) |
Get the value change listener based on type
| type | the setting view type TYPE_SINGLE_PAGE |
| boolean com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.getVisible | ( | int | type | ) |
Returns the visibility status for this view.
| type | the modules tag, Please refer to #TYPE_XXX values |
| boolean com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.isSelected | ( | int | property | ) |
Indicates the selection state of this property view.
| boolean com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.isShowing | ( | ) |
Whether this view settings window is showing.
| 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.
| listener | the listener |
| void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.setOnDismissListener | ( | OnDismissListener | listener | ) |
Set a listener to be invoked when the dialog is dismissed.
| listener | The OnDismissListener to use. |
| void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.setProperty | ( | int | property, |
| Object | value | ||
| ) |
Sets value by property.
| property | The type |
| value | the value to set. |
| void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.setVisible | ( | int | type, |
| boolean | visible | ||
| ) |
Set the enabled state of this view.
| type | the modules tag, Please refer to #TYPE_XXX values |
| visible | true display the type view, false otherwise. |
| void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.show | ( | ) |
Display this view settings window.
| void com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.unRegisterListener | ( | IViewSettingsWindow.IValueChangeListener | listener | ) |
Unregister the specified listener.
| IViewSettingsWindow com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.updateTheme | ( | ) |
Update the theme when the theme color changes
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.CUSTOM_COLOR = 2 |
Page color mode: custom color
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.DAY = 0 |
Page color mode: day
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.NIGHT = 1 |
Page color mode: night
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_AUTO_FLIP = 0x0200 |
The type of view settings window: auto flip
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_CONTINUOUS_PAGE = 0x0040 |
The type of view settings window: Continuous Page mode
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_COVER_PAGE = 0x0004 |
The type of view settings window: Cover mode
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_CROP = 0x0140 |
The type of view settings window: Crop mode
| 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.
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_FACING_PAGE = 0x0002 |
The type of view settings window: Crop mode
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_FIT_PAGE = 0x0080 |
The type of view settings window: Fit page
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_FIT_WIDTH = 0x0100 |
The type of view settings window: Fit Width
| 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.
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_PAGE_COLOR = 0x0010 |
The type of view settings window: Page color
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_PAN_ZOOM = 0x0240 |
The type of view settings window: Pan&Zoom
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_REFLOW = 0x0120 |
The type of view settings window: Reflow mode
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_RIGHT_TO_LEFT = 0x0260 |
The type of view settings window: Right to Left
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_ROTATE_VIEW = 0x0220 |
The type of view settings window: Rotate View
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_SINGLE_PAGE = 0x0001 |
The type of view settings window: Single Page mode
| int com.foxit.uiextensions.controls.propertybar.IViewSettingsWindow.TYPE_TTS = 0x0180 |
The type of view settings window: TextToSpeech