Class ReviewBottomBarConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ReviewBottomBarConfiguration implements Parcelable
Configuration of the bottom bar for the review screen.
-
-
Field Summary
Fields Modifier and Type Field Description private BarButtonConfiguration
addButton
private BarButtonConfiguration
retakeButton
private BarButtonConfiguration
cropButton
private BarButtonConfiguration
rotateButton
private BarButtonConfiguration
deleteButton
private ButtonConfiguration
submitButton
-
Constructor Summary
Constructors Constructor Description ReviewBottomBarConfiguration(Map<String, Object> source)
ReviewBottomBarConfiguration(JSONObject json)
ReviewBottomBarConfiguration(BarButtonConfiguration addButton, BarButtonConfiguration retakeButton, BarButtonConfiguration cropButton, BarButtonConfiguration rotateButton, BarButtonConfiguration deleteButton, ButtonConfiguration submitButton)
-
Method Summary
Modifier and Type Method Description final BarButtonConfiguration
getAddButton()
Configuration of the 'add' button, located in the bottom bar. final Unit
setAddButton(BarButtonConfiguration addButton)
Configuration of the 'add' button, located in the bottom bar. final BarButtonConfiguration
getRetakeButton()
Configuration of the 'retake' button, located in the bottom bar. final Unit
setRetakeButton(BarButtonConfiguration retakeButton)
Configuration of the 'retake' button, located in the bottom bar. final BarButtonConfiguration
getCropButton()
Configuration of the 'crop' button, located in the bottom bar. final Unit
setCropButton(BarButtonConfiguration cropButton)
Configuration of the 'crop' button, located in the bottom bar. final BarButtonConfiguration
getRotateButton()
Configuration of the 'rotate' button, located in the bottom bar. final Unit
setRotateButton(BarButtonConfiguration rotateButton)
Configuration of the 'rotate' button, located in the bottom bar. final BarButtonConfiguration
getDeleteButton()
Configuration of the 'delete' button, located in the bottom bar. final Unit
setDeleteButton(BarButtonConfiguration deleteButton)
Configuration of the 'delete' button, located in the bottom bar. final ButtonConfiguration
getSubmitButton()
Configuration of the 'submit' button, located in the bottom bar. final Unit
setSubmitButton(ButtonConfiguration submitButton)
Configuration of the 'submit' button, located in the bottom bar. final JSONObject
toJson()
final static ReviewBottomBarConfiguration
default()
-
-
Constructor Detail
-
ReviewBottomBarConfiguration
ReviewBottomBarConfiguration(JSONObject json)
-
ReviewBottomBarConfiguration
ReviewBottomBarConfiguration(BarButtonConfiguration addButton, BarButtonConfiguration retakeButton, BarButtonConfiguration cropButton, BarButtonConfiguration rotateButton, BarButtonConfiguration deleteButton, ButtonConfiguration submitButton)
-
-
Method Detail
-
getAddButton
final BarButtonConfiguration getAddButton()
Configuration of the 'add' button, located in the bottom bar.
-
setAddButton
final Unit setAddButton(BarButtonConfiguration addButton)
Configuration of the 'add' button, located in the bottom bar.
-
getRetakeButton
final BarButtonConfiguration getRetakeButton()
Configuration of the 'retake' button, located in the bottom bar.
-
setRetakeButton
final Unit setRetakeButton(BarButtonConfiguration retakeButton)
Configuration of the 'retake' button, located in the bottom bar.
-
getCropButton
final BarButtonConfiguration getCropButton()
Configuration of the 'crop' button, located in the bottom bar.
-
setCropButton
final Unit setCropButton(BarButtonConfiguration cropButton)
Configuration of the 'crop' button, located in the bottom bar.
-
getRotateButton
final BarButtonConfiguration getRotateButton()
Configuration of the 'rotate' button, located in the bottom bar.
-
setRotateButton
final Unit setRotateButton(BarButtonConfiguration rotateButton)
Configuration of the 'rotate' button, located in the bottom bar.
-
getDeleteButton
final BarButtonConfiguration getDeleteButton()
Configuration of the 'delete' button, located in the bottom bar.
-
setDeleteButton
final Unit setDeleteButton(BarButtonConfiguration deleteButton)
Configuration of the 'delete' button, located in the bottom bar.
-
getSubmitButton
final ButtonConfiguration getSubmitButton()
Configuration of the 'submit' button, located in the bottom bar.
-
setSubmitButton
final Unit setSubmitButton(ButtonConfiguration submitButton)
Configuration of the 'submit' button, located in the bottom bar.
-
toJson
final JSONObject toJson()
-
default
final static ReviewBottomBarConfiguration default()
-
-
-
-