Class ManualCountEditDialog
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ManualCountEditDialog implements Parcelable
Configuration of the dialog to manually edit the barcode count.
-
-
Field Summary
Fields Modifier and Type Field Description private ScanbotColorsheetColorprivate ScanbotColordividerColorprivate ScanbotColormodalOverlayColorprivate StyledTexttitleprivate StyledTextinfoprivate ButtonConfigurationupdateButtonprivate ButtonConfigurationcancelButtonprivate IconStyleclearTextButton
-
Constructor Summary
Constructors Constructor Description ManualCountEditDialog(Map<String, Object> source)ManualCountEditDialog(JSONObject json)ManualCountEditDialog(ScanbotColor sheetColor, ScanbotColor dividerColor, ScanbotColor modalOverlayColor, StyledText title, StyledText info, ButtonConfiguration updateButton, ButtonConfiguration cancelButton, IconStyle clearTextButton)
-
Method Summary
Modifier and Type Method Description final ScanbotColorgetSheetColor()Color of the edit dialog's background. final UnitsetSheetColor(ScanbotColor sheetColor)Color of the edit dialog's background. final ScanbotColorgetDividerColor()Color of the divider and separator lines in the edit dialog. final UnitsetDividerColor(ScanbotColor dividerColor)Color of the divider and separator lines in the edit dialog. final ScanbotColorgetModalOverlayColor()Background color of the overlay surrounding the edit dialog. final UnitsetModalOverlayColor(ScanbotColor modalOverlayColor)Background color of the overlay surrounding the edit dialog. final StyledTextgetTitle()Configuration of the edit dialog's title. final UnitsetTitle(StyledText title)Configuration of the edit dialog's title. final StyledTextgetInfo()Configuration of the edit dialog's info text. final UnitsetInfo(StyledText info)Configuration of the edit dialog's info text. final ButtonConfigurationgetUpdateButton()Configuration of the edit dialog's confirm button. final UnitsetUpdateButton(ButtonConfiguration updateButton)Configuration of the edit dialog's confirm button. final ButtonConfigurationgetCancelButton()Configuration of the edit dialog's cancel button. final UnitsetCancelButton(ButtonConfiguration cancelButton)Configuration of the edit dialog's cancel button. final IconStylegetClearTextButton()Configuration of the edit dialog's button to clear the entered count number. final UnitsetClearTextButton(IconStyle clearTextButton)Configuration of the edit dialog's button to clear the entered count number. final JSONObjecttoJson(ToJsonConfiguration config)final ManualCountEditDialogclone()final static ManualCountEditDialogdefault()-
-
Constructor Detail
-
ManualCountEditDialog
ManualCountEditDialog(JSONObject json)
-
ManualCountEditDialog
ManualCountEditDialog(ScanbotColor sheetColor, ScanbotColor dividerColor, ScanbotColor modalOverlayColor, StyledText title, StyledText info, ButtonConfiguration updateButton, ButtonConfiguration cancelButton, IconStyle clearTextButton)
-
-
Method Detail
-
getSheetColor
final ScanbotColor getSheetColor()
Color of the edit dialog's background.
Default is "?sbColorSurface"
-
setSheetColor
final Unit setSheetColor(ScanbotColor sheetColor)
Color of the edit dialog's background.
Default is "?sbColorSurface"
-
getDividerColor
final ScanbotColor getDividerColor()
Color of the divider and separator lines in the edit dialog.
Default is "?sbColorOutline"
-
setDividerColor
final Unit setDividerColor(ScanbotColor dividerColor)
Color of the divider and separator lines in the edit dialog.
Default is "?sbColorOutline"
-
getModalOverlayColor
final ScanbotColor getModalOverlayColor()
Background color of the overlay surrounding the edit dialog.
Default is "?sbColorModalOverlay"
-
setModalOverlayColor
final Unit setModalOverlayColor(ScanbotColor modalOverlayColor)
Background color of the overlay surrounding the edit dialog.
Default is "?sbColorModalOverlay"
-
getTitle
final StyledText getTitle()
Configuration of the edit dialog's title.
-
setTitle
final Unit setTitle(StyledText title)
Configuration of the edit dialog's title.
-
getInfo
final StyledText getInfo()
Configuration of the edit dialog's info text.
-
setInfo
final Unit setInfo(StyledText info)
Configuration of the edit dialog's info text.
-
getUpdateButton
final ButtonConfiguration getUpdateButton()
Configuration of the edit dialog's confirm button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.
-
setUpdateButton
final Unit setUpdateButton(ButtonConfiguration updateButton)
Configuration of the edit dialog's confirm button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.
-
getCancelButton
final ButtonConfiguration getCancelButton()
Configuration of the edit dialog's cancel button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.
-
setCancelButton
final Unit setCancelButton(ButtonConfiguration cancelButton)
Configuration of the edit dialog's cancel button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.
-
getClearTextButton
final IconStyle getClearTextButton()
Configuration of the edit dialog's button to clear the entered count number.
-
setClearTextButton
final Unit setClearTextButton(IconStyle clearTextButton)
Configuration of the edit dialog's button to clear the entered count number.
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final ManualCountEditDialog clone()
-
default
final static ManualCountEditDialog default()
-
-
-
-