< prev index next >

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

Print this page

        

*** 169,184 **** --- 169,186 ---- treeItem.set(value); } /** * Returns the TreeItem currently set in this TreeCell. + * @return the TreeItem currently set in this TreeCell */ public final TreeItem<T> getTreeItem() { return treeItem.get(); } /** * Each TreeTableCell represents at most a single {@link TreeItem}, which is * represented by this property. + * @return the tree item property */ public final ReadOnlyObjectProperty<TreeItem<T>> treeItemProperty() { return treeItem.getReadOnlyProperty(); }
*** 189,210 **** --- 191,215 ---- * The node to use as the "disclosure" triangle, or toggle, used for * expanding and collapsing items. This is only used in the case of * an item in the tree which contains child items. If not specified, the * TreeTableCell's Skin implementation is responsible for providing a default * disclosure node. + * @param value the disclosure node */ public final void setDisclosureNode(Node value) { disclosureNodeProperty().set(value); } /** * Returns the current disclosure node set in this TreeTableCell. + * @return the disclosure node */ public final Node getDisclosureNode() { return disclosureNode.get(); } /** * The disclosure node is commonly seen represented as a triangle that rotates * on screen to indicate whether or not the TreeItem that it is placed * beside is expanded or collapsed. + * @return the disclosure node property */ public final ObjectProperty<Node> disclosureNodeProperty() { return disclosureNode; } // --- TreeView
*** 260,275 **** --- 265,282 ---- private void setTreeTableView(TreeTableView<T> value) { treeTableView.set(value); } /** * Returns the TreeTableView associated with this TreeTableCell. + * @return the tree table view */ public final TreeTableView<T> getTreeTableView() { return treeTableView.get(); } /** * A TreeTableCell is explicitly linked to a single {@link TreeTableView} instance, * which is represented by this property. + * @return the tree table view property */ public final ReadOnlyObjectProperty<TreeTableView<T>> treeTableViewProperty() { return treeTableView.getReadOnlyProperty(); }
*** 474,484 **** /** * Updates the TreeTableView associated with this TreeTableCell. * * @param treeTable The new TreeTableView that should be associated with this * TreeTableCell. ! * @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 updateTreeTableView(TreeTableView<T> treeTable) { setTreeTableView(treeTable); --- 481,491 ---- /** * Updates the TreeTableView associated with this TreeTableCell. * * @param treeTable The new TreeTableView that should be associated with this * TreeTableCell. ! * 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. */ public final void updateTreeTableView(TreeTableView<T> treeTable) { setTreeTableView(treeTable);
*** 487,497 **** /** * Updates the TreeItem associated with this TreeTableCell. * * @param treeItem The new TreeItem that should be associated with this * TreeTableCell. ! * @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 updateTreeItem(TreeItem<T> treeItem) { TreeItem<T> _treeItem = getTreeItem(); --- 494,504 ---- /** * Updates the TreeItem associated with this TreeTableCell. * * @param treeItem The new TreeItem that should be associated with this * TreeTableCell. ! * 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. */ public final void updateTreeItem(TreeItem<T> treeItem) { TreeItem<T> _treeItem = getTreeItem();
< prev index next >