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 enum
WrapperSessionScanViewConfigOptionDoneButton.FillType
The preset used for width fill.
public enum
WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignment
The preset locations for the button along the x-axis.
public enum
WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignment
The preset locations for the button along the y-axis.
-
Field Summary
Fields Modifier and Type Field Description public String
title
public String
textColor
public String
textColorHighlighted
public String
backgroundColor
public Integer
fontSize
public String
fontName
public WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignment
positionXAlignment
public WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignment
positionYAlignment
public WrapperSessionScanViewConfigOptionDoneButton.FillType
fillType
public Double
cornerRadius
public Double
offsetX
public Double
offsetY
-
Constructor Summary
Constructors Constructor Description WrapperSessionScanViewConfigOptionDoneButton()
-
Method Summary
Modifier and Type Method Description String
getTitle()
The text displayed for the button. void
setTitle(String title)
The text displayed for the button. String
getTextColor()
A color, denoted by a hex string of the button title. void
setTextColor(String textColor)
A color, denoted by a hex string of the button title. String
getTextColorHighlighted()
A color, denoted by a hex string used by the button title when pressed. void
setTextColorHighlighted(String textColorHighlighted)
A color, denoted by a hex string used by the button title when pressed. String
getBackgroundColor()
A color, denoted by a hex string of the button background. void
setBackgroundColor(String backgroundColor)
A color, denoted by a hex string of the button background. Integer
getFontSize()
Button title font size in points (typically 8-72). void
setFontSize(Integer fontSize)
Button title font size in points (typically 8-72). String
getFontName()
The name of the font (note: the font must be available for the device). void
setFontName(String fontName)
The name of the font (note: the font must be available for the device). WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignment
getPositionXAlignment()
The preset locations for the button along the x-axis. void
setPositionXAlignment(WrapperSessionScanViewConfigOptionDoneButton.PositionXAlignment positionXAlignment)
The preset locations for the button along the x-axis. WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignment
getPositionYAlignment()
The preset locations for the button along the y-axis. void
setPositionYAlignment(WrapperSessionScanViewConfigOptionDoneButton.PositionYAlignment positionYAlignment)
The preset locations for the button along the y-axis. WrapperSessionScanViewConfigOptionDoneButton.FillType
getFillType()
The preset used for width fill. void
setFillType(WrapperSessionScanViewConfigOptionDoneButton.FillType fillType)
The preset used for width fill. Double
getCornerRadius()
A Float value indicating the corner rounding of the Done button. void
setCornerRadius(Double cornerRadius)
A Float value indicating the corner rounding of the Done button. Double
getOffsetX()
WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. void
setOffsetX(Double offsetX)
WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. Double
getOffsetY()
WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. void
setOffsetY(Double offsetY)
WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. String
toString()
int
hashCode()
boolean
equals(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()
-
-
-
-