jdk/src/share/classes/javax/swing/JInternalFrame.java
changeset 438 2ae294e4518c
parent 2 90ce3da70b43
child 715 f16baef3a20e
equal deleted inserted replaced
437:101b84dce5da 438:2ae294e4518c
  1283      * @beaninfo
  1283      * @beaninfo
  1284      *     expert: true
  1284      *     expert: true
  1285      *     description: Specifies what desktop layer is used.
  1285      *     description: Specifies what desktop layer is used.
  1286      */
  1286      */
  1287     public void setLayer(int layer) {
  1287     public void setLayer(int layer) {
  1288       this.setLayer(new Integer(layer));
  1288       this.setLayer(Integer.valueOf(layer));
  1289     }
  1289     }
  1290 
  1290 
  1291     /**
  1291     /**
  1292      * Convenience method for getting the layer attribute of this component.
  1292      * Convenience method for getting the layer attribute of this component.
  1293      *
  1293      *
  2090          *
  2090          *
  2091          * @return value of the object -- can be <code>null</code> if this object does not
  2091          * @return value of the object -- can be <code>null</code> if this object does not
  2092          * have a value
  2092          * have a value
  2093          */
  2093          */
  2094         public Number getCurrentAccessibleValue() {
  2094         public Number getCurrentAccessibleValue() {
  2095             return new Integer(getLayer());
  2095             return Integer.valueOf(getLayer());
  2096         }
  2096         }
  2097 
  2097 
  2098         /**
  2098         /**
  2099          * Set the value of this object as a Number.
  2099          * Set the value of this object as a Number.
  2100          *
  2100          *
  2114          *
  2114          *
  2115          * @return Minimum value of the object; <code>null</code> if this object does not
  2115          * @return Minimum value of the object; <code>null</code> if this object does not
  2116          * have a minimum value
  2116          * have a minimum value
  2117          */
  2117          */
  2118         public Number getMinimumAccessibleValue() {
  2118         public Number getMinimumAccessibleValue() {
  2119             return new Integer(Integer.MIN_VALUE);
  2119             return Integer.MIN_VALUE;
  2120         }
  2120         }
  2121 
  2121 
  2122         /**
  2122         /**
  2123          * Get the maximum value of this object as a Number.
  2123          * Get the maximum value of this object as a Number.
  2124          *
  2124          *
  2125          * @return Maximum value of the object; <code>null</code> if this object does not
  2125          * @return Maximum value of the object; <code>null</code> if this object does not
  2126          * have a maximum value
  2126          * have a maximum value
  2127          */
  2127          */
  2128         public Number getMaximumAccessibleValue() {
  2128         public Number getMaximumAccessibleValue() {
  2129             return new Integer(Integer.MAX_VALUE);
  2129             return Integer.MAX_VALUE;
  2130         }
  2130         }
  2131 
  2131 
  2132     } // AccessibleJInternalFrame
  2132     } // AccessibleJInternalFrame
  2133 
  2133 
  2134     /**
  2134     /**