jdk/src/share/classes/javax/swing/JSplitPane.java
changeset 438 2ae294e4518c
parent 2 90ce3da70b43
child 715 f16baef3a20e
equal deleted inserted replaced
437:101b84dce5da 438:2ae294e4518c
  1193          * Gets the accessible value of this object.
  1193          * Gets the accessible value of this object.
  1194          *
  1194          *
  1195          * @return a localized String describing the value of this object
  1195          * @return a localized String describing the value of this object
  1196          */
  1196          */
  1197         public Number getCurrentAccessibleValue() {
  1197         public Number getCurrentAccessibleValue() {
  1198             return new Integer(getDividerLocation());
  1198             return Integer.valueOf(getDividerLocation());
  1199         }
  1199         }
  1200 
  1200 
  1201 
  1201 
  1202         /**
  1202         /**
  1203          * Sets the value of this object as a Number.
  1203          * Sets the value of this object as a Number.
  1218          * Gets the minimum accessible value of this object.
  1218          * Gets the minimum accessible value of this object.
  1219          *
  1219          *
  1220          * @return The minimum value of this object.
  1220          * @return The minimum value of this object.
  1221          */
  1221          */
  1222         public Number getMinimumAccessibleValue() {
  1222         public Number getMinimumAccessibleValue() {
  1223             return new Integer(getUI().getMinimumDividerLocation(
  1223             return Integer.valueOf(getUI().getMinimumDividerLocation(
  1224                                                         JSplitPane.this));
  1224                                                         JSplitPane.this));
  1225         }
  1225         }
  1226 
  1226 
  1227 
  1227 
  1228         /**
  1228         /**
  1229          * Gets the maximum accessible value of this object.
  1229          * Gets the maximum accessible value of this object.
  1230          *
  1230          *
  1231          * @return The maximum value of this object.
  1231          * @return The maximum value of this object.
  1232          */
  1232          */
  1233         public Number getMaximumAccessibleValue() {
  1233         public Number getMaximumAccessibleValue() {
  1234             return new Integer(getUI().getMaximumDividerLocation(
  1234             return Integer.valueOf(getUI().getMaximumDividerLocation(
  1235                                                         JSplitPane.this));
  1235                                                         JSplitPane.this));
  1236         }
  1236         }
  1237 
  1237 
  1238 
  1238 
  1239         /**
  1239         /**