Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.animation |
Provides the set of classes for ease of use transition based animations.
|
javafx.scene.control |
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
|
javafx.scene.media |
Provides the set of classes for integrating audio and video into Java FX
Applications.
|
javafx.util |
Contains various utilities and helper classes.
|
Modifier and Type | Field and Description |
---|---|
private static Duration |
Animation.DEFAULT_CYCLE_DURATION |
private static Duration |
Animation.DEFAULT_DELAY |
private static Duration |
TranslateTransition.DEFAULT_DURATION |
private static Duration |
StrokeTransition.DEFAULT_DURATION |
private static Duration |
ScaleTransition.DEFAULT_DURATION |
private static Duration |
RotateTransition.DEFAULT_DURATION |
private static Duration |
PauseTransition.DEFAULT_DURATION |
private static Duration |
PathTransition.DEFAULT_DURATION |
private static Duration |
FillTransition.DEFAULT_DURATION |
private static Duration |
FadeTransition.DEFAULT_DURATION |
private static Duration |
Animation.DEFAULT_TOTAL_DURATION |
private Duration |
AnimationBuilder.delay |
private Duration |
TranslateTransitionBuilder.duration |
private Duration |
StrokeTransitionBuilder.duration |
private Duration |
ScaleTransitionBuilder.duration |
private Duration |
RotateTransitionBuilder.duration |
private Duration |
PauseTransitionBuilder.duration |
private Duration |
PathTransitionBuilder.duration |
private Duration |
FillTransitionBuilder.duration |
private Duration |
FadeTransitionBuilder.duration |
private Duration |
KeyFrame.time |
Modifier and Type | Field and Description |
---|---|
private ObservableMap<java.lang.String,Duration> |
Animation.cuePoints |
private ReadOnlyObjectProperty<Duration> |
Animation.cycleDuration
Read-only variable to indicate the duration of one cycle of this
Animation : the time it takes to play from time 0 to the
KeyFrame with the largest time (at the default rate of
1.0). |
private ObjectProperty<Duration> |
Animation.delay
Delays the start of an animation.
|
private ObjectProperty<Duration> |
TranslateTransition.duration
The duration of this
TranslateTransition . |
private ObjectProperty<Duration> |
StrokeTransition.duration
The duration of this
StrokeTransition . |
private ObjectProperty<Duration> |
ScaleTransition.duration
The duration of this
ScaleTransition . |
private ObjectProperty<Duration> |
RotateTransition.duration
The duration of this
RotateTransition . |
private ObjectProperty<Duration> |
PauseTransition.duration
The duration of this
Transition . |
private ObjectProperty<Duration> |
PathTransition.duration
The duration of this
Transition . |
private ObjectProperty<Duration> |
FillTransition.duration
The duration of this
FillTransition . |
private ObjectProperty<Duration> |
FadeTransition.duration
The duration of this
FadeTransition . |
private ReadOnlyObjectProperty<Duration> |
Animation.totalDuration
Read-only variable to indicate the total duration of this
Animation , including repeats. |
Modifier and Type | Method and Description |
---|---|
private Duration |
SequentialTransition.computeCycleDuration() |
private Duration |
ParallelTransition.computeCycleDuration() |
Duration |
Animation.CurrentTimeProperty.get() |
Duration |
Animation.getCurrentTime()
Gets the value of the property currentTime.
|
Duration |
Animation.getCycleDuration()
Gets the value of the property cycleDuration.
|
Duration |
Animation.getDelay()
Gets the value of the property delay.
|
Duration |
TranslateTransition.getDuration()
Gets the value of the property duration.
|
Duration |
StrokeTransition.getDuration()
Gets the value of the property duration.
|
Duration |
ScaleTransition.getDuration()
Gets the value of the property duration.
|
Duration |
RotateTransition.getDuration()
Gets the value of the property duration.
|
Duration |
PauseTransition.getDuration()
Gets the value of the property duration.
|
Duration |
PathTransition.getDuration()
Gets the value of the property duration.
|
Duration |
FillTransition.getDuration()
Gets the value of the property duration.
|
Duration |
FadeTransition.getDuration()
Gets the value of the property duration.
|
Duration |
KeyFrame.getTime()
Returns the time offset of this
KeyFrame . |
Duration |
Animation.getTotalDuration()
Gets the value of the property totalDuration.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<Duration> |
Animation.currentTimeProperty()
Defines the
Animation 's play head position. |
ReadOnlyObjectProperty<Duration> |
Animation.cycleDurationProperty()
Read-only variable to indicate the duration of one cycle of this
Animation : the time it takes to play from time 0 to the
KeyFrame with the largest time (at the default rate of
1.0). |
ObjectProperty<Duration> |
Animation.delayProperty()
Delays the start of an animation.
|
ObjectProperty<Duration> |
TranslateTransition.durationProperty()
The duration of this
TranslateTransition . |
ObjectProperty<Duration> |
StrokeTransition.durationProperty()
The duration of this
StrokeTransition . |
ObjectProperty<Duration> |
ScaleTransition.durationProperty()
The duration of this
ScaleTransition . |
ObjectProperty<Duration> |
RotateTransition.durationProperty()
The duration of this
RotateTransition . |
ObjectProperty<Duration> |
PauseTransition.durationProperty()
The duration of this
Transition . |
ObjectProperty<Duration> |
PathTransition.durationProperty()
The duration of this
Transition . |
ObjectProperty<Duration> |
FillTransition.durationProperty()
The duration of this
FillTransition . |
ObjectProperty<Duration> |
FadeTransition.durationProperty()
The duration of this
FadeTransition . |
ObservableMap<java.lang.String,Duration> |
Animation.getCuePoints()
The cue points can be
used to mark important positions of the
Animation . |
ReadOnlyObjectProperty<Duration> |
Animation.totalDurationProperty()
Read-only variable to indicate the total duration of this
Animation , including repeats. |
Modifier and Type | Method and Description |
---|---|
B |
AnimationBuilder.delay(Duration x)
Set the value of the
delay property for the instance constructed by this builder. |
TranslateTransitionBuilder |
TranslateTransitionBuilder.duration(Duration x)
Set the value of the
duration property for the instance constructed by this builder. |
StrokeTransitionBuilder |
StrokeTransitionBuilder.duration(Duration x)
Set the value of the
duration property for the instance constructed by this builder. |
ScaleTransitionBuilder |
ScaleTransitionBuilder.duration(Duration x)
Set the value of the
duration property for the instance constructed by this builder. |
RotateTransitionBuilder |
RotateTransitionBuilder.duration(Duration x)
Set the value of the
duration property for the instance constructed by this builder. |
PauseTransitionBuilder |
PauseTransitionBuilder.duration(Duration x)
Set the value of the
duration property for the instance constructed by this builder. |
PathTransitionBuilder |
PathTransitionBuilder.duration(Duration x)
Set the value of the
duration property for the instance constructed by this builder. |
FillTransitionBuilder |
FillTransitionBuilder.duration(Duration x)
Set the value of the
duration property for the instance constructed by this builder. |
FadeTransitionBuilder |
FadeTransitionBuilder.duration(Duration x)
Set the value of the
duration property for the instance constructed by this builder. |
void |
Animation.jumpTo(Duration time)
Jumps to a given position in this
Animation . |
void |
Animation.playFrom(Duration time)
A convenience method to play this
Animation from a specific
position. |
protected void |
Animation.setCycleDuration(Duration value)
Sets the value of the property cycleDuration.
|
void |
Animation.setDelay(Duration value)
Sets the value of the property delay.
|
void |
TranslateTransition.setDuration(Duration value)
Sets the value of the property duration.
|
void |
StrokeTransition.setDuration(Duration value)
Sets the value of the property duration.
|
void |
ScaleTransition.setDuration(Duration value)
Sets the value of the property duration.
|
void |
RotateTransition.setDuration(Duration value)
Sets the value of the property duration.
|
void |
PauseTransition.setDuration(Duration value)
Sets the value of the property duration.
|
void |
PathTransition.setDuration(Duration value)
Sets the value of the property duration.
|
void |
FillTransition.setDuration(Duration value)
Sets the value of the property duration.
|
void |
FadeTransition.setDuration(Duration value)
Sets the value of the property duration.
|
static Interpolator |
Interpolator.TANGENT(Duration t,
double v)
Creates a tangent interpolator, for which in-tangent and out-tangent are
identical.
|
static Interpolator |
Interpolator.TANGENT(Duration t1,
double v1,
Duration t2,
double v2)
Create a tangent interpolator.
|
Constructor and Description |
---|
FadeTransition(Duration duration)
The constructor of
FadeTransition |
FadeTransition(Duration duration,
Node node)
The constructor of
FadeTransition |
FillTransition(Duration duration)
The constructor of
FillTransition |
FillTransition(Duration duration,
Color fromValue,
Color toValue)
The constructor of
FillTransition |
FillTransition(Duration duration,
Shape shape)
The constructor of
FillTransition |
FillTransition(Duration duration,
Shape shape,
Color fromValue,
Color toValue)
The constructor of
FillTransition |
KeyFrame(Duration time,
EventHandler<ActionEvent> onFinished,
KeyValue... values)
Constructor of
KeyFrame |
KeyFrame(Duration time,
KeyValue... values)
Constructor of
KeyFrame |
KeyFrame(Duration time,
java.lang.String name,
EventHandler<ActionEvent> onFinished,
java.util.Collection<KeyValue> values)
Constructor of
KeyFrame |
KeyFrame(Duration time,
java.lang.String name,
EventHandler<ActionEvent> onFinished,
KeyValue... values)
Constructor of
KeyFrame |
KeyFrame(Duration time,
java.lang.String name,
KeyValue... values)
Constructor of
KeyFrame |
PathTransition(Duration duration,
Shape path)
The constructor of
PathTransition . |
PathTransition(Duration duration,
Shape path,
Node node)
The constructor of
PathTransition . |
PauseTransition(Duration duration)
The constructor of
PauseTransition . |
RotateTransition(Duration duration)
The constructor of
RotateTransition |
RotateTransition(Duration duration,
Node node)
The constructor of
RotateTransition |
ScaleTransition(Duration duration)
The constructor of
ScaleTransition |
ScaleTransition(Duration duration,
Node node)
The constructor of
ScaleTransition |
StrokeTransition(Duration duration)
The constructor of
StrokeTransition |
StrokeTransition(Duration duration,
Color fromValue,
Color toValue)
The constructor of
StrokeTransition |
StrokeTransition(Duration duration,
Shape shape)
The constructor of
StrokeTransition |
StrokeTransition(Duration duration,
Shape shape,
Color fromValue,
Color toValue)
The constructor of
StrokeTransition |
TranslateTransition(Duration duration)
The constructor of
TranslateTransition |
TranslateTransition(Duration duration,
Node node)
The constructor of
TranslateTransition |
Constructor and Description |
---|
Tooltip.TooltipBehavior(Duration openDelay,
Duration visibleDuration,
Duration closeDelay,
boolean hideOnExit) |
Modifier and Type | Field and Description |
---|---|
private Duration |
MediaPlayerBuilder.startTime |
private Duration |
MediaPlayerBuilder.stopTime |
Modifier and Type | Field and Description |
---|---|
private ReadOnlyObjectWrapper<Duration> |
MediaPlayer.bufferProgressTime
The current buffer position indicating how much media can be played
without stalling the
MediaPlayer . |
private ReadOnlyObjectWrapper<Duration> |
MediaPlayer.currentTime
The current media playback time.
|
private ReadOnlyObjectWrapper<Duration> |
MediaPlayer.cycleDuration
|
private ReadOnlyObjectWrapper<Duration> |
Media.duration
The duration in seconds of the source media.
|
private Pair<java.lang.String,Duration> |
MediaMarkerEvent.marker |
private MapChangeListener<java.lang.String,Duration> |
MediaPlayer.markerMapListener |
private ObservableMap<java.lang.String,Duration> |
Media.markers
The markers defined on this media source.
|
private ObjectProperty<Duration> |
MediaPlayer.startTime
The time offset where media should start playing, or restart from when
repeating.
|
private ObjectProperty<Duration> |
MediaPlayer.stopTime
The time offset where media should stop playing or restart when repeating.
|
private ReadOnlyObjectWrapper<Duration> |
MediaPlayer.totalDuration
The total amount of play time if allowed to play until finished.
|
Modifier and Type | Method and Description |
---|---|
Duration |
MediaPlayer.getBufferProgressTime()
Retrieves the
bufferProgressTime value. |
Duration |
MediaPlayer.getCurrentTime()
Retrieves the current media time.
|
Duration |
MediaPlayer.getCycleDuration()
Retrieves the cycle duration in seconds.
|
Duration |
Media.getDuration()
Retrieve the duration in seconds of the media.
|
Duration |
MediaPlayer.getStartTime()
Retrieves the start time.
|
Duration |
MediaPlayer.getStopTime()
Retrieves the stop time.
|
Duration |
MediaPlayer.getTotalDuration()
Retrieves the total playback duration including all cycles (repetitions).
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<Duration> |
MediaPlayer.bufferProgressTimeProperty()
The current buffer position indicating how much media can be played
without stalling the
MediaPlayer . |
private ReadOnlyObjectWrapper<Duration> |
MediaPlayer.bufferProgressTimePropertyImpl() |
ReadOnlyObjectProperty<Duration> |
MediaPlayer.currentTimeProperty()
The current media playback time.
|
private ReadOnlyObjectWrapper<Duration> |
MediaPlayer.currentTimePropertyImpl() |
ReadOnlyObjectProperty<Duration> |
MediaPlayer.cycleDurationProperty()
|
private ReadOnlyObjectWrapper<Duration> |
MediaPlayer.cycleDurationPropertyImpl() |
ReadOnlyObjectProperty<Duration> |
Media.durationProperty()
The duration in seconds of the source media.
|
private ReadOnlyObjectWrapper<Duration> |
Media.durationPropertyImpl() |
Pair<java.lang.String,Duration> |
MediaMarkerEvent.getMarker()
Retrieves the marker the event represents.
|
ObservableMap<java.lang.String,Duration> |
Media.getMarkers()
Retrieve the markers defined on this
Media instance. |
ObjectProperty<Duration> |
MediaPlayer.startTimeProperty()
The time offset where media should start playing, or restart from when
repeating.
|
ObjectProperty<Duration> |
MediaPlayer.stopTimeProperty()
The time offset where media should stop playing or restart when repeating.
|
ReadOnlyObjectProperty<Duration> |
MediaPlayer.totalDurationProperty()
The total amount of play time if allowed to play until finished.
|
private ReadOnlyObjectWrapper<Duration> |
MediaPlayer.totalDurationPropertyImpl() |
Modifier and Type | Method and Description |
---|---|
private double[] |
MediaPlayer.calculateStartStopTimes(Duration startValue,
Duration stopValue)
Behaviorally clamp the start and stop times.
|
void |
MediaPlayer.seek(Duration seekTime)
Seeks the player to a new playback time.
|
private void |
MediaPlayer.setBufferProgressTime(Duration value) |
private void |
MediaPlayer.setCurrentTime(Duration value) |
private void |
MediaPlayer.setCycleDuration(Duration value) |
(package private) void |
Media.setDuration(Duration value) |
private void |
MediaPlayer.setStartStopTimes(Duration startValue,
Duration stopValue)
Set the effective start and stop times on the underlying player,
clamping as needed.
|
void |
MediaPlayer.setStartTime(Duration value)
Sets the start time.
|
void |
MediaPlayer.setStopTime(Duration value)
Sets the stop time.
|
private void |
MediaPlayer.setTotalDuration(Duration value) |
MediaPlayerBuilder |
MediaPlayerBuilder.startTime(Duration x)
Set the value of the
startTime property for the instance constructed by this builder. |
MediaPlayerBuilder |
MediaPlayerBuilder.stopTime(Duration x)
Set the value of the
stopTime property for the instance constructed by this builder. |
Modifier and Type | Method and Description |
---|---|
void |
MediaPlayer.MarkerMapChangeListener.onChanged(MapChangeListener.Change<? extends java.lang.String,? extends Duration> change) |
Constructor and Description |
---|
MediaMarkerEvent(Pair<java.lang.String,Duration> marker) |
Modifier and Type | Field and Description |
---|---|
static Duration |
Duration.INDEFINITE
An Infinite Duration.
|
static Duration |
Duration.ONE
A Duration of 1 millisecond.
|
static Duration |
Duration.UNKNOWN
A Duration of some unknown amount of time.
|
static Duration |
Duration.ZERO
A Duration of 0 (no time).
|
Modifier and Type | Method and Description |
---|---|
Duration |
Duration.add(Duration other)
Add this instance and another Duration instance to return a new Duration instance.
|
Duration |
Duration.divide(double n)
Divide this instance by a number to return a new Duration instance.
|
Duration |
Duration.divide(Duration other)
Deprecated.
This method produces surprising results by not taking units into
account. Use
divide(double) instead. |
static Duration |
Duration.hours(double h)
Factory method that returns a Duration instance representing the specified
number of hours.
|
static Duration |
Duration.millis(double ms)
Factory method that returns a Duration instance for a specified
number of milliseconds.
|
static Duration |
Duration.minutes(double m)
Factory method that returns a Duration instance representing the specified
number of minutes.
|
Duration |
Duration.multiply(double n)
Multiply this instance with a number representing millis and return a new Duration.
|
Duration |
Duration.multiply(Duration other)
Deprecated.
This method produces surprising results by not taking units into
account. Use
multiply(double) instead. |
Duration |
Duration.negate()
Return a new Duration instance which has a negative number of milliseconds
from this instance.
|
static Duration |
Duration.seconds(double s)
Factory method that returns a Duration instance representing the specified
number of seconds.
|
Duration |
Duration.subtract(Duration other)
Subtract other Duration instance from this instance to return a new Duration instance.
|
static Duration |
Duration.valueOf(java.lang.String time)
Factory method that returns a Duration instance for a specified
amount of time.
|
Modifier and Type | Method and Description |
---|---|
Duration |
Duration.add(Duration other)
Add this instance and another Duration instance to return a new Duration instance.
|
int |
Duration.compareTo(Duration d)
Compares durations represented by this object and the specified object.
|
Duration |
Duration.divide(Duration other)
Deprecated.
This method produces surprising results by not taking units into
account. Use
divide(double) instead. |
boolean |
Duration.greaterThan(Duration other)
Returns true if the specified duration is greater than (>) this instance.
|
boolean |
Duration.greaterThanOrEqualTo(Duration other)
Returns true if the specified duration is greater than or equal to (>=) this instance.
|
boolean |
Duration.lessThan(Duration other)
Returns true if the specified duration is less than (<) this instance.
|
boolean |
Duration.lessThanOrEqualTo(Duration other)
Returns true if the specified duration is less than or equal to (<=) this instance.
|
Duration |
Duration.multiply(Duration other)
Deprecated.
This method produces surprising results by not taking units into
account. Use
multiply(double) instead. |
Duration |
Duration.subtract(Duration other)
Subtract other Duration instance from this instance to return a new Duration instance.
|
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to