question: public ChoiceBoxItem ( String label , Property < T > value , ObservableList < T > alternatives , String tooltip , UnaryOperator < Node > decorator ) { super ( label , tooltip , decorator ) ; this . currentValue = value ; this . alternatives = FXCollections . unmodifiableObservableList ( alternatives ) ; }
target:  Creates a new ChoiceBoxItem. <p> The default choice will either be the first choice alternative, or the alternative matching the current value of the property (if such as alternative exists). Alternatives will get their name by calling toString() on the objects in the list of alternatives <p> The property will bind to the ChoiceBox.valueProperty().