Class WrapperSessionScanViewConfigOptionDoneButton
-
- All Implemented Interfaces:
-
java.io.Serializable
public class WrapperSessionScanViewConfigOptionDoneButton implements Serializable
WrapperSessionScanViewConfigOptionDoneButton
A button that dismisses the scan view screen when pressed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWrapperSessionScanViewConfigOptionDoneButton.FillTypeThe preset used for width fill.
public enumWrapperSessionScanViewConfigOptionDoneButton.PositionXAlignmentThe preset locations for the button along the x-axis.
public enumWrapperSessionScanViewConfigOptionDoneButton.PositionYAlignmentThe preset locations for the button along the y-axis.
-
Field Summary
Fields Modifier and Type Field Description public Stringtitlepublic StringtextColorpublic StringtextColorHighlightedpublic StringbackgroundColorpublic IntegerfontSizepublic StringfontNamepublic WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignmentpositionXAlignmentpublic WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignmentpositionYAlignmentpublic WrapperSessionScanViewConfigOptionDoneButton.FillTypefillTypepublic DoublecornerRadiuspublic DoubleoffsetXpublic DoubleoffsetY
-
Constructor Summary
Constructors Constructor Description WrapperSessionScanViewConfigOptionDoneButton()
-
Method Summary
Modifier and Type Method Description StringgetTitle()The text displayed for the button. voidsetTitle(String title)The text displayed for the button. StringgetTextColor()A color, denoted by a hex string of the button title. voidsetTextColor(String textColor)A color, denoted by a hex string of the button title. StringgetTextColorHighlighted()A color, denoted by a hex string used by the button title when pressed. voidsetTextColorHighlighted(String textColorHighlighted)A color, denoted by a hex string used by the button title when pressed. StringgetBackgroundColor()A color, denoted by a hex string of the button background. voidsetBackgroundColor(String backgroundColor)A color, denoted by a hex string of the button background. IntegergetFontSize()Button title font size in points (typically 8-72). voidsetFontSize(Integer fontSize)Button title font size in points (typically 8-72). StringgetFontName()The name of the font (note: the font must be available for the device). voidsetFontName(String fontName)The name of the font (note: the font must be available for the device). WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignmentgetPositionXAlignment()The preset locations for the button along the x-axis. voidsetPositionXAlignment(WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignment positionXAlignment)The preset locations for the button along the x-axis. WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignmentgetPositionYAlignment()The preset locations for the button along the y-axis. voidsetPositionYAlignment(WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignment positionYAlignment)The preset locations for the button along the y-axis. WrapperSessionScanViewConfigOptionDoneButton.FillTypegetFillType()The preset used for width fill. voidsetFillType(WrapperSessionScanViewConfigOptionDoneButton.FillType fillType)The preset used for width fill. DoublegetCornerRadius()A Float value indicating the corner rounding of the Done button. voidsetCornerRadius(Double cornerRadius)A Float value indicating the corner rounding of the Done button. DoublegetOffsetX()WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. voidsetOffsetX(Double offsetX)WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. DoublegetOffsetY()WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. voidsetOffsetY(Double offsetY)WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getTextColor
String getTextColor()
A color, denoted by a hex string of the button title.
-
setTextColor
void setTextColor(String textColor)
A color, denoted by a hex string of the button title.
-
getTextColorHighlighted
String getTextColorHighlighted()
A color, denoted by a hex string used by the button title when pressed.
-
setTextColorHighlighted
void setTextColorHighlighted(String textColorHighlighted)
A color, denoted by a hex string used by the button title when pressed.
-
getBackgroundColor
String getBackgroundColor()
A color, denoted by a hex string of the button background. The default is empty (clear color).
-
setBackgroundColor
void setBackgroundColor(String backgroundColor)
A color, denoted by a hex string of the button background. The default is empty (clear color).
-
getFontSize
Integer getFontSize()
Button title font size in points (typically 8-72).
-
setFontSize
void setFontSize(Integer fontSize)
Button title font size in points (typically 8-72).
-
getFontName
String getFontName()
The name of the font (note: the font must be available for the device).
-
setFontName
void setFontName(String fontName)
The name of the font (note: the font must be available for the device).
-
getPositionXAlignment
WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignment getPositionXAlignment()
The preset locations for the button along the x-axis.
-
setPositionXAlignment
void setPositionXAlignment(WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignment positionXAlignment)
The preset locations for the button along the x-axis.
-
getPositionYAlignment
WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignment getPositionYAlignment()
The preset locations for the button along the y-axis.
-
setPositionYAlignment
void setPositionYAlignment(WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignment positionYAlignment)
The preset locations for the button along the y-axis.
-
getFillType
WrapperSessionScanViewConfigOptionDoneButton.FillType getFillType()
The preset used for width fill.
-
setFillType
void setFillType(WrapperSessionScanViewConfigOptionDoneButton.FillType fillType)
The preset used for width fill.
-
getCornerRadius
Double getCornerRadius()
A Float value indicating the corner rounding of the Done button.
-
setCornerRadius
void setCornerRadius(Double cornerRadius)
A Float value indicating the corner rounding of the Done button.
-
getOffsetX
Double getOffsetX()
WrapperSessionScanViewConfigOptionOffsetConfig
Float pixel offset for fine-tuning UI element position.
-
setOffsetX
void setOffsetX(Double offsetX)
WrapperSessionScanViewConfigOptionOffsetConfig
Float pixel offset for fine-tuning UI element position.
-
getOffsetY
Double getOffsetY()
WrapperSessionScanViewConfigOptionOffsetConfig
Float pixel offset for fine-tuning UI element position.
-
setOffsetY
void setOffsetY(Double offsetY)
WrapperSessionScanViewConfigOptionOffsetConfig
Float pixel offset for fine-tuning UI element position.
-
hashCode
int hashCode()
-
-
-
-