Class CroppingTextLocalization
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class CroppingTextLocalization implements Parcelable
Configuration of all the strings for the standalone cropping screen.
-
-
Field Summary
Fields Modifier and Type Field Description private String
cameraProgressOverlayTitle
private String
croppingTopBarCancelButtonTitle
private String
croppingTopBarConfirmButtonTitle
private String
croppingDetectButtonTitle
private String
croppingRotateButtonTitle
private String
croppingResetButtonTitle
private String
croppingScreenTitle
private String
accessibilityDescriptionCroppingTopBarConfirmButton
private String
accessibilityDescriptionCroppingTopBarCancelButton
private String
accessibilityDescriptionCroppingDetectButton
private String
accessibilityDescriptionCroppingRotateButton
private String
accessibilityDescriptionCroppingResetButton
-
Constructor Summary
Constructors Constructor Description CroppingTextLocalization(Map<String, Object> source)
CroppingTextLocalization(JSONObject json)
CroppingTextLocalization(String cameraProgressOverlayTitle, String croppingTopBarCancelButtonTitle, String croppingTopBarConfirmButtonTitle, String croppingDetectButtonTitle, String croppingRotateButtonTitle, String croppingResetButtonTitle, String croppingScreenTitle, String accessibilityDescriptionCroppingTopBarConfirmButton, String accessibilityDescriptionCroppingTopBarCancelButton, String accessibilityDescriptionCroppingDetectButton, String accessibilityDescriptionCroppingRotateButton, String accessibilityDescriptionCroppingResetButton)
-
Method Summary
Modifier and Type Method Description final String
getCameraProgressOverlayTitle()
The cropping progress overlay title. final Unit
setCameraProgressOverlayTitle(String cameraProgressOverlayTitle)
The cropping progress overlay title. final String
getCroppingTopBarCancelButtonTitle()
The 'cancel' button title, located in the top bar of the cropping screen. final Unit
setCroppingTopBarCancelButtonTitle(String croppingTopBarCancelButtonTitle)
The 'cancel' button title, located in the top bar of the cropping screen. final String
getCroppingTopBarConfirmButtonTitle()
The 'confirm' button title, located in the top bar of the cropping screen. final Unit
setCroppingTopBarConfirmButtonTitle(String croppingTopBarConfirmButtonTitle)
The 'confirm' button title, located in the top bar of the cropping screen. final String
getCroppingDetectButtonTitle()
The 'detect document' button title, located in the bottom bar of the cropping screen. final Unit
setCroppingDetectButtonTitle(String croppingDetectButtonTitle)
The 'detect document' button title, located in the bottom bar of the cropping screen. final String
getCroppingRotateButtonTitle()
The 'rotate page' button title, located in the bottom bar of the cropping screen. final Unit
setCroppingRotateButtonTitle(String croppingRotateButtonTitle)
The 'rotate page' button title, located in the bottom bar of the cropping screen. final String
getCroppingResetButtonTitle()
The 'reset detection' button title, located in the bottom bar of the cropping screen. final Unit
setCroppingResetButtonTitle(String croppingResetButtonTitle)
The 'reset detection' button title, located in the bottom bar of the cropping screen. final String
getCroppingScreenTitle()
The cropping screen title, located in the top bar. final Unit
setCroppingScreenTitle(String croppingScreenTitle)
The cropping screen title, located in the top bar. final String
getAccessibilityDescriptionCroppingTopBarConfirmButton()
The accessibility hint for the 'confirm' button, located in the top bar of the cropping screen. final Unit
setAccessibilityDescriptionCroppingTopBarConfirmButton(String accessibilityDescriptionCroppingTopBarConfirmButton)
The accessibility hint for the 'confirm' button, located in the top bar of the cropping screen. final String
getAccessibilityDescriptionCroppingTopBarCancelButton()
The accessibility hint for the 'cancel' button, located in the top bar of the cropping screen. final Unit
setAccessibilityDescriptionCroppingTopBarCancelButton(String accessibilityDescriptionCroppingTopBarCancelButton)
The accessibility hint for the 'cancel' button, located in the top bar of the cropping screen. final String
getAccessibilityDescriptionCroppingDetectButton()
The accessibility hint for the 'detect document' button, located in the bottom bar of the cropping screen. final Unit
setAccessibilityDescriptionCroppingDetectButton(String accessibilityDescriptionCroppingDetectButton)
The accessibility hint for the 'detect document' button, located in the bottom bar of the cropping screen. final String
getAccessibilityDescriptionCroppingRotateButton()
The accessibility hint for the 'rotate page' button, located in the bottom bar of the cropping screen. final Unit
setAccessibilityDescriptionCroppingRotateButton(String accessibilityDescriptionCroppingRotateButton)
The accessibility hint for the 'rotate page' button, located in the bottom bar of the cropping screen. final String
getAccessibilityDescriptionCroppingResetButton()
The accessibility hint for the 'reset detection' button, located in the bottom bar of the cropping screen. final Unit
setAccessibilityDescriptionCroppingResetButton(String accessibilityDescriptionCroppingResetButton)
The accessibility hint for the 'reset detection' button, located in the bottom bar of the cropping screen. final JSONObject
toJson()
final static CroppingTextLocalization
default()
-
-
Constructor Detail
-
CroppingTextLocalization
CroppingTextLocalization(JSONObject json)
-
CroppingTextLocalization
CroppingTextLocalization(String cameraProgressOverlayTitle, String croppingTopBarCancelButtonTitle, String croppingTopBarConfirmButtonTitle, String croppingDetectButtonTitle, String croppingRotateButtonTitle, String croppingResetButtonTitle, String croppingScreenTitle, String accessibilityDescriptionCroppingTopBarConfirmButton, String accessibilityDescriptionCroppingTopBarCancelButton, String accessibilityDescriptionCroppingDetectButton, String accessibilityDescriptionCroppingRotateButton, String accessibilityDescriptionCroppingResetButton)
-
-
Method Detail
-
getCameraProgressOverlayTitle
final String getCameraProgressOverlayTitle()
The cropping progress overlay title. Default is "Please wait..."
-
setCameraProgressOverlayTitle
final Unit setCameraProgressOverlayTitle(String cameraProgressOverlayTitle)
The cropping progress overlay title. Default is "Please wait..."
-
getCroppingTopBarCancelButtonTitle
final String getCroppingTopBarCancelButtonTitle()
The 'cancel' button title, located in the top bar of the cropping screen. Default is "Cancel"
-
setCroppingTopBarCancelButtonTitle
final Unit setCroppingTopBarCancelButtonTitle(String croppingTopBarCancelButtonTitle)
The 'cancel' button title, located in the top bar of the cropping screen. Default is "Cancel"
-
getCroppingTopBarConfirmButtonTitle
final String getCroppingTopBarConfirmButtonTitle()
The 'confirm' button title, located in the top bar of the cropping screen. Default is "Done"
-
setCroppingTopBarConfirmButtonTitle
final Unit setCroppingTopBarConfirmButtonTitle(String croppingTopBarConfirmButtonTitle)
The 'confirm' button title, located in the top bar of the cropping screen. Default is "Done"
-
getCroppingDetectButtonTitle
final String getCroppingDetectButtonTitle()
The 'detect document' button title, located in the bottom bar of the cropping screen. Default is "Detect"
-
setCroppingDetectButtonTitle
final Unit setCroppingDetectButtonTitle(String croppingDetectButtonTitle)
The 'detect document' button title, located in the bottom bar of the cropping screen. Default is "Detect"
-
getCroppingRotateButtonTitle
final String getCroppingRotateButtonTitle()
The 'rotate page' button title, located in the bottom bar of the cropping screen. Default is "Rotate"
-
setCroppingRotateButtonTitle
final Unit setCroppingRotateButtonTitle(String croppingRotateButtonTitle)
The 'rotate page' button title, located in the bottom bar of the cropping screen. Default is "Rotate"
-
getCroppingResetButtonTitle
final String getCroppingResetButtonTitle()
The 'reset detection' button title, located in the bottom bar of the cropping screen. Default is "Reset"
-
setCroppingResetButtonTitle
final Unit setCroppingResetButtonTitle(String croppingResetButtonTitle)
The 'reset detection' button title, located in the bottom bar of the cropping screen. Default is "Reset"
-
getCroppingScreenTitle
final String getCroppingScreenTitle()
The cropping screen title, located in the top bar. Default is "Crop"
-
setCroppingScreenTitle
final Unit setCroppingScreenTitle(String croppingScreenTitle)
The cropping screen title, located in the top bar. Default is "Crop"
-
getAccessibilityDescriptionCroppingTopBarConfirmButton
final String getAccessibilityDescriptionCroppingTopBarConfirmButton()
The accessibility hint for the 'confirm' button, located in the top bar of the cropping screen. Default is "Tap to apply changes"
-
setAccessibilityDescriptionCroppingTopBarConfirmButton
final Unit setAccessibilityDescriptionCroppingTopBarConfirmButton(String accessibilityDescriptionCroppingTopBarConfirmButton)
The accessibility hint for the 'confirm' button, located in the top bar of the cropping screen. Default is "Tap to apply changes"
-
getAccessibilityDescriptionCroppingTopBarCancelButton
final String getAccessibilityDescriptionCroppingTopBarCancelButton()
The accessibility hint for the 'cancel' button, located in the top bar of the cropping screen. Default is "Tap to close screen without applying changes"
-
setAccessibilityDescriptionCroppingTopBarCancelButton
final Unit setAccessibilityDescriptionCroppingTopBarCancelButton(String accessibilityDescriptionCroppingTopBarCancelButton)
The accessibility hint for the 'cancel' button, located in the top bar of the cropping screen. Default is "Tap to close screen without applying changes"
-
getAccessibilityDescriptionCroppingDetectButton
final String getAccessibilityDescriptionCroppingDetectButton()
The accessibility hint for the 'detect document' button, located in the bottom bar of the cropping screen. Default is "Tap to detect document on the image"
-
setAccessibilityDescriptionCroppingDetectButton
final Unit setAccessibilityDescriptionCroppingDetectButton(String accessibilityDescriptionCroppingDetectButton)
The accessibility hint for the 'detect document' button, located in the bottom bar of the cropping screen. Default is "Tap to detect document on the image"
-
getAccessibilityDescriptionCroppingRotateButton
final String getAccessibilityDescriptionCroppingRotateButton()
The accessibility hint for the 'rotate page' button, located in the bottom bar of the cropping screen. Default is "Tap to rotate document"
-
setAccessibilityDescriptionCroppingRotateButton
final Unit setAccessibilityDescriptionCroppingRotateButton(String accessibilityDescriptionCroppingRotateButton)
The accessibility hint for the 'rotate page' button, located in the bottom bar of the cropping screen. Default is "Tap to rotate document"
-
getAccessibilityDescriptionCroppingResetButton
final String getAccessibilityDescriptionCroppingResetButton()
The accessibility hint for the 'reset detection' button, located in the bottom bar of the cropping screen. Default is "Tap to reset document contour to whole image"
-
setAccessibilityDescriptionCroppingResetButton
final Unit setAccessibilityDescriptionCroppingResetButton(String accessibilityDescriptionCroppingResetButton)
The accessibility hint for the 'reset detection' button, located in the bottom bar of the cropping screen. Default is "Tap to reset document contour to whole image"
-
toJson
final JSONObject toJson()
-
default
final static CroppingTextLocalization default()
-
-
-
-