public class TransitionOptions
extends java.lang.Object
Constructor and Description |
---|
TransitionOptions(long duration,
long delay)
Create a transition property based on duration and a delay.
|
TransitionOptions(long duration,
long delay,
boolean enablePlacementTransitions)
Create a transition property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static TransitionOptions |
fromTransitionOptions(long duration,
long delay)
Deprecated.
use
fromTransitionOptions(long, long, boolean) instead |
long |
getDelay()
Get the transition delay.
|
long |
getDuration()
Get the transition duration.
|
int |
hashCode() |
boolean |
isEnablePlacementTransitions()
Get the flag that describes whether the fade in/out symbol placement transition should be enabled.
|
java.lang.String |
toString() |
public TransitionOptions(long duration, long delay)
duration
- the duration of the transitiondelay
- the delay to start the transitionpublic TransitionOptions(long duration, long delay, boolean enablePlacementTransitions)
duration
- the duration of the transitiondelay
- the delay to start the transitionenablePlacementTransitions
- the flag that describes whether the fade in/out symbol placement transition
should be enabled. Defaults to true.@Deprecated public static TransitionOptions fromTransitionOptions(long duration, long delay)
fromTransitionOptions(long, long, boolean)
insteadduration
- the duration of the transitiondelay
- the delay to start the transitionpublic long getDuration()
public long getDelay()
public boolean isEnablePlacementTransitions()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object