Class CroppingBottomBar
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class CroppingBottomBar implements Parcelable
Configuration of the bottom bar for the cropping screen.
-
-
Field Summary
Fields Modifier and Type Field Description private BarButtonConfiguration
detectButton
private BarButtonConfiguration
rotateButton
private BarButtonConfiguration
resetButton
-
Constructor Summary
Constructors Constructor Description CroppingBottomBar(Map<String, Object> source)
CroppingBottomBar(JSONObject json)
CroppingBottomBar(BarButtonConfiguration detectButton, BarButtonConfiguration rotateButton, BarButtonConfiguration resetButton)
-
Method Summary
Modifier and Type Method Description final BarButtonConfiguration
getDetectButton()
Configuration of the 'detect document' button, located in the bottom bar. final Unit
setDetectButton(BarButtonConfiguration detectButton)
Configuration of the 'detect document' button, located in the bottom bar. final BarButtonConfiguration
getRotateButton()
Configuration of the 'rotate page' button, located in the bottom bar. final Unit
setRotateButton(BarButtonConfiguration rotateButton)
Configuration of the 'rotate page' button, located in the bottom bar. final BarButtonConfiguration
getResetButton()
Configuration of the 'reset detection' button, located in the bottom bar. final Unit
setResetButton(BarButtonConfiguration resetButton)
Configuration of the 'reset detection' button, located in the bottom bar. final JSONObject
toJson()
final static CroppingBottomBar
default()
-
-
Constructor Detail
-
CroppingBottomBar
CroppingBottomBar(JSONObject json)
-
CroppingBottomBar
CroppingBottomBar(BarButtonConfiguration detectButton, BarButtonConfiguration rotateButton, BarButtonConfiguration resetButton)
-
-
Method Detail
-
getDetectButton
final BarButtonConfiguration getDetectButton()
Configuration of the 'detect document' button, located in the bottom bar.
-
setDetectButton
final Unit setDetectButton(BarButtonConfiguration detectButton)
Configuration of the 'detect document' button, located in the bottom bar.
-
getRotateButton
final BarButtonConfiguration getRotateButton()
Configuration of the 'rotate page' button, located in the bottom bar.
-
setRotateButton
final Unit setRotateButton(BarButtonConfiguration rotateButton)
Configuration of the 'rotate page' button, located in the bottom bar.
-
getResetButton
final BarButtonConfiguration getResetButton()
Configuration of the 'reset detection' button, located in the bottom bar.
-
setResetButton
final Unit setResetButton(BarButtonConfiguration resetButton)
Configuration of the 'reset detection' button, located in the bottom bar.
-
toJson
final JSONObject toJson()
-
default
final static CroppingBottomBar default()
-
-
-
-