-
- All Implemented Interfaces:
-
java.io.Serializable
public final class PageEditConfiguration implements Serializable
A configuration class used to alter the default page editing behaviour.
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanallowPageRotationprivate BooleanallowPageFilterprivate BooleanallowPageArrangementprivate BooleanallowPageCroppingprivate BooleanallowPageRetakeprivate BooleanallowPageAddprivate BooleanallowPageDeletionprivate BooleanpageArrangementShowDeleteButtonprivate BooleanpageArrangementShowPageNumber
-
Constructor Summary
Constructors Constructor Description PageEditConfiguration()
-
Method Summary
Modifier and Type Method Description final BooleangetAllowPageRotation()If false, the bottom toolbar will hide the rotate page item. final UnitsetAllowPageRotation(Boolean allowPageRotation)If false, the bottom toolbar will hide the rotate page item. final BooleangetAllowPageFilter()If false, the bottom toolbar will hide the filter page item. final UnitsetAllowPageFilter(Boolean allowPageFilter)If false, the bottom toolbar will hide the filter page item. final BooleangetAllowPageArrangement()If false, the bottom toolbar will hide the arrange page item. final UnitsetAllowPageArrangement(Boolean allowPageArrangement)If false, the bottom toolbar will hide the arrange page item. final BooleangetAllowPageCropping()If false, the bottom toolbar will hide the page cropping item. final UnitsetAllowPageCropping(Boolean allowPageCropping)If false, the bottom toolbar will hide the page cropping item. final BooleangetAllowPageRetake()If true, the bottom toolbar will show a button allowing to retake the current page. final UnitsetAllowPageRetake(Boolean allowPageRetake)If true, the bottom toolbar will show a button allowing to retake the current page. final BooleangetAllowPageAdd()If true, the bottom toolbar will show a button allowing to add a new page. final UnitsetAllowPageAdd(Boolean allowPageAdd)If true, the bottom toolbar will show a button allowing to add a new page. final BooleangetAllowPageDeletion()If true, the menu item for deleting pages will be displayed in the toolbar. final UnitsetAllowPageDeletion(Boolean allowPageDeletion)If true, the menu item for deleting pages will be displayed in the toolbar. final BooleangetPageArrangementShowDeleteButton()If true, each item of the page arrangement functionality will show a delete button. final UnitsetPageArrangementShowDeleteButton(Boolean pageArrangementShowDeleteButton)If true, each item of the page arrangement functionality will show a delete button. final BooleangetPageArrangementShowPageNumber()If true, each item of the page arrangement functionality will show it's page number. final UnitsetPageArrangementShowPageNumber(Boolean pageArrangementShowPageNumber)If true, each item of the page arrangement functionality will show it's page number. -
-
Method Detail
-
getAllowPageRotation
final Boolean getAllowPageRotation()
If false, the bottom toolbar will hide the rotate page item. Defaults to true.
-
setAllowPageRotation
final Unit setAllowPageRotation(Boolean allowPageRotation)
If false, the bottom toolbar will hide the rotate page item. Defaults to true.
-
getAllowPageFilter
final Boolean getAllowPageFilter()
If false, the bottom toolbar will hide the filter page item. Defaults to true.
-
setAllowPageFilter
final Unit setAllowPageFilter(Boolean allowPageFilter)
If false, the bottom toolbar will hide the filter page item. Defaults to true.
-
getAllowPageArrangement
final Boolean getAllowPageArrangement()
If false, the bottom toolbar will hide the arrange page item. Defaults to true.
-
setAllowPageArrangement
final Unit setAllowPageArrangement(Boolean allowPageArrangement)
If false, the bottom toolbar will hide the arrange page item. Defaults to true.
-
getAllowPageCropping
final Boolean getAllowPageCropping()
If false, the bottom toolbar will hide the page cropping item. Defaults to true.
-
setAllowPageCropping
final Unit setAllowPageCropping(Boolean allowPageCropping)
If false, the bottom toolbar will hide the page cropping item. Defaults to true.
-
getAllowPageRetake
final Boolean getAllowPageRetake()
If true, the bottom toolbar will show a button allowing to retake the current page. Defaults to false.
-
setAllowPageRetake
final Unit setAllowPageRetake(Boolean allowPageRetake)
If true, the bottom toolbar will show a button allowing to retake the current page. Defaults to false.
-
getAllowPageAdd
final Boolean getAllowPageAdd()
If true, the bottom toolbar will show a button allowing to add a new page. Defaults to false.
-
setAllowPageAdd
final Unit setAllowPageAdd(Boolean allowPageAdd)
If true, the bottom toolbar will show a button allowing to add a new page. Defaults to false.
-
getAllowPageDeletion
final Boolean getAllowPageDeletion()
If true, the menu item for deleting pages will be displayed in the toolbar. Defaults to true.
-
setAllowPageDeletion
final Unit setAllowPageDeletion(Boolean allowPageDeletion)
If true, the menu item for deleting pages will be displayed in the toolbar. Defaults to true.
-
getPageArrangementShowDeleteButton
final Boolean getPageArrangementShowDeleteButton()
If true, each item of the page arrangement functionality will show a delete button. Defaults to false.
-
setPageArrangementShowDeleteButton
final Unit setPageArrangementShowDeleteButton(Boolean pageArrangementShowDeleteButton)
If true, each item of the page arrangement functionality will show a delete button. Defaults to false.
-
getPageArrangementShowPageNumber
final Boolean getPageArrangementShowPageNumber()
If true, each item of the page arrangement functionality will show it's page number. Defaults to true.
-
setPageArrangementShowPageNumber
final Unit setPageArrangementShowPageNumber(Boolean pageArrangementShowPageNumber)
If true, each item of the page arrangement functionality will show it's page number. Defaults to true.
-
-
-
-