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 BarButtonConfigurationdetectButtonprivate BarButtonConfigurationrotateButtonprivate BarButtonConfigurationresetButton
-
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 BarButtonConfigurationgetDetectButton()Configuration of the 'detect document' button, located in the bottom bar. final UnitsetDetectButton(BarButtonConfiguration detectButton)Configuration of the 'detect document' button, located in the bottom bar. final BarButtonConfigurationgetRotateButton()Configuration of the 'rotate page' button, located in the bottom bar. final UnitsetRotateButton(BarButtonConfiguration rotateButton)Configuration of the 'rotate page' button, located in the bottom bar. final BarButtonConfigurationgetResetButton()Configuration of the 'reset detection' button, located in the bottom bar. final UnitsetResetButton(BarButtonConfiguration resetButton)Configuration of the 'reset detection' button, located in the bottom bar. final JSONObjecttoJson(ToJsonConfiguration config)final CroppingBottomBarclone()final static CroppingBottomBardefault()-
-
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(ToJsonConfiguration config)
-
clone
final CroppingBottomBar clone()
-
default
final static CroppingBottomBar default()
-
-
-
-