jdk/src/java.desktop/share/classes/java/awt/Component.java
changeset 29886 545c0c3809b8
parent 28985 33e7de0337d9
child 30469 bac0a7ff7e1e
equal deleted inserted replaced
29885:6eb60fac3383 29886:545c0c3809b8
  4314          * Whether or not the drawing buffer has been recently restored from
  4314          * Whether or not the drawing buffer has been recently restored from
  4315          * a lost state.
  4315          * a lost state.
  4316          */
  4316          */
  4317         protected boolean validatedContents; // = false
  4317         protected boolean validatedContents; // = false
  4318         /**
  4318         /**
  4319          * Size of the back buffers
  4319          * Width of the back buffers
  4320          */
  4320          */
  4321         protected int width;
  4321         protected int width;
       
  4322         /**
       
  4323          * Height of the back buffers
       
  4324          */
  4322         protected int height;
  4325         protected int height;
  4323 
  4326 
  4324         /**
  4327         /**
  4325          * Insets for the hosting Component.  The size of the back buffer
  4328          * Insets for the hosting Component.  The size of the back buffer
  4326          * is constrained by these.
  4329          * is constrained by these.
  6011      *
  6014      *
  6012      * <pre>MouseListener[] mls = (MouseListener[])(c.getListeners(MouseListener.class));</pre>
  6015      * <pre>MouseListener[] mls = (MouseListener[])(c.getListeners(MouseListener.class));</pre>
  6013      *
  6016      *
  6014      * If no such listeners exist, this method returns an empty array.
  6017      * If no such listeners exist, this method returns an empty array.
  6015      *
  6018      *
       
  6019      * @param <T> the type of the listeners
  6016      * @param listenerType the type of listeners requested; this parameter
  6020      * @param listenerType the type of listeners requested; this parameter
  6017      *          should specify an interface that descends from
  6021      *          should specify an interface that descends from
  6018      *          <code>java.util.EventListener</code>
  6022      *          <code>java.util.EventListener</code>
  6019      * @return an array of all objects registered as
  6023      * @return an array of all objects registered as
  6020      *          <code><em>Foo</em>Listener</code>s on this component,
  6024      *          <code><em>Foo</em>Listener</code>s on this component,