Spec-Zone .ru
спецификации, руководства, описания, API
|
@Generated(value="Generated by javafx.builder.processor.BuilderProcessor")
public final class MediaBuilder
extends java.lang.Object
Media
Modifier | Constructor and Description |
---|---|
protected |
MediaBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(Media x) |
Media |
build()
Make an instance of
Media based on the properties set on this builder. |
static MediaBuilder |
create() |
MediaBuilder |
onError(java.lang.Runnable x)
Set the value of the
onError property for the instance constructed by this builder. |
MediaBuilder |
source(java.lang.String x)
Set the value of the
source property for the instance constructed by this builder. |
MediaBuilder |
tracks(java.util.Collection<? extends Track> x)
Set the value of the
tracks property for the instance constructed by this builder. |
MediaBuilder |
tracks(Track... x)
Set the value of the
tracks property for the instance constructed by this builder. |
public static MediaBuilder create()
public void applyTo(Media x)
public MediaBuilder onError(java.lang.Runnable x)
onError
property for the instance constructed by this builder.public MediaBuilder source(java.lang.String x)
source
property for the instance constructed by this builder.public MediaBuilder tracks(java.util.Collection<? extends Track> x)
tracks
property for the instance constructed by this builder.public MediaBuilder tracks(Track... x)
tracks
property for the instance constructed by this builder.Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to