.picker-label{
-fx-graphic: url("add.png");
-fx-background-color: white;
-fx-padding: 0 0 0 0;
}
The onClick() method does nothing by default, so you can override it
if you want to execute a custom action when the user will click on your Picker.
| Modifier and Type | Field and Description |
|---|---|
| private final ObservableList |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObservableList | |
| public abstract void |
| styleClass | back to summary |
|---|---|
| private final ObservableList<String> styleClass | |
| Picker | back to summary |
|---|---|
| public Picker() Default constructor, the default "picker-label" styleClass is applied. | |
| Picker | back to summary |
|---|---|
| public Picker(String... styleClass) Initialize this Picker with the style classes provided. | |
| Picker | back to summary |
|---|---|
| public Picker(Collection<String> styleClass) Initialize this Picker with the style classes provided. | |
| getStyleClass | back to summary |
|---|---|
public final ObservableList
| |
| onClick | back to summary |
|---|---|
| public abstract void onClick() This method will be called whenever the user clicks on this picker. | |