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 StringcameraProgressOverlayTitleprivate StringcroppingTopBarCancelButtonTitleprivate StringcroppingTopBarConfirmButtonTitleprivate StringcroppingDetectButtonTitleprivate StringcroppingRotateButtonTitleprivate StringcroppingResetButtonTitleprivate StringcroppingScreenTitleprivate StringaccessibilityDescriptionCroppingTopBarConfirmButtonprivate StringaccessibilityDescriptionCroppingTopBarCancelButtonprivate StringaccessibilityDescriptionCroppingDetectButtonprivate StringaccessibilityDescriptionCroppingRotateButtonprivate StringaccessibilityDescriptionCroppingResetButton
-
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 StringgetCameraProgressOverlayTitle()The cropping progress overlay title. final UnitsetCameraProgressOverlayTitle(String cameraProgressOverlayTitle)The cropping progress overlay title. final StringgetCroppingTopBarCancelButtonTitle()The 'cancel' button title, located in the top bar of the cropping screen. final UnitsetCroppingTopBarCancelButtonTitle(String croppingTopBarCancelButtonTitle)The 'cancel' button title, located in the top bar of the cropping screen. final StringgetCroppingTopBarConfirmButtonTitle()The 'confirm' button title, located in the top bar of the cropping screen. final UnitsetCroppingTopBarConfirmButtonTitle(String croppingTopBarConfirmButtonTitle)The 'confirm' button title, located in the top bar of the cropping screen. final StringgetCroppingDetectButtonTitle()The 'detect document' button title, located in the bottom bar of the cropping screen. final UnitsetCroppingDetectButtonTitle(String croppingDetectButtonTitle)The 'detect document' button title, located in the bottom bar of the cropping screen. final StringgetCroppingRotateButtonTitle()The 'rotate page' button title, located in the bottom bar of the cropping screen. final UnitsetCroppingRotateButtonTitle(String croppingRotateButtonTitle)The 'rotate page' button title, located in the bottom bar of the cropping screen. final StringgetCroppingResetButtonTitle()The 'reset detection' button title, located in the bottom bar of the cropping screen. final UnitsetCroppingResetButtonTitle(String croppingResetButtonTitle)The 'reset detection' button title, located in the bottom bar of the cropping screen. final StringgetCroppingScreenTitle()The cropping screen title, located in the top bar. final UnitsetCroppingScreenTitle(String croppingScreenTitle)The cropping screen title, located in the top bar. final StringgetAccessibilityDescriptionCroppingTopBarConfirmButton()The accessibility hint for the 'confirm' button, located in the top bar of the cropping screen. final UnitsetAccessibilityDescriptionCroppingTopBarConfirmButton(String accessibilityDescriptionCroppingTopBarConfirmButton)The accessibility hint for the 'confirm' button, located in the top bar of the cropping screen. final StringgetAccessibilityDescriptionCroppingTopBarCancelButton()The accessibility hint for the 'cancel' button, located in the top bar of the cropping screen. final UnitsetAccessibilityDescriptionCroppingTopBarCancelButton(String accessibilityDescriptionCroppingTopBarCancelButton)The accessibility hint for the 'cancel' button, located in the top bar of the cropping screen. final StringgetAccessibilityDescriptionCroppingDetectButton()The accessibility hint for the 'detect document' button, located in the bottom bar of the cropping screen. final UnitsetAccessibilityDescriptionCroppingDetectButton(String accessibilityDescriptionCroppingDetectButton)The accessibility hint for the 'detect document' button, located in the bottom bar of the cropping screen. final StringgetAccessibilityDescriptionCroppingRotateButton()The accessibility hint for the 'rotate page' button, located in the bottom bar of the cropping screen. final UnitsetAccessibilityDescriptionCroppingRotateButton(String accessibilityDescriptionCroppingRotateButton)The accessibility hint for the 'rotate page' button, located in the bottom bar of the cropping screen. final StringgetAccessibilityDescriptionCroppingResetButton()The accessibility hint for the 'reset detection' button, located in the bottom bar of the cropping screen. final UnitsetAccessibilityDescriptionCroppingResetButton(String accessibilityDescriptionCroppingResetButton)The accessibility hint for the 'reset detection' button, located in the bottom bar of the cropping screen. final JSONObjecttoJson(ToJsonConfiguration config)final CroppingTextLocalizationclone()final static CroppingTextLocalizationdefault()-
-
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(ToJsonConfiguration config)
-
clone
final CroppingTextLocalization clone()
-
default
final static CroppingTextLocalization default()
-
-
-
-