Spec-Zone .ru
спецификации, руководства, описания, API
|
@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") public final class FileChooserBuilder extends java.lang.Object implements Builder<FileChooser>
FileChooser
Modifier | Constructor and Description |
---|---|
protected |
FileChooserBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(FileChooser x) |
FileChooser |
build()
Make an instance of
FileChooser based on the properties set on this builder. |
static FileChooserBuilder |
create()
Creates a new instance of FileChooserBuilder.
|
FileChooserBuilder |
extensionFilters(java.util.Collection<? extends FileChooser.ExtensionFilter> x)
Add the given items to the List of items in the
extensionFilters property for the instance constructed by this builder. |
FileChooserBuilder |
extensionFilters(FileChooser.ExtensionFilter... x)
Add the given items to the List of items in the
extensionFilters property for the instance constructed by this builder. |
FileChooserBuilder |
initialDirectory(java.io.File x)
Set the value of the
initialDirectory property for the instance constructed by this builder. |
FileChooserBuilder |
title(java.lang.String x)
Set the value of the
title property for the instance constructed by this builder. |
public static FileChooserBuilder create()
public void applyTo(FileChooser x)
public FileChooserBuilder extensionFilters(java.util.Collection<? extends FileChooser.ExtensionFilter> x)
extensionFilters
property for the instance constructed by this builder.public FileChooserBuilder extensionFilters(FileChooser.ExtensionFilter... x)
extensionFilters
property for the instance constructed by this builder.public FileChooserBuilder initialDirectory(java.io.File x)
initialDirectory
property for the instance constructed by this builder.public FileChooserBuilder title(java.lang.String x)
title
property for the instance constructed by this builder.public FileChooser build()
FileChooser
based on the properties set on this builder.build
in interface Builder<FileChooser>
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to