Class ReorderPagesScreenConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ReorderPagesScreenConfiguration implements Parcelable
Configuration of the screen for reordering the scanned pages.
-
-
Field Summary
Fields Modifier and Type Field Description private ButtonConfigurationtopBarBackButtonprivate StyledTexttopBarTitleprivate ButtonConfigurationtopBarConfirmButtonprivate ScanbotColorbackgroundColorprivate UserGuidanceConfigurationguidanceprivate StyledTextpageTextStyle
-
Constructor Summary
Constructors Constructor Description ReorderPagesScreenConfiguration(Map<String, Object> source)ReorderPagesScreenConfiguration(JSONObject json)ReorderPagesScreenConfiguration(ButtonConfiguration topBarBackButton, StyledText topBarTitle, ButtonConfiguration topBarConfirmButton, ScanbotColor backgroundColor, UserGuidanceConfiguration guidance, StyledText pageTextStyle)
-
Method Summary
Modifier and Type Method Description final ButtonConfigurationgetTopBarBackButton()Configuration of the 'cancel' button, located in the top bar. final UnitsetTopBarBackButton(ButtonConfiguration topBarBackButton)Configuration of the 'cancel' button, located in the top bar. final StyledTextgetTopBarTitle()Configuration of the title, located in the top bar. final UnitsetTopBarTitle(StyledText topBarTitle)Configuration of the title, located in the top bar. final ButtonConfigurationgetTopBarConfirmButton()Configuration of the 'confirm' button, located in the top bar. final UnitsetTopBarConfirmButton(ButtonConfiguration topBarConfirmButton)Configuration of the 'confirm' button, located in the top bar. final ScanbotColorgetBackgroundColor()The background color of the reorder pages screen. final UnitsetBackgroundColor(ScanbotColor backgroundColor)The background color of the reorder pages screen. final UserGuidanceConfigurationgetGuidance()Configuration of the static user guidance, located just below the top bar. final UnitsetGuidance(UserGuidanceConfiguration guidance)Configuration of the static user guidance, located just below the top bar. final StyledTextgetPageTextStyle()Configuration of the title below each page object. final UnitsetPageTextStyle(StyledText pageTextStyle)Configuration of the title below each page object. final JSONObjecttoJson(ToJsonConfiguration config)final ReorderPagesScreenConfigurationclone()final static ReorderPagesScreenConfigurationdefault()-
-
Constructor Detail
-
ReorderPagesScreenConfiguration
ReorderPagesScreenConfiguration(JSONObject json)
-
ReorderPagesScreenConfiguration
ReorderPagesScreenConfiguration(ButtonConfiguration topBarBackButton, StyledText topBarTitle, ButtonConfiguration topBarConfirmButton, ScanbotColor backgroundColor, UserGuidanceConfiguration guidance, StyledText pageTextStyle)
-
-
Method Detail
-
getTopBarBackButton
final ButtonConfiguration getTopBarBackButton()
Configuration of the 'cancel' button, located in the top bar.
-
setTopBarBackButton
final Unit setTopBarBackButton(ButtonConfiguration topBarBackButton)
Configuration of the 'cancel' button, located in the top bar.
-
getTopBarTitle
final StyledText getTopBarTitle()
Configuration of the title, located in the top bar.
-
setTopBarTitle
final Unit setTopBarTitle(StyledText topBarTitle)
Configuration of the title, located in the top bar.
-
getTopBarConfirmButton
final ButtonConfiguration getTopBarConfirmButton()
Configuration of the 'confirm' button, located in the top bar.
-
setTopBarConfirmButton
final Unit setTopBarConfirmButton(ButtonConfiguration topBarConfirmButton)
Configuration of the 'confirm' button, located in the top bar.
-
getBackgroundColor
final ScanbotColor getBackgroundColor()
The background color of the reorder pages screen.
Default is "?sbColorOutline"
-
setBackgroundColor
final Unit setBackgroundColor(ScanbotColor backgroundColor)
The background color of the reorder pages screen.
Default is "?sbColorOutline"
-
getGuidance
final UserGuidanceConfiguration getGuidance()
Configuration of the static user guidance, located just below the top bar.
-
setGuidance
final Unit setGuidance(UserGuidanceConfiguration guidance)
Configuration of the static user guidance, located just below the top bar.
-
getPageTextStyle
final StyledText getPageTextStyle()
Configuration of the title below each page object.
-
setPageTextStyle
final Unit setPageTextStyle(StyledText pageTextStyle)
Configuration of the title below each page object.
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final ReorderPagesScreenConfiguration clone()
-
default
final static ReorderPagesScreenConfiguration default()
-
-
-
-