< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/control/cell/CheckBoxListCell.java
Print this page
*** 50,60 ****
* {@link Callback} that, given an object of type T, will return a
* {@code ObservableValue<Boolean>} that represents whether the given item is
* selected or not. This ObservableValue will be bound bidirectionally (meaning
* that the CheckBox in the cell will set/unset this property based on user
* interactions, and the CheckBox will reflect the state of the
! * ObservableValue<Boolean>, if it changes externally).
*
* <p>Note that the CheckBoxListCell renders the CheckBox 'live', meaning that
* the CheckBox is always interactive and can be directly toggled by the user.
* This means that it is not necessary that the cell enter its
* {@link #editingProperty() editing state} (usually by the user double-clicking
--- 50,60 ----
* {@link Callback} that, given an object of type T, will return a
* {@code ObservableValue<Boolean>} that represents whether the given item is
* selected or not. This ObservableValue will be bound bidirectionally (meaning
* that the CheckBox in the cell will set/unset this property based on user
* interactions, and the CheckBox will reflect the state of the
! * {@code ObservableValue<Boolean>}, if it changes externally).
*
* <p>Note that the CheckBoxListCell renders the CheckBox 'live', meaning that
* the CheckBox is always interactive and can be directly toggled by the user.
* This means that it is not necessary that the cell enter its
* {@link #editingProperty() editing state} (usually by the user double-clicking
*** 199,222 ****
--- 199,225 ----
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}
*/
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();
}
*** 228,251 ****
--- 231,258 ----
this, "selectedStateCallback");
/**
* Property representing the {@link Callback} that is bound to by the
* CheckBox shown on screen.
+ * @return the {@link Callback} that is bound to by the CheckBox shown on
+ * screen
*/
public final ObjectProperty<Callback<T, ObservableValue<Boolean>>> selectedStateCallbackProperty() {
return selectedStateCallback;
}
/**
* Sets the {@link Callback} that is bound to by the CheckBox shown on screen.
+ * @param value the {@link Callback}
*/
public final void setSelectedStateCallback(Callback<T, ObservableValue<Boolean>> value) {
selectedStateCallbackProperty().set(value);
}
/**
* Returns the {@link Callback} that is bound to by the CheckBox shown on screen.
+ * @return the {@link Callback} that is bound to by the CheckBox shown on screen
*/
public final Callback<T, ObservableValue<Boolean>> getSelectedStateCallback() {
return selectedStateCallbackProperty().get();
}
< prev index next >