< prev index next >

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

Print this page
rev 10598 : 8185767: Fix broken links in Javadocs

@@ -205,11 +205,11 @@
  * {@link ListView#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 ListView#addEventHandler(javafx.event.EventType, javafx.event.EventHandler)}
- * method to add a {@link ListView#EDIT_COMMIT_EVENT} {@link EventType} with
+ * method to add a {@link ListView#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.

@@ -236,12 +236,12 @@
      *                                                                         *
      **************************************************************************/
 
     /**
      * An EventType that indicates some edit event has occurred. It is the parent
-     * type of all other edit events: {@link #EDIT_START_EVENT},
-     *  {@link #EDIT_COMMIT_EVENT} and {@link #EDIT_CANCEL_EVENT}.
+     * type of all other edit events: {@link #editStartEvent()},
+     *  {@link #editCommitEvent()} and {@link #editCancelEvent()}.
      * @param <T> the type of the objects stored in this ListView
      * @return the event type
      */
     @SuppressWarnings("unchecked")
     public static <T> EventType<ListView.EditEvent<T>> editAnyEvent() {

@@ -1158,12 +1158,12 @@
          */
         public static final EventType<?> ANY = EDIT_ANY_EVENT;
 
         /**
          * 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 event type
          * @param newValue the new value
          * @param editIndex the edit index
          */
< prev index next >