< prev index next >

src/java.desktop/share/classes/java/awt/EventFilter.java

Print this page

        

@@ -25,31 +25,31 @@
 package java.awt;
 
 interface EventFilter {
 
     /**
-     * Enumeration for possible values for <code>acceptEvent(AWTEvent ev)</code> method.
+     * Enumeration for possible values for {@code acceptEvent(AWTEvent ev)} method.
      * @see EventDispatchThread#pumpEventsForFilter
      */
     static enum FilterAction {
         /**
          * ACCEPT means that this filter do not filter the event and allows other
          * active filters to proceed it. If all the active filters accept the event, it
-         * is dispatched by the <code>EventDispatchThread</code>
+         * is dispatched by the {@code EventDispatchThread}
          * @see EventDispatchThread#pumpEventsForFilter
          */
         ACCEPT,
         /**
          * REJECT means that this filter filter the event. No other filters are queried,
-         * and the event is not dispatched by the <code>EventDispatchedThread</code>
+         * and the event is not dispatched by the {@code EventDispatchedThread}
          * @see EventDispatchThread#pumpEventsForFilter
          */
         REJECT,
         /**
          * ACCEPT_IMMEDIATELY means that this filter do not filter the event, no other
          * filters are queried and to proceed it, and it is dispatched by the
-         * <code>EventDispatchThread</code>
+         * {@code EventDispatchThread}
          * It is not recommended to use ACCEPT_IMMEDIATELY as there may be some active
          * filters not queried yet that do not accept this event. It is primarily used
          * by modal filters.
          * @see EventDispatchThread#pumpEventsForFilter
          * @see ModalEventFilter
< prev index next >