-
- 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 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 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.
-
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.
-
-
-
-