< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/cell/ComboBoxListCell.java

Print this page

        

*** 245,268 **** --- 245,271 ---- private ObjectProperty<StringConverter<T>> converter = new SimpleObjectProperty<StringConverter<T>>(this, "converter"); /** * The {@link StringConverter} property. + * @return the {@link StringConverter} property */ public final ObjectProperty<StringConverter<T>> converterProperty() { return converter; } /** * Sets the {@link StringConverter} to be used in this cell. + * @param value the {@link StringConverter} to be used in this cell */ public final void setConverter(StringConverter<T> value) { converterProperty().set(value); } /** * Returns the {@link StringConverter} used in this cell. + * @return the {@link StringConverter} used in this cell */ public final StringConverter<T> getConverter() { return converterProperty().get(); }
*** 272,296 **** --- 275,303 ---- new SimpleBooleanProperty(this, "comboBoxEditable"); /** * A property representing whether the ComboBox, when shown to the user, * is editable or not. + * @return the property representing whether the ComboBox, when shown to + * the user, is editable or not */ public final BooleanProperty comboBoxEditableProperty() { return comboBoxEditable; } /** * Configures the ComboBox to be editable (to allow user input outside of the * options provide in the dropdown list). + * @param value the editable value for this ComboBox */ public final void setComboBoxEditable(boolean value) { comboBoxEditableProperty().set(value); } /** * Returns true if the ComboBox is editable. + * @return true if the ComboBox is editable */ public final boolean isComboBoxEditable() { return comboBoxEditableProperty().get(); }
*** 302,311 **** --- 309,319 ---- * * **************************************************************************/ /** * Returns the items to be displayed in the ChoiceBox when it is showing. + * @return the items to be displayed in the ChoiceBox when it is showing */ public ObservableList<T> getItems() { return items; }
< prev index next >