TransitionDefinition describes how a javafx.css.StyleableProperty changes from one
value to another when its value is changed implicitly by the CSS subsystem. The transition can be
smooth, for example using linear or Bézier interpolation, or discrete using stepwise interpolation.
| Modifier and Type | Field and Description |
|---|---|
| private final Duration | |
| private final Duration | duration
Record Component accessed by duration(). duration of the transition |
| private final Interpolator | interpolator
Record Component accessed by interpolator(). interpolator for the transition |
| private final String | propertyName
Record Component accessed by propertyName(). the CSS property name, or "all" to target any property |
| Access | Constructor and Description |
|---|---|
| public | TransitionDefinition(String propertyName, Duration duration, Duration delay, Interpolator interpolator)
Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public Duration | |
| public Duration | |
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public Interpolator | interpolator()
Record Component getter of interpolator.
Record Component interpolator for the transition |
| public String | propertyName()
Record Component getter of propertyName.
Record Component the CSS property name, or "all" to target any property |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| delay | back to summary |
|---|---|
| private final Duration delay Record Component accessed by delay(). delay after which the transition is started; if negative, the transition starts immediately, but will appear to have begun at an earlier point in time | |
| duration | back to summary |
|---|---|
| private final Duration duration Record Component accessed by duration(). duration of the transition | |
| interpolator | back to summary |
|---|---|
| private final Interpolator interpolator Record Component accessed by interpolator(). interpolator for the transition | |
| propertyName | back to summary |
|---|---|
| private final String propertyName Record Component accessed by propertyName(). the CSS property name, or "all" to target any property | |
| TransitionDefinition | back to summary |
|---|---|
| public TransitionDefinition(String propertyName, Duration duration, Duration delay, Interpolator interpolator) Creates a new
| |
| delay | back to summary |
|---|---|
| public Duration delay() Record Component getter of delay.
| |
| duration | back to summary |
|---|---|
| public Duration duration() Record Component getter of duration.
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| interpolator | back to summary |
|---|---|
| public Interpolator interpolator() Record Component getter of interpolator.
| |
| propertyName | back to summary |
|---|---|
| public String propertyName() Record Component getter of propertyName.
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |