jdk/src/share/classes/java/awt/Scrollbar.java
changeset 20451 4cedf4e1560a
parent 20120 e89bfc3f8d0e
child 21957 97758de70fbd
equal deleted inserted replaced
20450:008da09ac2b2 20451:4cedf4e1560a
    40  * range of values. The following three vertical
    40  * range of values. The following three vertical
    41  * scroll bars could be used as slider controls to pick
    41  * scroll bars could be used as slider controls to pick
    42  * the red, green, and blue components of a color:
    42  * the red, green, and blue components of a color:
    43  * <p>
    43  * <p>
    44  * <img src="doc-files/Scrollbar-1.gif" alt="Image shows 3 vertical sliders, side-by-side."
    44  * <img src="doc-files/Scrollbar-1.gif" alt="Image shows 3 vertical sliders, side-by-side."
    45  * ALIGN=center HSPACE=10 VSPACE=7>
    45  * style="float:center; margin: 7px 10px;">
    46  * <p>
    46  * <p>
    47  * Each scroll bar in this example could be created with
    47  * Each scroll bar in this example could be created with
    48  * code similar to the following:
    48  * code similar to the following:
    49  * <p>
    49  * <p>
    50  * <hr><blockquote><pre>
    50  * <hr><blockquote><pre>
    58  * can be used to represent the amount of text that is visible.
    58  * can be used to represent the amount of text that is visible.
    59  * Here is an example of a scroll bar that represents a range:
    59  * Here is an example of a scroll bar that represents a range:
    60  * <p>
    60  * <p>
    61  * <img src="doc-files/Scrollbar-2.gif"
    61  * <img src="doc-files/Scrollbar-2.gif"
    62  * alt="Image shows horizontal slider with starting range of 0 and ending range of 300. The slider thumb is labeled 60."
    62  * alt="Image shows horizontal slider with starting range of 0 and ending range of 300. The slider thumb is labeled 60."
    63  * ALIGN=center HSPACE=10 VSPACE=7>
    63  * style="float:center; margin: 7px 10px;">
    64  * <p>
    64  * <p>
    65  * The value range represented by the bubble in this example
    65  * The value range represented by the bubble in this example
    66  * is the <em>visible amount</em>. The horizontal scroll bar
    66  * is the <em>visible amount</em>. The horizontal scroll bar
    67  * in this example could be created with code like the following:
    67  * in this example could be created with code like the following:
    68  * <p>
    68  * <p>
   293 
   293 
   294     /**
   294     /**
   295      * Constructs a new vertical scroll bar.
   295      * Constructs a new vertical scroll bar.
   296      * The default properties of the scroll bar are listed in
   296      * The default properties of the scroll bar are listed in
   297      * the following table:
   297      * the following table:
   298      * <p> </p>
   298      * <p>
   299      * <table border=1 summary="Scrollbar default properties">
   299      * <table border=1 summary="Scrollbar default properties">
   300      * <tr>
   300      * <tr>
   301      *   <th>Property</th>
   301      *   <th>Property</th>
   302      *   <th>Description</th>
   302      *   <th>Description</th>
   303      *   <th>Default Value</th>
   303      *   <th>Default Value</th>