< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/control/TreeView.java
Print this page
rev 10598 : 8185767: Fix broken links in Javadocs
@@ -177,11 +177,11 @@
* {@link TreeView#setOnEditCommit(javafx.event.EventHandler)} with your own
* {@link EventHandler}, then you will be removing the default handler. Unless
* you then handle the writeback to the property (or the relevant data source),
* nothing will happen. You can work around this by using the
* {@link TreeView#addEventHandler(javafx.event.EventType, javafx.event.EventHandler)}
- * method to add a {@link TreeView#EDIT_COMMIT_EVENT} {@link EventType} with
+ * method to add a {@link TreeView#editCommitEvent()} {@link EventType} with
* your desired {@link EventHandler} as the second argument. Using this method,
* you will not replace the default implementation, but you will be notified when
* an edit commit has occurred.</p>
*
* <p>Hopefully this summary answers some of the commonly asked questions.
@@ -204,12 +204,12 @@
* *
**************************************************************************/
/**
* An EventType that indicates some edit event has occurred. It is the parent
- * type of all other edit events: {@link #editStartEvent},
- * {@link #editCommitEvent} and {@link #editCancelEvent}.
+ * type of all other edit events: {@link #editStartEvent()},
+ * {@link #editCommitEvent()} and {@link #editCancelEvent()}.
*
* @param <T> the type of the TreeItem instances used in this TreeView
* @return An EventType that indicates some edit event has occurred.
*/
@SuppressWarnings("unchecked")
@@ -1210,12 +1210,12 @@
private final T newValue;
private transient final TreeItem<T> treeItem;
/**
* Creates a new EditEvent instance to represent an edit event. This
- * event is used for {@link #EDIT_START_EVENT},
- * {@link #EDIT_COMMIT_EVENT} and {@link #EDIT_CANCEL_EVENT} types.
+ * event is used for {@link #editStartEvent()},
+ * {@link #editCommitEvent()} and {@link #editCancelEvent()} types.
* @param source the source
* @param eventType the eventType
* @param treeItem the treeItem
* @param oldValue the oldValue
* @param newValue the newValue
< prev index next >