Uses of Class
javafx.util.Duration
Packages that use Duration
Package
Description
-
Uses of Duration in dev.webfx.kit.mapper.peers.javafxmedia
Methods in dev.webfx.kit.mapper.peers.javafxmedia that return DurationMethods in dev.webfx.kit.mapper.peers.javafxmedia that return types with arguments of type DurationMethods in dev.webfx.kit.mapper.peers.javafxmedia with parameters of type Duration -
Uses of Duration in dev.webfx.kit.mapper.peers.javafxmedia.spi.gwtj2cl
Methods in dev.webfx.kit.mapper.peers.javafxmedia.spi.gwtj2cl that return DurationMethods in dev.webfx.kit.mapper.peers.javafxmedia.spi.gwtj2cl that return types with arguments of type DurationMethods in dev.webfx.kit.mapper.peers.javafxmedia.spi.gwtj2cl with parameters of type Duration -
Uses of Duration in javafx.animation
Fields in javafx.animation declared as DurationMethods in javafx.animation that return DurationModifier and TypeMethodDescriptionfinal DurationAnimation.getCurrentTime()Gets the value of thecurrentTimeproperty.final DurationAnimation.getCycleDuration()Gets the value of thecycleDurationproperty.final DurationAnimation.getDelay()Gets the value of thedelayproperty.final DurationFadeTransition.getDuration()Gets the value of thedurationproperty.final DurationPauseTransition.getDuration()Gets the value of thedurationproperty.final DurationScaleTransition.getDuration()Gets the value of thedurationproperty.final DurationTranslateTransition.getDuration()Gets the value of thedurationproperty.KeyFrame.getTime()Returns the time offset of thisKeyFrame.final DurationAnimation.getTotalDuration()Gets the value of thetotalDurationproperty.TimelineClipCore.setKeyFrames(Collection<KeyFrame> keyFrames) Changes the keyframes.static DurationTickCalculation.toDuration(long ticks) Methods in javafx.animation that return types with arguments of type DurationModifier and TypeMethodDescriptionfinal ReadOnlyObjectProperty<Duration>Animation.currentTimeProperty()Defines theAnimation's play head position.final ReadOnlyObjectProperty<Duration>Animation.cycleDurationProperty()Read-only variable to indicate the duration of one cycle of thisAnimation: the time it takes to play from time 0 to the end of the Animation (at the defaultrateof 1.0).final ObjectProperty<Duration>Animation.delayProperty()Delays the start of an animation.final ObjectProperty<Duration>FadeTransition.durationProperty()The duration of thisFadeTransition.final ObjectProperty<Duration>PauseTransition.durationProperty()The duration of thisTransition.final ObjectProperty<Duration>ScaleTransition.durationProperty()The duration of thisScaleTransition.final ObjectProperty<Duration>TranslateTransition.durationProperty()The duration of thisTranslateTransition.final ObservableMap<String,Duration> Animation.getCuePoints()The cue points can be used to mark important positions of theAnimation.final ReadOnlyObjectProperty<Duration>Animation.totalDurationProperty()Read-only variable to indicate the total duration of thisAnimation, including repeats.Methods in javafx.animation with parameters of type DurationModifier and TypeMethodDescriptionstatic longTickCalculation.fromDuration(Duration duration) static longTickCalculation.fromDuration(Duration duration, double rate) voidJumps to a given position in thisAnimation.voidA convenience method to play thisAnimationfrom a specific position.protected final voidAnimation.setCycleDuration(Duration value) Sets the value of thecycleDurationproperty.abstract ClipEnvelopeClipEnvelope.setCycleDuration(Duration cycleDuration) FiniteClipEnvelope.setCycleDuration(Duration cycleDuration) InfiniteClipEnvelope.setCycleDuration(Duration cycleDuration) SingleLoopClipEnvelope.setCycleDuration(Duration cycleDuration) final voidSets the value of thedelayproperty.final voidFadeTransition.setDuration(Duration value) Sets the value of thedurationproperty.final voidPauseTransition.setDuration(Duration value) Sets the value of thedurationproperty.final voidScaleTransition.setDuration(Duration value) Sets the value of thedurationproperty.final voidTranslateTransition.setDuration(Duration value) Sets the value of thedurationproperty.protected voidClipEnvelope.updateCycleTicks(Duration cycleDuration) Constructors in javafx.animation with parameters of type DurationModifierConstructorDescriptionFadeTransition(Duration duration) The constructor ofFadeTransitionFadeTransition(Duration duration, Node node) The constructor ofFadeTransitionConstructor ofKeyFrameKeyFrame(Duration time, String name, EventHandler<ActionEvent> onFinished, Collection<KeyValue> values) Constructor ofKeyFrameKeyFrame(Duration time, String name, EventHandler<ActionEvent> onFinished, KeyValue... values) Constructor ofKeyFrameConstructor ofKeyFrameKeyFrame(Duration time, EventHandler<ActionEvent> onFinished, KeyValue... values) Constructor ofKeyFrameNumberTangentInterpolator(Duration duration, double value) NumberTangentInterpolator(Duration inDuration, double inValue, Duration outDuration, double outValue) PauseTransition(Duration duration) The constructor ofPauseTransition.ScaleTransition(Duration duration) The constructor ofScaleTransitionScaleTransition(Duration duration, Node node) The constructor ofScaleTransitionTranslateTransition(Duration duration) The constructor ofTranslateTransitionTranslateTransition(Duration duration, Node node) The constructor ofTranslateTransition -
Uses of Duration in javafx.scene.control.skin
Fields in javafx.scene.control.skin declared as Duration -
Uses of Duration in javafx.scene.media
Methods in javafx.scene.media that return DurationModifier and TypeMethodDescriptionfinal DurationMediaPlayer.getCurrentTime()Gets the value of thecurrentTimeproperty.Media.getDuration()Gets the value of thedurationproperty.Methods in javafx.scene.media that return types with arguments of type DurationMethods in javafx.scene.media with parameters of type DurationModifier and TypeMethodDescriptionvoidvoidMedia.setDuration(Duration duration) Sets the value of thedurationproperty. -
Uses of Duration in javafx.util
Fields in javafx.util declared as DurationModifier and TypeFieldDescriptionstatic final DurationDuration.INDEFINITEAn Infinite Duration.static final DurationDuration.ONEA Duration of 1 millisecond.static final DurationDuration.UNKNOWNA Duration of some unknown amount of time.static final DurationDuration.ZEROA Duration of 0 (no time).Methods in javafx.util that return DurationModifier and TypeMethodDescriptionAdd this instance and another Duration instance to return a new Duration instance.Duration.divide(double n) Divide this instance by a number to return a new Duration instance.Deprecated.This method produces surprising results by not taking units into account.static DurationDuration.hours(double h) Factory method that returns a Duration instance representing the specified number of hours.static DurationDuration.millis(double ms) Factory method that returns a Duration instance for a specified number of milliseconds.static DurationDuration.minutes(double m) Factory method that returns a Duration instance representing the specified number of minutes.Duration.multiply(double n) Multiply this instance with a number representing millis and return a new Duration.Deprecated.This method produces surprising results by not taking units into account.Duration.negate()Return a new Duration instance which has a negative number of milliseconds from this instance.static DurationDuration.seconds(double s) Factory method that returns a Duration instance representing the specified number of seconds.Subtract other Duration instance from this instance to return a new Duration instance.static DurationFactory method that returns a Duration instance for a specified amount of time.Methods in javafx.util with parameters of type DurationModifier and TypeMethodDescriptionAdd this instance and another Duration instance to return a new Duration instance.intCompares durations represented by this object and the specified object.Deprecated.This method produces surprising results by not taking units into account.booleanDuration.greaterThan(Duration other) Returns true if the specified duration is greater than (>) this instance.booleanDuration.greaterThanOrEqualTo(Duration other) Returns true if the specified duration is greater than or equal to (>=) this instance.booleanReturns true if the specified duration is less than (<) this instance.booleanDuration.lessThanOrEqualTo(Duration other) Returns true if the specified duration is less than or equal to (<=) this instance.Deprecated.This method produces surprising results by not taking units into account.Subtract other Duration instance from this instance to return a new Duration instance.