com.foxit.uiextensions.controls.propertybar.IMultiLineBar Interface Reference

Classes

interface  IML_ValueChangeListener
 

Public Member Functions

void dismiss ()
 
void enableBar (int property, boolean enable)
 
View getContentView ()
 
int getVisibility (int type)
 
boolean isShowing ()
 
void registerListener (IML_ValueChangeListener listener)
 
void setProperty (int property, Object value)
 
void setVisibility (int type, int visibility)
 
void show ()
 
void unRegisterListener (IML_ValueChangeListener listener)
 

Static Public Attributes

static final int TYPE_CONTINUOUSPAGE = 0x0010
 
static final int TYPE_COVER_MODE = 0x140
 
static final int TYPE_CROP = 0x0100
 
static final int TYPE_DAYNIGHT = 0x0002
 
static final int TYPE_FACING_MODE = 0x0120
 
static final int TYPE_FITPAGE = 0x0200
 
static final int TYPE_FITWIDTH = 0x0220
 
static final int TYPE_LIGHT = 0x0001
 
static final int TYPE_LOCKSCREEN = 0x0040
 
static final int TYPE_PANZOOM = 0x0180
 
static final int TYPE_REFLOW = 0x0080
 
static final int TYPE_ROTATEVIEW = 0x0240
 
static final int TYPE_SINGLEPAGE = 0x0008
 
static final int TYPE_SYSLIGHT = 0x0004
 
static final int TYPE_THUMBNAIL = 0x0020
 

Detailed Description

This is mainly used to control the display mode of the page, and you can use it to hide/display unnecessary functions.

you can use it through com.foxit.uiextensions.UIExtensionsManager#getSettingBar()

Member Function Documentation

◆ dismiss()

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

Disposes of the multi-line bar.

◆ enableBar()

void com.foxit.uiextensions.controls.propertybar.IMultiLineBar.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.IMultiLineBar.getContentView ( )

Return the content view of this multi-line bar.

◆ getVisibility()

int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.getVisibility ( int  type)

Returns the visibility status for this view.

Parameters
typethe modules tag, Please refer to #TYPE_XXX values
Returns
One of View#VISIBLE, View#INVISIBLE, View#GONE or -1. if return -1,means can't find this type.
See also
TYPE_DAYNIGHT
TYPE_SYSLIGHT
TYPE_SINGLEPAGE
TYPE_CONTINUOUSPAGE
TYPE_THUMBNAIL
TYPE_LOCKSCREEN
TYPE_REFLOW
TYPE_CROP
TYPE_FACING_MODE

◆ isShowing()

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

Whether this multi-line bar is showing.

◆ registerListener()

void com.foxit.uiextensions.controls.propertybar.IMultiLineBar.registerListener ( IML_ValueChangeListener  listener)

Sets the listener to be called when the multi-line bar is dismissed or its value is changed.

Parameters
listenerthe listener

◆ setProperty()

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

Sets value by property.

Parameters
propertyThe type
valuethe value to set.

◆ setVisibility()

void com.foxit.uiextensions.controls.propertybar.IMultiLineBar.setVisibility ( int  type,
int  visibility 
)

Set the enabled state of this view.

Parameters
typethe modules tag, Please refer to #TYPE_XXX values
visibilityOne of View#VISIBLE, View#INVISIBLE, or View#GONE. <></>
See also
TYPE_DAYNIGHT
TYPE_SYSLIGHT
TYPE_SINGLEPAGE
TYPE_CONTINUOUSPAGE
TYPE_THUMBNAIL
TYPE_LOCKSCREEN
TYPE_REFLOW
TYPE_CROP
TYPE_FACING_MODE
TYPE_COVER_MODE

◆ show()

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

Display this multi-line bar.

◆ unRegisterListener()

void com.foxit.uiextensions.controls.propertybar.IMultiLineBar.unRegisterListener ( IML_ValueChangeListener  listener)

Unregister the specified listener.

Member Data Documentation

◆ TYPE_CONTINUOUSPAGE

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_CONTINUOUSPAGE = 0x0010
static

The type of Multi-line bar: Continuous Page mode

◆ TYPE_COVER_MODE

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_COVER_MODE = 0x140
static

The type of Multi-line bar: Cover mode

◆ TYPE_CROP

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_CROP = 0x0100
static

The type of Multi-line bar: Crop mode

◆ TYPE_DAYNIGHT

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_DAYNIGHT = 0x0002
static

The type of Multi-line bar: Day&Night, used to switch day and night mode

◆ TYPE_FACING_MODE

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_FACING_MODE = 0x0120
static

The type of Multi-line bar: Crop mode

◆ TYPE_FITPAGE

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_FITPAGE = 0x0200
static

The type of Multi-line bar: Fit page

◆ TYPE_FITWIDTH

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_FITWIDTH = 0x0220
static

The type of Multi-line bar: Fit Width

◆ TYPE_LIGHT

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_LIGHT = 0x0001
static

The type of Multi-line bar: Light

◆ TYPE_LOCKSCREEN

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_LOCKSCREEN = 0x0040
static

The type of Multi-line bar: Screen lock

◆ TYPE_PANZOOM

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_PANZOOM = 0x0180
static

The type of Multi-line bar: Pan&Zoom

◆ TYPE_REFLOW

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_REFLOW = 0x0080
static

The type of Multi-line bar: Reflow mode

◆ TYPE_ROTATEVIEW

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_ROTATEVIEW = 0x0240
static

The type of Multi-line bar: Rotate View

◆ TYPE_SINGLEPAGE

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_SINGLEPAGE = 0x0008
static

The type of Multi-line bar: Single Page mode

◆ TYPE_SYSLIGHT

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_SYSLIGHT = 0x0004
static

The type of Multi-line bar: System light, control the brightness of the page

◆ TYPE_THUMBNAIL

final int com.foxit.uiextensions.controls.propertybar.IMultiLineBar.TYPE_THUMBNAIL = 0x0020
static

The type of Multi-line bar: Page thumbnail