Package io.github.sosuisen.jfxbuilder.media
package io.github.sosuisen.jfxbuilder.media
JavaFX Builder API for Media Module.
This package contains builder classes for JavaFX media components, enabling declarative and hierarchical UI construction with strongly-typed APIs.
The builder classes in this package provide a fluent interface for creating and configuring JavaFX media-related components such as MediaPlayer, MediaView, AudioClip, and other multimedia elements.
Example usage:
MediaView mediaView = MediaViewBuilder.create()
.mediaPlayer(MediaPlayerBuilder.create(
new Media("https://xxxx/xxx.mp4"))
.autoPlay(true)
.build())
.fitWidth(640)
.fitHeight(480)
.preserveRatio(true)
.build();
-
ClassesClassDescriptionThe
AudioClipBuilderclass constructs instances of theAudioClipclass and offers a fluent interface for creating and configuring it.TheAudioEqualizerBuilderclass constructs instances of theAudioEqualizerclass and offers a fluent interface for creating and configuring it.TheAudioTrackBuilderclass constructs instances of theAudioTrackclass and offers a fluent interface for creating and configuring it.TheEqualizerBandBuilderclass constructs instances of theEqualizerBandclass and offers a fluent interface for creating and configuring it.TheMediaBuilderclass constructs instances of theMediaclass and offers a fluent interface for creating and configuring it.TheMediaErrorEventBuilderclass constructs instances of theMediaErrorEventclass and offers a fluent interface for creating and configuring it.TheMediaExceptionBuilderclass constructs instances of theMediaExceptionclass and offers a fluent interface for creating and configuring it.TheMediaExceptionTypeBuilderclass constructs instances of theTypeclass and offers a fluent interface for creating and configuring it.TheMediaMarkerEventBuilderclass constructs instances of theMediaMarkerEventclass and offers a fluent interface for creating and configuring it.TheMediaPlayerBuilderclass constructs instances of theMediaPlayerclass and offers a fluent interface for creating and configuring it.TheMediaPlayerStatusBuilderclass constructs instances of theStatusclass and offers a fluent interface for creating and configuring it.TheMediaViewBuilderclass constructs instances of theMediaViewclass and offers a fluent interface for creating and configuring it.TheSubtitleTrackBuilderclass constructs instances of theSubtitleTrackclass and offers a fluent interface for creating and configuring it.TheVideoTrackBuilderclass constructs instances of theVideoTrackclass and offers a fluent interface for creating and configuring it.