| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private Button | |
| private HBox | |
| private boolean | |
| protected TextArea | |
| protected TextField | editableField
- The fieldLabel is the container that displays the label property of the field. |
| protected Label | |
| private File | |
| protected Label |
| Access | Constructor and Description |
|---|---|
| public | SimpleChooserControl(String
Text for the button to show, e.g. "Browse" buttonText, File An optional initial path, can be null.
If null, will use the path from the previously
chosen file if present. initialDirectory, boolean true, if only directories are allowed directory)Create a new SimpleChooserControl. |
| Modifier and Type | Method and Description |
|---|---|
| public void | initializeParts()
Overrides com. Implements com. This method is used to initializes all the properties of a class. |
| public void | layoutParts()
Implements abstract com. Implements com. This method is used to align the parts of a class. |
| public static SimpleChooserControl | Returns: the constructed SimpleChooserControlproperty for control visibility of this element visibilityProperty)Constructs a SimpleChooserControl of |
| public void | setupBindings()
Overrides com. Overrides default com. This method is used to configure the bindings of the properties. |
| public void | setupValueChangedListeners()
Overrides com. Overrides default com. This method is used to set up value change listeners. |
| buttonText | back to summary |
|---|---|
| private String buttonText | |
| chooserButton | back to summary |
|---|---|
| private Button chooserButton | |
| contentBox | back to summary |
|---|---|
| private HBox contentBox | |
| directory | back to summary |
|---|---|
| private boolean directory | |
| editableArea | back to summary |
|---|---|
| protected TextArea editableArea | |
| editableField | back to summary |
|---|---|
| protected TextField editableField - The fieldLabel is the container that displays the label property of the field. - The editableField allows users to modify the field's value. - The readOnlyLabel displays the field's value if it is not editable. | |
| fieldLabel | back to summary |
|---|---|
| protected Label fieldLabel Hides com. | |
| initialDirectory | back to summary |
|---|---|
| private File initialDirectory | |
| readOnlyLabel | back to summary |
|---|---|
| protected Label readOnlyLabel | |
| SimpleChooserControl | back to summary |
|---|---|
| public SimpleChooserControl(String buttonText, File initialDirectory, boolean directory) Create a new SimpleChooserControl. | |
| initializeParts | back to summary |
|---|---|
| public void initializeParts() Overrides com. Implements com. Doc from com. This method is used to initializes all the properties of a class.
| |
| layoutParts | back to summary |
|---|---|
| public void layoutParts() Implements abstract com. Implements com. Doc from com. This method is used to align the parts of a class.
| |
| of | back to summary |
|---|---|
| public static SimpleChooserControl of(String buttonText, File initialDirectory, boolean directory, VisibilityProperty visibilityProperty) Constructs a SimpleChooserControl of
| |
| setupBindings | back to summary |
|---|---|
| public void setupBindings() Overrides com. Overrides default com. Doc from com. This method is used to configure the bindings of the properties.
| |
| setupValueChangedListeners | back to summary |
|---|---|
| public void setupValueChangedListeners() Overrides com. Overrides default com. Doc from com. This method is used to set up value change listeners.
| |