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 ScanbotColorbackgroundColorprivate PopupMenuItemreorderPagesprivate PopupMenuItemdeleteAll
-
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 ScanbotColorgetBackgroundColor()The background color of the popup menu. final UnitsetBackgroundColor(ScanbotColor backgroundColor)The background color of the popup menu. final PopupMenuItemgetReorderPages()Configuration of the 'reorder pages' button. final UnitsetReorderPages(PopupMenuItem reorderPages)Configuration of the 'reorder pages' button. final PopupMenuItemgetDeleteAll()Configuration of the 'delete all' button. final UnitsetDeleteAll(PopupMenuItem deleteAll)Configuration of the 'delete all' button. final JSONObjecttoJson(ToJsonConfiguration config)final ReviewMorePopupMenuclone()final static ReviewMorePopupMenudefault()-
-
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(ToJsonConfiguration config)
-
clone
final ReviewMorePopupMenu clone()
-
default
final static ReviewMorePopupMenu default()
-
-
-
-