< prev index next >

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

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -787,24 +787,17 @@
     }
 
     private final EventHandlerManager eventHandlerManager =
             new EventHandlerManager(this);
 
-    /**
-     * @treatAsPrivate implementation detail
-     * @deprecated This is an internal API that is not intended for use and will be removed in the next version
-     */
+     /** {@inheritDoc} */
     @Override
     public EventDispatchChain buildEventDispatchChain(EventDispatchChain tail) {
         return tail.prepend(eventHandlerManager);
     }
 
-    /**
-     * @treatAsPrivate implementation detail
-     * @deprecated This is an internal API that is not intended for use and will be removed in the next version
-     */
-    protected <E extends Event> void setEventHandler(EventType<E> eventType, EventHandler<E> eventHandler) {
+    <E extends Event> void setEventHandler(EventType<E> eventType, EventHandler<E> eventHandler) {
         eventHandlerManager.setEventHandler(eventType, eventHandler);
     }
 
     /*
      * See Node#lookup(String)
< prev index next >