Class ReviewMorePopupMenu
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ReviewMorePopupMenu implements Parcelable
Configuration of the 'more' popup menu for the review screen.
-
-
Field Summary
Fields Modifier and Type Field Description private ScanbotColor
backgroundColor
private PopupMenuItem
reorderPages
private PopupMenuItem
deleteAll
-
Constructor Summary
Constructors Constructor Description ReviewMorePopupMenu(Map<String, Object> source)
ReviewMorePopupMenu(JSONObject json)
ReviewMorePopupMenu(ScanbotColor backgroundColor, PopupMenuItem reorderPages, PopupMenuItem deleteAll)
-
Method Summary
Modifier and Type Method Description final ScanbotColor
getBackgroundColor()
The background color of the popup menu. final Unit
setBackgroundColor(ScanbotColor backgroundColor)
The background color of the popup menu. final PopupMenuItem
getReorderPages()
Configuration of the 'reorder pages' button. final Unit
setReorderPages(PopupMenuItem reorderPages)
Configuration of the 'reorder pages' button. final PopupMenuItem
getDeleteAll()
Configuration of the 'delete all' button. final Unit
setDeleteAll(PopupMenuItem deleteAll)
Configuration of the 'delete all' button. final JSONObject
toJson()
final static ReviewMorePopupMenu
default()
-
-
Constructor Detail
-
ReviewMorePopupMenu
ReviewMorePopupMenu(JSONObject json)
-
ReviewMorePopupMenu
ReviewMorePopupMenu(ScanbotColor backgroundColor, PopupMenuItem reorderPages, PopupMenuItem deleteAll)
-
-
Method Detail
-
getBackgroundColor
final ScanbotColor getBackgroundColor()
The background color of the popup menu. Default is "?sbColorSurface"
-
setBackgroundColor
final Unit setBackgroundColor(ScanbotColor backgroundColor)
The background color of the popup menu. Default is "?sbColorSurface"
-
getReorderPages
final PopupMenuItem getReorderPages()
Configuration of the 'reorder pages' button.
-
setReorderPages
final Unit setReorderPages(PopupMenuItem reorderPages)
Configuration of the 'reorder pages' button.
-
getDeleteAll
final PopupMenuItem getDeleteAll()
Configuration of the 'delete all' button.
-
setDeleteAll
final Unit setDeleteAll(PopupMenuItem deleteAll)
Configuration of the 'delete all' button.
-
toJson
final JSONObject toJson()
-
default
final static ReviewMorePopupMenu default()
-
-
-
-