public static class PropertiesDialog.PropertiesDialogBuilder extends Object
PropertiesDialog| Modifier and Type | Method and Description |
|---|---|
PropertiesDialog.PropertiesDialogBuilder |
addProperty(String name,
String description)
Add the specified property to the dialog that is being built
|
PropertiesDialog.PropertiesDialogBuilder |
addProperty(String name,
String description,
String defaultValue)
Add the specified property to the dialog that is being built
|
PropertiesDialog.PropertiesDialogBuilder |
addProperty(String name,
String description,
String defaultValue,
Predicate<? super String> validator)
Add the specified property to the dialog that is being built
|
PropertiesDialog.PropertiesDialogBuilder |
addProperty(String name,
String description,
String defaultValue,
Predicate<? super String> validator,
Function<? super String,String> message)
Add the specified property to the dialog that is being built
|
PropertiesDialog |
build()
Build the
PropertiesDialog |
public PropertiesDialog.PropertiesDialogBuilder addProperty(String name, String description, String defaultValue)
name - The namedescription - The descriptiondefaultValue - The default valuepublic PropertiesDialog.PropertiesDialogBuilder addProperty(String name, String description)
name - The namedescription - The descriptionpublic PropertiesDialog.PropertiesDialogBuilder addProperty(String name, String description, String defaultValue, Predicate<? super String> validator)
name - The namedescription - The descriptiondefaultValue - The default valuevalidator - The validatorpublic PropertiesDialog.PropertiesDialogBuilder addProperty(String name, String description, String defaultValue, Predicate<? super String> validator, Function<? super String,String> message)
name - The namedescription - The descriptiondefaultValue - The default valuevalidator - The validatormessage - The validation failure messagepublic PropertiesDialog build()
PropertiesDialogPropertiesDialogCopyright © 2022. All rights reserved.