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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static TransitionOptions |
fromTransitionOptions(long duration,
long delay)
Create a transition property based on duration and a delay.
|
long |
getDelay()
Get the transition delay.
|
long |
getDuration()
Get the transition duration.
|
int |
hashCode() |
java.lang.String |
toString() |
public TransitionOptions(long duration, long delay)
duration
- the duration of the transitiondelay
- the delay to start the transitionpublic static TransitionOptions fromTransitionOptions(long duration, long delay)
duration
- the duration of the transitiondelay
- the delay to start the transitionpublic long getDuration()
public long getDelay()
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
@NonNull public java.lang.String toString()
toString
in class java.lang.Object