< prev index next >

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

Print this page

        

*** 87,96 **** --- 87,98 ---- * column will be bound bidirectionally. This means 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). * + * @param <S> The type of the TableView generic type + * @param column The TableColumn of type Boolean * @return A {@link Callback} that will return a {@link TableCell} that is * able to work on the type of element contained within the TableColumn. */ public static <S> Callback<TableColumn<S,Boolean>, TableCell<S,Boolean>> forTableColumn( final TableColumn<S, Boolean> column) {
*** 103,112 **** --- 105,115 ---- * {@code ObservableValue<Boolean>}. * * <p>When used in a TableColumn, the CheckBoxCell is rendered with a * CheckBox centered in the column. * + * @param <S> The type of the TableView generic type * @param <T> The type of the elements contained within the {@link TableColumn} * instance. * @param getSelectedProperty A Callback that, given an object of * type {@code TableColumn<S,T>}, will return an * {@code ObservableValue<Boolean>}
*** 129,138 **** --- 132,142 ---- * {@code ObservableValue<Boolean>}. * * <p>When used in a TableColumn, the CheckBoxCell is rendered with a * CheckBox centered in the column. * + * @param <S> The type of the TableView generic type * @param <T> The type of the elements contained within the {@link TableColumn} * instance. * @param getSelectedProperty A Callback that, given an object of * type {@code TableColumn<S,T>}, will return an * {@code ObservableValue<Boolean>}
*** 166,175 **** --- 170,180 ---- * {@code ObservableValue<Boolean>}. * * <p>When used in a TableColumn, the CheckBoxCell is rendered with a * CheckBox centered in the column. * + * @param <S> The type of the TableView generic type * @param <T> The type of the elements contained within the {@link TableColumn} * instance. * @param getSelectedProperty A Callback that, given an object of type * {@code TableColumn<S,T>}, will return an * {@code ObservableValue<Boolean>} that represents whether the given
*** 281,304 **** --- 286,312 ---- } }; /** * 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(); }
*** 311,334 **** --- 319,347 ---- this, "selectedStateCallback"); /** * Property representing the {@link Callback} that is bound to by the * CheckBox shown on screen. + * @return the property representing the {@link Callback} that is bound to + * by the CheckBox shown on screen */ public final ObjectProperty<Callback<Integer, ObservableValue<Boolean>>> selectedStateCallbackProperty() { return selectedStateCallback; } /** * Sets the {@link Callback} that is bound to by the CheckBox shown on screen. + * @param value the {@link Callback} that is bound to by the CheckBox shown + * on screen */ public final void setSelectedStateCallback(Callback<Integer, 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<Integer, ObservableValue<Boolean>> getSelectedStateCallback() { return selectedStateCallbackProperty().get(); }
< prev index next >