Uses of Class
io.github.sosuisen.jfxbuilder.media.MediaBuilder
Packages that use MediaBuilder
-
Uses of MediaBuilder in io.github.sosuisen.jfxbuilder.media
Methods in io.github.sosuisen.jfxbuilder.media that return MediaBuilderModifier and TypeMethodDescriptionfinal MediaBuilder
MediaBuilder.addTracks
(Collection<? extends Track> col) Calls theaddAll
method on the ObservableList returned by theMedia#getTracks()
method.final MediaBuilder
Calls theaddAll
method on the ObservableList returned by theMedia#getTracks()
method.Applies a function to the Media instance being constructed.static MediaBuilder
Accepts the constructor arguments ofMedia(String)
and returns an instance ofMediaBuilder
.MediaBuilder.durationPropertyApply
(Consumer<ReadOnlyObjectProperty<Duration>> op) Applies a function to thedurationProperty
of the instance being constructed.MediaBuilder.errorPropertyApply
(Consumer<ReadOnlyObjectProperty<MediaException>> op) Applies a function to theerrorProperty
of the instance being constructed.MediaBuilder.heightPropertyApply
(Consumer<ReadOnlyIntegerProperty> op) Applies a function to theheightProperty
of the instance being constructed.A builder method that invokes thesetOnError
method on the instance being constructed.MediaBuilder.onErrorPropertyApply
(Consumer<ObjectProperty<Runnable>> op) Applies a function to theonErrorProperty
of the instance being constructed.MediaBuilder.widthPropertyApply
(Consumer<ReadOnlyIntegerProperty> op) Applies a function to thewidthProperty
of the instance being constructed.