Class TextButtonMode
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class TextButtonMode extends PreviewButton implements Parcelable
Configuration of the 'preview' button in 'text button mode'.
-
-
Field Summary
Fields Modifier and Type Field Description private final String_typeprivate StringaccessibilityDescriptionprivate StyledTextstyle
-
Constructor Summary
Constructors Constructor Description TextButtonMode(Map<String, Object> source)TextButtonMode(JSONObject json)TextButtonMode(String accessibilityDescription, StyledText style)
-
Method Summary
Modifier and Type Method Description Stringget_type()final StringgetAccessibilityDescription()The text to be read when the 'preview' button is selected via the accessibility mode. final UnitsetAccessibilityDescription(String accessibilityDescription)The text to be read when the 'preview' button is selected via the accessibility mode. final StyledTextgetStyle()Configuration of the text style for the 'preview' button. final UnitsetStyle(StyledText style)Configuration of the text style for the 'preview' button. JSONObjecttoJson(ToJsonConfiguration config)TextButtonModeclone()final static TextButtonModedefault()-
-
Constructor Detail
-
TextButtonMode
TextButtonMode(JSONObject json)
-
TextButtonMode
TextButtonMode(String accessibilityDescription, StyledText style)
-
-
Method Detail
-
getAccessibilityDescription
final String getAccessibilityDescription()
The text to be read when the 'preview' button is selected via the accessibility mode.
Default is "?accessibilityDescriptionCameraPreviewButton"
-
setAccessibilityDescription
final Unit setAccessibilityDescription(String accessibilityDescription)
The text to be read when the 'preview' button is selected via the accessibility mode.
Default is "?accessibilityDescriptionCameraPreviewButton"
-
getStyle
final StyledText getStyle()
Configuration of the text style for the 'preview' button.
-
setStyle
final Unit setStyle(StyledText style)
Configuration of the text style for the 'preview' button.
-
toJson
JSONObject toJson(ToJsonConfiguration config)
-
clone
TextButtonMode clone()
-
default
final static TextButtonMode default()
-
-
-
-