jdk/src/share/classes/java/awt/Container.java
changeset 21957 97758de70fbd
parent 21278 ef8a3a2a72f2
child 21967 f09a60fb5967
equal deleted inserted replaced
21956:ec42ad3d0bf8 21957:97758de70fbd
   184      * A constant which toggles one of the controllable behaviors
   184      * A constant which toggles one of the controllable behaviors
   185      * of <code>getMouseEventTarget</code>. It is used to specify whether
   185      * of <code>getMouseEventTarget</code>. It is used to specify whether
   186      * the method can return the Container on which it is originally called
   186      * the method can return the Container on which it is originally called
   187      * in case if none of its children are the current mouse event targets.
   187      * in case if none of its children are the current mouse event targets.
   188      *
   188      *
   189      * @see #getMouseEventTarget(int, int, boolean, boolean, boolean)
   189      * @see #getMouseEventTarget(int, int, boolean)
   190      */
   190      */
   191     static final boolean INCLUDE_SELF = true;
   191     static final boolean INCLUDE_SELF = true;
   192 
   192 
   193     /**
   193     /**
   194      * A constant which toggles one of the controllable behaviors
   194      * A constant which toggles one of the controllable behaviors
   195      * of <code>getMouseEventTarget</code>. It is used to specify whether
   195      * of <code>getMouseEventTarget</code>. It is used to specify whether
   196      * the method should search only lightweight components.
   196      * the method should search only lightweight components.
   197      *
   197      *
   198      * @see #getMouseEventTarget(int, int, boolean, boolean, boolean)
   198      * @see #getMouseEventTarget(int, int, boolean)
   199      */
   199      */
   200     static final boolean SEARCH_HEAVYWEIGHTS = true;
   200     static final boolean SEARCH_HEAVYWEIGHTS = true;
   201 
   201 
   202     /*
   202     /*
   203      * Number of HW or LW components in this container (including
   203      * Number of HW or LW components in this container (including
  1035      * <p>
  1035      * <p>
  1036      * This is the method to override if a program needs to track
  1036      * This is the method to override if a program needs to track
  1037      * every add request to a container as all other add methods defer
  1037      * every add request to a container as all other add methods defer
  1038      * to this one. An overriding method should
  1038      * to this one. An overriding method should
  1039      * usually include a call to the superclass's version of the method:
  1039      * usually include a call to the superclass's version of the method:
  1040      * <p>
  1040      *
  1041      * <blockquote>
  1041      * <blockquote>
  1042      * <code>super.addImpl(comp, constraints, index)</code>
  1042      * <code>super.addImpl(comp, constraints, index)</code>
  1043      * </blockquote>
  1043      * </blockquote>
  1044      * <p>
  1044      * <p>
  1045      * This method changes layout-related information, and therefore,
  1045      * This method changes layout-related information, and therefore,