}.
* In addition, the TreeTableView will automatically add an observer to the
* returned value, such that any changes fired will be observed by the TreeTableView,
* resulting in the cell immediately updating.
@@ -74,8 +75,9 @@
*
*
* TreeTableColumn<Person,String> firstNameCol = new TreeTableColumn<Person,String>("First Name");
- * firstNameCol.setCellValueFactory(new Callback<CellDataFeatures<Person, String>, ObservableValue<String>>() {
- * public ObservableValue<String> call(CellDataFeatures<Person, String> p) {
+ * {@literal
+ * firstNameCol.setCellValueFactory(new Callback, ObservableValue>() {
+ * public ObservableValue call(CellDataFeatures p) {
* // p.getValue() returns the TreeItem instance for a particular
* // TreeTableView row, and the second getValue() call returns the
* // Person instance contained within the TreeItem.
@@ -83,6 +85,7 @@
* }
* });
* }
+ * }
*
*
* @see TreeTableColumn
@@ -119,6 +122,7 @@
/**
* Returns the property name provided in the constructor.
+ * @return the property name provided in the constructor
*/
public final String getProperty() { return property; }