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 ButtonConfiguration
topBarBackButton
private StyledText
topBarTitle
private ButtonConfiguration
topBarConfirmButton
private ScanbotColor
backgroundColor
private UserGuidanceConfiguration
guidance
private StyledText
pageTextStyle
-
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 ButtonConfiguration
getTopBarBackButton()
Configuration of the 'cancel' button, located in the top bar. final Unit
setTopBarBackButton(ButtonConfiguration topBarBackButton)
Configuration of the 'cancel' button, located in the top bar. final StyledText
getTopBarTitle()
Configuration of the title, located in the top bar. final Unit
setTopBarTitle(StyledText topBarTitle)
Configuration of the title, located in the top bar. final ButtonConfiguration
getTopBarConfirmButton()
Configuration of the 'confirm' button, located in the top bar. final Unit
setTopBarConfirmButton(ButtonConfiguration topBarConfirmButton)
Configuration of the 'confirm' button, located in the top bar. final ScanbotColor
getBackgroundColor()
The background color of the reorder pages screen. final Unit
setBackgroundColor(ScanbotColor backgroundColor)
The background color of the reorder pages screen. final UserGuidanceConfiguration
getGuidance()
Configuration of the static user guidance, located just below the top bar. final Unit
setGuidance(UserGuidanceConfiguration guidance)
Configuration of the static user guidance, located just below the top bar. final StyledText
getPageTextStyle()
Configuration of the title below each page object. final Unit
setPageTextStyle(StyledText pageTextStyle)
Configuration of the title below each page object. final JSONObject
toJson()
final static ReorderPagesScreenConfiguration
default()
-
-
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()
-
default
final static ReorderPagesScreenConfiguration default()
-
-
-
-