@SingleOutputAllowedExtensions @HasTransitions public class SetPagesTransitionParameters extends SinglePdfSourceSingleOutputParameters
Constructor and Description |
---|
SetPagesTransitionParameters() |
SetPagesTransitionParameters(PdfPageTransition defaultTransition) |
Modifier and Type | Method and Description |
---|---|
void |
clearTransitions()
Clears the collection of transitions stored in this parameter instance.
|
boolean |
equals(Object other) |
PdfPageTransition |
getDefaultTransition() |
PdfPageTransition |
getOrDefault(int page) |
PdfSource<?> |
getSource() |
Map<Integer,PdfPageTransition> |
getTransitions() |
int |
hashCode() |
boolean |
isFullScreen() |
PdfPageTransition |
putTransition(Integer page,
PdfPageTransition transition)
Associates the given transition to the given page number.
|
void |
setFullScreen(boolean fullScreen) |
void |
setSource(PdfSource<?> source)
Set the source for this parameter.
|
getOutput, setOutput
getMinRequiredPdfVersion, getVersion, isCompress, setCompress, setVersion
getExistingOutputPolicy, isLenient, setExistingOutputPolicy, setLenient, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExistingOutputPolicy, isLenient, setExistingOutputPolicy, setLenient
public SetPagesTransitionParameters()
public SetPagesTransitionParameters(PdfPageTransition defaultTransition)
defaultTransition
- the default transitionpublic boolean isFullScreen()
public void setFullScreen(boolean fullScreen)
public PdfPageTransition putTransition(Integer page, PdfPageTransition transition)
page
- transition
- public void clearTransitions()
public Map<Integer,PdfPageTransition> getTransitions()
public PdfPageTransition getDefaultTransition()
public PdfPageTransition getOrDefault(int page)
page
- public int hashCode()
hashCode
in class SinglePdfSourceSingleOutputParameters
public boolean equals(Object other)
equals
in class SinglePdfSourceSingleOutputParameters
public PdfSource<?> getSource()
getSource
in interface SinglePdfSourceTaskParameters
public void setSource(PdfSource<?> source)
SinglePdfSourceTaskParameters
setSource
in interface SinglePdfSourceTaskParameters
Copyright © 2019 sejda. All rights reserved.