jdk/src/java.desktop/share/classes/java/awt/ScrollPaneAdjustable.java
changeset 26749 b6598aa90114
parent 25859 3317bb8137f4
child 35667 ed476aba94de
equal deleted inserted replaced
26748:fba66a2e8961 26749:b6598aa90114
   331      * Sets the value of this scrollbar to the specified value.
   331      * Sets the value of this scrollbar to the specified value.
   332      * <p>
   332      * <p>
   333      * If the value supplied is less than the current minimum or
   333      * If the value supplied is less than the current minimum or
   334      * greater than the current maximum, then one of those values is
   334      * greater than the current maximum, then one of those values is
   335      * substituted, as appropriate. Also, creates and dispatches
   335      * substituted, as appropriate. Also, creates and dispatches
   336      * the AdjustementEvent with specified type and value.
   336      * the AdjustmentEvent with specified type and value.
   337      *
   337      *
   338      * @param v the new value of the scrollbar
   338      * @param v the new value of the scrollbar
   339      * @param type the type of the scrolling operation occurred
   339      * @param type the type of the scrolling operation occurred
   340      */
   340      */
   341     private void setTypedValue(int v, int type) {
   341     private void setTypedValue(int v, int type) {