Package net.webpdf.wsclient.openapi
Class OperationTransitionActionSetTransition
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationTransitionActionSetTransition
-
public class OperationTransitionActionSetTransition extends Object
The setTransition action shows the changes that result from the actions with the use of the defined transition animation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationTransitionActionSetTransition.DirectionEnumThe direction of the transition animation (provided that it can be applied to the animation)static classOperationTransitionActionSetTransition.StyleEnumThe style of transition animation
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DIRECTIONstatic StringJSON_PROPERTY_DURATIONstatic StringJSON_PROPERTY_EFFECT_DIMENSION_HORIZONTALstatic StringJSON_PROPERTY_FLY_AREA_OPAQUEstatic StringJSON_PROPERTY_FLY_SCALEstatic StringJSON_PROPERTY_MOTION_INWARDstatic StringJSON_PROPERTY_SCALINGstatic StringJSON_PROPERTY_STYLE
-
Constructor Summary
Constructors Constructor Description OperationTransitionActionSetTransition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationTransitionActionSetTransitiondirection(OperationTransitionActionSetTransition.DirectionEnum direction)OperationTransitionActionSetTransitionduration(Float duration)OperationTransitionActionSetTransitioneffectDimensionHorizontal(Boolean effectDimensionHorizontal)booleanequals(Object o)OperationTransitionActionSetTransitionflyAreaOpaque(Boolean flyAreaOpaque)OperationTransitionActionSetTransitionflyScale(Integer flyScale)@Nullable OperationTransitionActionSetTransition.DirectionEnumgetDirection()The direction of the transition animation (provided that it can be applied to the animation)@Nullable FloatgetDuration()The page transition animation's duration, in seconds.@Nullable BooleangetEffectDimensionHorizontal()Option for the split and blinds animation styles - used to define the axis along which the effect should happen. true corresponds to the horizontal axis; false to the vertical one.@Nullable BooleangetFlyAreaOpaque()Option for the \"fly\" animation style - used to define whether the page background for the page that flies in should be transparent initially.@Nullable IntegergetFlyScale()Option for the \"fly\" animation style - used to define the starting scale for the page that flies in.@Nullable BooleangetMotionInward()Option for the split, box, and fly animation styles - defines whether the animation direction will be from the edges of the page towards the centre (true) or from the centre towards the edges (false).@Nullable IntegergetScaling()Used to set the value for zooming (as a percentage).@Nullable OperationTransitionActionSetTransition.StyleEnumgetStyle()The style of transition animationinthashCode()OperationTransitionActionSetTransitionmotionInward(Boolean motionInward)OperationTransitionActionSetTransitionscaling(Integer scaling)voidsetDirection(OperationTransitionActionSetTransition.DirectionEnum direction)voidsetDuration(Float duration)voidsetEffectDimensionHorizontal(Boolean effectDimensionHorizontal)voidsetFlyAreaOpaque(Boolean flyAreaOpaque)voidsetFlyScale(Integer flyScale)voidsetMotionInward(Boolean motionInward)voidsetScaling(Integer scaling)voidsetStyle(OperationTransitionActionSetTransition.StyleEnum style)OperationTransitionActionSetTransitionstyle(OperationTransitionActionSetTransition.StyleEnum style)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DIRECTION
public static final String JSON_PROPERTY_DIRECTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_DURATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EFFECT_DIMENSION_HORIZONTAL
public static final String JSON_PROPERTY_EFFECT_DIMENSION_HORIZONTAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FLY_AREA_OPAQUE
public static final String JSON_PROPERTY_FLY_AREA_OPAQUE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FLY_SCALE
public static final String JSON_PROPERTY_FLY_SCALE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MOTION_INWARD
public static final String JSON_PROPERTY_MOTION_INWARD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCALING
public static final String JSON_PROPERTY_SCALING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STYLE
public static final String JSON_PROPERTY_STYLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
direction
public OperationTransitionActionSetTransition direction(OperationTransitionActionSetTransition.DirectionEnum direction)
-
getDirection
@Nullable public @Nullable OperationTransitionActionSetTransition.DirectionEnum getDirection()
The direction of the transition animation (provided that it can be applied to the animation). * leftToRight = From left to right * bottomToTop = From bottom to top * rightToLeft = From right to left * topToBottom = From top to bottom * topLeftToBottomRight = From top left to bottom right * none = Use the default value for the animation- Returns:
- direction
-
setDirection
public void setDirection(OperationTransitionActionSetTransition.DirectionEnum direction)
-
duration
public OperationTransitionActionSetTransition duration(Float duration)
-
getDuration
@Nullable public @Nullable Float getDuration()
The page transition animation's duration, in seconds. Make sure to avoid excessively high values, as certain reader programs will force the entire animation to be displayed without any option for interrupting it. Moreover, an excessively long animation can result in display and execution errors in the reader program. Values under 10 seconds are recommended. minimum: 0- Returns:
- duration
-
setDuration
public void setDuration(Float duration)
-
effectDimensionHorizontal
public OperationTransitionActionSetTransition effectDimensionHorizontal(Boolean effectDimensionHorizontal)
-
getEffectDimensionHorizontal
@Nullable public @Nullable Boolean getEffectDimensionHorizontal()
Option for the split and blinds animation styles - used to define the axis along which the effect should happen. true corresponds to the horizontal axis; false to the vertical one.- Returns:
- effectDimensionHorizontal
-
setEffectDimensionHorizontal
public void setEffectDimensionHorizontal(Boolean effectDimensionHorizontal)
-
flyAreaOpaque
public OperationTransitionActionSetTransition flyAreaOpaque(Boolean flyAreaOpaque)
-
getFlyAreaOpaque
@Nullable public @Nullable Boolean getFlyAreaOpaque()
Option for the \"fly\" animation style - used to define whether the page background for the page that flies in should be transparent initially.- Returns:
- flyAreaOpaque
-
setFlyAreaOpaque
public void setFlyAreaOpaque(Boolean flyAreaOpaque)
-
flyScale
public OperationTransitionActionSetTransition flyScale(Integer flyScale)
-
getFlyScale
@Nullable public @Nullable Integer getFlyScale()
Option for the \"fly\" animation style - used to define the starting scale for the page that flies in. The page will smoothly be scaled from this starting scale all the way to the size of the page being displayed (defined as a percentage). minimum: 0 maximum: 6400- Returns:
- flyScale
-
setFlyScale
public void setFlyScale(Integer flyScale)
-
motionInward
public OperationTransitionActionSetTransition motionInward(Boolean motionInward)
-
getMotionInward
@Nullable public @Nullable Boolean getMotionInward()
Option for the split, box, and fly animation styles - defines whether the animation direction will be from the edges of the page towards the centre (true) or from the centre towards the edges (false).- Returns:
- motionInward
-
setMotionInward
public void setMotionInward(Boolean motionInward)
-
scaling
public OperationTransitionActionSetTransition scaling(Integer scaling)
-
getScaling
@Nullable public @Nullable Integer getScaling()
Used to set the value for zooming (as a percentage). minimum: 0- Returns:
- scaling
-
setScaling
public void setScaling(Integer scaling)
-
style
public OperationTransitionActionSetTransition style(OperationTransitionActionSetTransition.StyleEnum style)
-
getStyle
@Nullable public @Nullable OperationTransitionActionSetTransition.StyleEnum getStyle()
The style of transition animation. * blinds = Crossfades * box = Crossfades in a rectangular pattern * cover = Covers * dissolve = Dissolves * fade = Fades * fly = Page flies in * glitter = Page dissolves and is replaced * push = Page is pushed out * split = Splits page * uncover = Uncovers page * wipe = Wipes page * none = No special effect- Returns:
- style
-
setStyle
public void setStyle(OperationTransitionActionSetTransition.StyleEnum style)
-
-