< prev index next >

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

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


2151      *
2152      * @param <S> The type of the input, which is the same type as the TreeTableView
2153      *      itself.
2154      * @since JavaFX 8.0
2155      */
2156     public static class EditEvent<S> extends Event {
2157         private static final long serialVersionUID = -4437033058917528976L;
2158 
2159         /**
2160          * Common supertype for all edit event types.
2161          */
2162         public static final EventType<?> ANY = EDIT_ANY_EVENT;
2163 
2164         private final TreeTableView<S> source;
2165         private final S oldValue;
2166         private final S newValue;
2167         private transient final TreeItem<S> treeItem;
2168 
2169         /**
2170          * Creates a new EditEvent instance to represent an edit event. This
2171          * event is used for {@link #EDIT_START_EVENT},
2172          * {@link #EDIT_COMMIT_EVENT} and {@link #EDIT_CANCEL_EVENT} types.
2173          * @param source the source
2174          * @param eventType the eventType
2175          * @param treeItem the treeItem
2176          * @param oldValue the oldValue
2177          * @param newValue the newValue
2178          */
2179         public EditEvent(TreeTableView<S> source,
2180                          EventType<? extends TreeTableView.EditEvent> eventType,
2181                          TreeItem<S> treeItem, S oldValue, S newValue) {
2182             super(source, Event.NULL_SOURCE_TARGET, eventType);
2183             this.source = source;
2184             this.oldValue = oldValue;
2185             this.newValue = newValue;
2186             this.treeItem = treeItem;
2187         }
2188 
2189         /**
2190          * Returns the TreeTableView upon which the edit took place.
2191          * @return the TreeTableView upon which the edit took place
2192          */




2151      *
2152      * @param <S> The type of the input, which is the same type as the TreeTableView
2153      *      itself.
2154      * @since JavaFX 8.0
2155      */
2156     public static class EditEvent<S> extends Event {
2157         private static final long serialVersionUID = -4437033058917528976L;
2158 
2159         /**
2160          * Common supertype for all edit event types.
2161          */
2162         public static final EventType<?> ANY = EDIT_ANY_EVENT;
2163 
2164         private final TreeTableView<S> source;
2165         private final S oldValue;
2166         private final S newValue;
2167         private transient final TreeItem<S> treeItem;
2168 
2169         /**
2170          * Creates a new EditEvent instance to represent an edit event. This
2171          * event is used for {@link #editStartEvent()},
2172          * {@link #editCommitEvent()} and {@link #editCancelEvent()} types.
2173          * @param source the source
2174          * @param eventType the eventType
2175          * @param treeItem the treeItem
2176          * @param oldValue the oldValue
2177          * @param newValue the newValue
2178          */
2179         public EditEvent(TreeTableView<S> source,
2180                          EventType<? extends TreeTableView.EditEvent> eventType,
2181                          TreeItem<S> treeItem, S oldValue, S newValue) {
2182             super(source, Event.NULL_SOURCE_TARGET, eventType);
2183             this.source = source;
2184             this.oldValue = oldValue;
2185             this.newValue = newValue;
2186             this.treeItem = treeItem;
2187         }
2188 
2189         /**
2190          * Returns the TreeTableView upon which the edit took place.
2191          * @return the TreeTableView upon which the edit took place
2192          */


< prev index next >