-
- All Implemented Interfaces:
-
java.io.Serializable
public final class TextConfiguration implements Serializable
A configuration class used to alter the default text behaviour.
-
-
Field Summary
Fields Modifier and Type Field Description private FloattextSizeBottomToolbarprivate FloattextSizeTopToolbarprivate FloattextSizeScanButtonsprivate FloattextSizeTitleprivate StringtextTitleScanPageprivate StringtextTitleEditPageprivate StringtextTitleFilterPageprivate StringtextTitleCroppingPageprivate StringtextTitleArrangementPageprivate StringtextTitleConfirmationPageprivate StringtextDocumentTitleprivate StringtextOnboardingTitleprivate StringtextOnboardingMessageprivate StringtextOnboardingCloseButtonprivate FloattextSizeOnboardingTitleprivate FloattextSizeOnboardingMessageprivate StringtextFocusHintprivate StringtextFirstPageHintprivate StringtextLastPageHintprivate StringtextOnePageHintprivate StringtextScanProgressprivate StringtextDeleteDialogCurrentPageprivate StringtextDeleteDialogAllPagesprivate StringtextDeleteDialogCancel
-
Constructor Summary
Constructors Constructor Description TextConfiguration()
-
Method Summary
Modifier and Type Method Description final FloatgetTextSizeBottomToolbar()The text size of elements residing in the bottom toolbar. final UnitsetTextSizeBottomToolbar(Float textSizeBottomToolbar)The text size of elements residing in the bottom toolbar. final FloatgetTextSizeTopToolbar()The text size of menu items residing in the top toolbar. final UnitsetTextSizeTopToolbar(Float textSizeTopToolbar)The text size of menu items residing in the top toolbar. final FloatgetTextSizeScanButtons()The text size of the buttons in the scan page, located at the lower part, like the torch button. final UnitsetTextSizeScanButtons(Float textSizeScanButtons)The text size of the buttons in the scan page, located at the lower part, like the torch button. final FloatgetTextSizeTitle()The text size of the title in the top toolbar. final UnitsetTextSizeTitle(Float textSizeTitle)The text size of the title in the top toolbar. final StringgetTextTitleScanPage()The title to be displayed in the scan page top toolbar. final UnitsetTextTitleScanPage(String textTitleScanPage)The title to be displayed in the scan page top toolbar. final StringgetTextTitleEditPage()The title to be displayed in the edit page top toolbar. final UnitsetTextTitleEditPage(String textTitleEditPage)The title to be displayed in the edit page top toolbar. final StringgetTextTitleFilterPage()The title to be displayed in the filter page top toolbar. final UnitsetTextTitleFilterPage(String textTitleFilterPage)The title to be displayed in the filter page top toolbar. final StringgetTextTitleCroppingPage()The title to be displayed in the cropping page top toolbar. final UnitsetTextTitleCroppingPage(String textTitleCroppingPage)The title to be displayed in the cropping page top toolbar. final StringgetTextTitleArrangementPage()The title to be displayed in the page arrangement page top toolbar. final UnitsetTextTitleArrangementPage(String textTitleArrangementPage)The title to be displayed in the page arrangement page top toolbar. final StringgetTextTitleConfirmationPage()The title to be displayed in the confirmation page top toolbar. final UnitsetTextTitleConfirmationPage(String textTitleConfirmationPage)The title to be displayed in the confirmation page top toolbar. final StringgetTextDocumentTitle()The title to show in the top toolbar on all pages. final UnitsetTextDocumentTitle(String textDocumentTitle)The title to show in the top toolbar on all pages. final StringgetTextOnboardingTitle()The text to show in the onboarding popup title that appears when the scan page is opened for the first time. final UnitsetTextOnboardingTitle(String textOnboardingTitle)The text to show in the onboarding popup title that appears when the scan page is opened for the first time. final StringgetTextOnboardingMessage()The text to show in the onboarding popup message that appears when the scan page is opened for the first time. final UnitsetTextOnboardingMessage(String textOnboardingMessage)The text to show in the onboarding popup message that appears when the scan page is opened for the first time. final StringgetTextOnboardingCloseButton()The text to show in the onboarding popup close button that appears when the scan page is opened for the first time. final UnitsetTextOnboardingCloseButton(String textOnboardingCloseButton)The text to show in the onboarding popup close button that appears when the scan page is opened for the first time. final FloatgetTextSizeOnboardingTitle()The text size of the onboarding popup title that appears when the scan page is opened for the first time. final UnitsetTextSizeOnboardingTitle(Float textSizeOnboardingTitle)The text size of the onboarding popup title that appears when the scan page is opened for the first time. final FloatgetTextSizeOnboardingMessage()The text size of the onboarding popup message that appears when the scan page is opened for the first time. final UnitsetTextSizeOnboardingMessage(Float textSizeOnboardingMessage)The text size of the onboarding popup message that appears when the scan page is opened for the first time. final StringgetTextFocusHint()The text to show when camera is focusing after capture got triggered. final UnitsetTextFocusHint(String textFocusHint)The text to show when camera is focusing after capture got triggered. final StringgetTextFirstPageHint()The text to show when user swipes to previous page but is already at the first page. final UnitsetTextFirstPageHint(String textFirstPageHint)The text to show when user swipes to previous page but is already at the first page. final StringgetTextLastPageHint()The text to show when user swipes to next page but is already at the last page. final UnitsetTextLastPageHint(String textLastPageHint)The text to show when user swipes to next page but is already at the last page. final StringgetTextOnePageHint()The text to show when user swipes to next or previous page but only one page is available. final UnitsetTextOnePageHint(String textOnePageHint)The text to show when user swipes to next or previous page but only one page is available. final StringgetTextScanProgress()The text to show in the progress popup that is shown when user clicks the done button but some pages still need to be processed. final UnitsetTextScanProgress(String textScanProgress)The text to show in the progress popup that is shown when user clicks the done button but some pages still need to be processed. final StringgetTextDeleteDialogCurrentPage()The text to show for the option to delete the current page within the dialog that will be shown when clicking delete while multiple pages are available. final UnitsetTextDeleteDialogCurrentPage(String textDeleteDialogCurrentPage)The text to show for the option to delete the current page within the dialog that will be shown when clicking delete while multiple pages are available. final StringgetTextDeleteDialogAllPages()The text to show for the option to delete all pages within the dialog that will be shown when clicking delete while multiple pages are available. final UnitsetTextDeleteDialogAllPages(String textDeleteDialogAllPages)The text to show for the option to delete all pages within the dialog that will be shown when clicking delete while multiple pages are available. final StringgetTextDeleteDialogCancel()The text to show for the option to cancel within the dialog that will be shown when clicking delete while multiple pages are available. final UnitsetTextDeleteDialogCancel(String textDeleteDialogCancel)The text to show for the option to cancel within the dialog that will be shown when clicking delete while multiple pages are available. -
-
Method Detail
-
getTextSizeBottomToolbar
final Float getTextSizeBottomToolbar()
The text size of elements residing in the bottom toolbar. Defaults to 10dp.
-
setTextSizeBottomToolbar
final Unit setTextSizeBottomToolbar(Float textSizeBottomToolbar)
The text size of elements residing in the bottom toolbar. Defaults to 10dp.
-
getTextSizeTopToolbar
final Float getTextSizeTopToolbar()
The text size of menu items residing in the top toolbar.
-
setTextSizeTopToolbar
final Unit setTextSizeTopToolbar(Float textSizeTopToolbar)
The text size of menu items residing in the top toolbar.
-
getTextSizeScanButtons
final Float getTextSizeScanButtons()
The text size of the buttons in the scan page, located at the lower part, like the torch button.
-
setTextSizeScanButtons
final Unit setTextSizeScanButtons(Float textSizeScanButtons)
The text size of the buttons in the scan page, located at the lower part, like the torch button.
-
getTextSizeTitle
final Float getTextSizeTitle()
The text size of the title in the top toolbar. By default, auto shrinking down till 9.0 is enabled. If you define your custom size, automatic shrinking will be disabled.
-
setTextSizeTitle
final Unit setTextSizeTitle(Float textSizeTitle)
The text size of the title in the top toolbar. By default, auto shrinking down till 9.0 is enabled. If you define your custom size, automatic shrinking will be disabled.
-
getTextTitleScanPage
final String getTextTitleScanPage()
The title to be displayed in the scan page top toolbar.
-
setTextTitleScanPage
final Unit setTextTitleScanPage(String textTitleScanPage)
The title to be displayed in the scan page top toolbar.
-
getTextTitleEditPage
final String getTextTitleEditPage()
The title to be displayed in the edit page top toolbar.
-
setTextTitleEditPage
final Unit setTextTitleEditPage(String textTitleEditPage)
The title to be displayed in the edit page top toolbar.
-
getTextTitleFilterPage
final String getTextTitleFilterPage()
The title to be displayed in the filter page top toolbar.
-
setTextTitleFilterPage
final Unit setTextTitleFilterPage(String textTitleFilterPage)
The title to be displayed in the filter page top toolbar.
-
getTextTitleCroppingPage
final String getTextTitleCroppingPage()
The title to be displayed in the cropping page top toolbar.
-
setTextTitleCroppingPage
final Unit setTextTitleCroppingPage(String textTitleCroppingPage)
The title to be displayed in the cropping page top toolbar.
-
getTextTitleArrangementPage
final String getTextTitleArrangementPage()
The title to be displayed in the page arrangement page top toolbar.
-
setTextTitleArrangementPage
final Unit setTextTitleArrangementPage(String textTitleArrangementPage)
The title to be displayed in the page arrangement page top toolbar.
-
getTextTitleConfirmationPage
final String getTextTitleConfirmationPage()
The title to be displayed in the confirmation page top toolbar.
-
setTextTitleConfirmationPage
final Unit setTextTitleConfirmationPage(String textTitleConfirmationPage)
The title to be displayed in the confirmation page top toolbar.
-
getTextDocumentTitle
final String getTextDocumentTitle()
The title to show in the top toolbar on all pages. It overwrites page specific titles, if any are set.
-
setTextDocumentTitle
final Unit setTextDocumentTitle(String textDocumentTitle)
The title to show in the top toolbar on all pages. It overwrites page specific titles, if any are set.
-
getTextOnboardingTitle
final String getTextOnboardingTitle()
The text to show in the onboarding popup title that appears when the scan page is opened for the first time.
-
setTextOnboardingTitle
final Unit setTextOnboardingTitle(String textOnboardingTitle)
The text to show in the onboarding popup title that appears when the scan page is opened for the first time.
-
getTextOnboardingMessage
final String getTextOnboardingMessage()
The text to show in the onboarding popup message that appears when the scan page is opened for the first time.
-
setTextOnboardingMessage
final Unit setTextOnboardingMessage(String textOnboardingMessage)
The text to show in the onboarding popup message that appears when the scan page is opened for the first time.
-
getTextOnboardingCloseButton
final String getTextOnboardingCloseButton()
The text to show in the onboarding popup close button that appears when the scan page is opened for the first time.
-
setTextOnboardingCloseButton
final Unit setTextOnboardingCloseButton(String textOnboardingCloseButton)
The text to show in the onboarding popup close button that appears when the scan page is opened for the first time.
-
getTextSizeOnboardingTitle
final Float getTextSizeOnboardingTitle()
The text size of the onboarding popup title that appears when the scan page is opened for the first time.
-
setTextSizeOnboardingTitle
final Unit setTextSizeOnboardingTitle(Float textSizeOnboardingTitle)
The text size of the onboarding popup title that appears when the scan page is opened for the first time.
-
getTextSizeOnboardingMessage
final Float getTextSizeOnboardingMessage()
The text size of the onboarding popup message that appears when the scan page is opened for the first time.
-
setTextSizeOnboardingMessage
final Unit setTextSizeOnboardingMessage(Float textSizeOnboardingMessage)
The text size of the onboarding popup message that appears when the scan page is opened for the first time.
-
getTextFocusHint
final String getTextFocusHint()
The text to show when camera is focusing after capture got triggered.
-
setTextFocusHint
final Unit setTextFocusHint(String textFocusHint)
The text to show when camera is focusing after capture got triggered.
-
getTextFirstPageHint
final String getTextFirstPageHint()
The text to show when user swipes to previous page but is already at the first page.
-
setTextFirstPageHint
final Unit setTextFirstPageHint(String textFirstPageHint)
The text to show when user swipes to previous page but is already at the first page.
-
getTextLastPageHint
final String getTextLastPageHint()
The text to show when user swipes to next page but is already at the last page.
-
setTextLastPageHint
final Unit setTextLastPageHint(String textLastPageHint)
The text to show when user swipes to next page but is already at the last page.
-
getTextOnePageHint
final String getTextOnePageHint()
The text to show when user swipes to next or previous page but only one page is available.
-
setTextOnePageHint
final Unit setTextOnePageHint(String textOnePageHint)
The text to show when user swipes to next or previous page but only one page is available.
-
getTextScanProgress
final String getTextScanProgress()
The text to show in the progress popup that is shown when user clicks the done button but some pages still need to be processed.
-
setTextScanProgress
final Unit setTextScanProgress(String textScanProgress)
The text to show in the progress popup that is shown when user clicks the done button but some pages still need to be processed.
-
getTextDeleteDialogCurrentPage
final String getTextDeleteDialogCurrentPage()
The text to show for the option to delete the current page within the dialog that will be shown when clicking delete while multiple pages are available.
-
setTextDeleteDialogCurrentPage
final Unit setTextDeleteDialogCurrentPage(String textDeleteDialogCurrentPage)
The text to show for the option to delete the current page within the dialog that will be shown when clicking delete while multiple pages are available.
-
getTextDeleteDialogAllPages
final String getTextDeleteDialogAllPages()
The text to show for the option to delete all pages within the dialog that will be shown when clicking delete while multiple pages are available.
-
setTextDeleteDialogAllPages
final Unit setTextDeleteDialogAllPages(String textDeleteDialogAllPages)
The text to show for the option to delete all pages within the dialog that will be shown when clicking delete while multiple pages are available.
-
getTextDeleteDialogCancel
final String getTextDeleteDialogCancel()
The text to show for the option to cancel within the dialog that will be shown when clicking delete while multiple pages are available.
-
setTextDeleteDialogCancel
final Unit setTextDeleteDialogCancel(String textDeleteDialogCancel)
The text to show for the option to cancel within the dialog that will be shown when clicking delete while multiple pages are available.
-
-
-
-