< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/TableCell.java

Print this page

        

*** 61,71 **** * returns true for the row / column that this cell represents, and</li> * <li>The {@link javafx.scene.control.TableSelectionModel#cellSelectionEnabledProperty() cell selection mode} * property is set to true (to represent that it is allowable to select * individual cells (and not just rows of cells)).</li> * </ol> - * </p> * * @see TableView * @see TableColumn * @see Cell * @see IndexedCell --- 61,70 ----
*** 208,217 **** --- 207,217 ---- return "tableColumn"; } }; /** * The TableColumn instance that backs this TableCell. + * @return the TableColumn instance that backs this TableCell */ public final ReadOnlyObjectProperty<TableColumn<S,T>> tableColumnProperty() { return tableColumn.getReadOnlyProperty(); } private void setTableColumn(TableColumn<S,T> value) { tableColumn.set(value); } public final TableColumn<S,T> getTableColumn() { return tableColumn.get(); }
*** 225,234 **** --- 225,235 ---- return tableView == null ? null : tableView.get(); } /** * The TableView associated with this TableCell. + * @return the TableView associated with this TableCell */ public final ReadOnlyObjectProperty<TableView<S>> tableViewProperty() { return tableViewPropertyImpl().getReadOnlyProperty(); }
*** 693,727 **** /** * Updates the TableView associated with this TableCell. This is typically * only done once when the TableCell is first added to the TableView. * ! * @expert This function is intended to be used by experts, primarily * by those implementing new Skins. It is not common * for developers or designers to access this function directly. */ public final void updateTableView(TableView tv) { setTableView(tv); } /** * Updates the TableRow associated with this TableCell. * ! * @expert This function is intended to be used by experts, primarily * by those implementing new Skins. It is not common * for developers or designers to access this function directly. */ public final void updateTableRow(TableRow tableRow) { this.setTableRow(tableRow); } /** * Updates the TableColumn associated with this TableCell. * ! * @expert This function is intended to be used by experts, primarily * by those implementing new Skins. It is not common * for developers or designers to access this function directly. */ public final void updateTableColumn(TableColumn col) { // remove style class of existing table column, if it is non-null TableColumn<S,T> oldCol = getTableColumn(); if (oldCol != null) { --- 694,731 ---- /** * Updates the TableView associated with this TableCell. This is typically * only done once when the TableCell is first added to the TableView. * ! * Note: This function is intended to be used by experts, primarily * by those implementing new Skins. It is not common * for developers or designers to access this function directly. + * @param tv the TableView associated with this TableCell */ public final void updateTableView(TableView tv) { setTableView(tv); } /** * Updates the TableRow associated with this TableCell. * ! * Note: This function is intended to be used by experts, primarily * by those implementing new Skins. It is not common * for developers or designers to access this function directly. + * @param tableRow the TableRow associated with this TableCell */ public final void updateTableRow(TableRow tableRow) { this.setTableRow(tableRow); } /** * Updates the TableColumn associated with this TableCell. * ! * Note: This function is intended to be used by experts, primarily * by those implementing new Skins. It is not common * for developers or designers to access this function directly. + * @param col the TableColumn associated with this TableCell */ public final void updateTableColumn(TableColumn col) { // remove style class of existing table column, if it is non-null TableColumn<S,T> oldCol = getTableColumn(); if (oldCol != null) {
< prev index next >