public abstract class Picker
extends java.lang.Object
.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.
| Constructor and Description |
|---|
Picker()
Default constructor, the default "picker-label" styleClass is applied.
|
Picker(java.util.Collection<java.lang.String> styleClass)
Initialize this Picker with the style classes provided.
|
Picker(java.lang.String... styleClass)
Initialize this Picker with the style classes provided.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.collections.ObservableList<java.lang.String> |
getStyleClass() |
abstract void |
onClick()
This method will be called whenever the user clicks on this picker.
|
public Picker()
public Picker(java.lang.String... styleClass)
styleClass - public Picker(java.util.Collection<java.lang.String> styleClass)
styleClass -