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 MediaBuilderMediaBuilder.addTracks(Collection<? extends Track> col) Calls theaddAllmethod on the ObservableList returned by theMedia#getTracks()method.final MediaBuilderCalls theaddAllmethod on the ObservableList returned by theMedia#getTracks()method.Applies a function to the Media instance being constructed.static MediaBuilderAccepts the constructor arguments ofMedia(String)and returns an instance ofMediaBuilder.MediaBuilder.durationPropertyApply(Consumer<ReadOnlyObjectProperty<Duration>> op) Applies a function to thedurationPropertyof the instance being constructed.MediaBuilder.errorPropertyApply(Consumer<ReadOnlyObjectProperty<MediaException>> op) Applies a function to theerrorPropertyof the instance being constructed.MediaBuilder.heightPropertyApply(Consumer<ReadOnlyIntegerProperty> op) Applies a function to theheightPropertyof the instance being constructed.A builder method that invokes thesetOnErrormethod on the instance being constructed.MediaBuilder.onErrorPropertyApply(Consumer<ObjectProperty<Runnable>> op) Applies a function to theonErrorPropertyof the instance being constructed.MediaBuilder.widthPropertyApply(Consumer<ReadOnlyIntegerProperty> op) Applies a function to thewidthPropertyof the instance being constructed.