src/share/classes/javax/swing/JScrollBar.java

Print this page
rev 10121 : 8046485: Add missing @since tag under javax.swing.*
Reviewed-by:


  60  * <strong>Warning:</strong> Swing is not thread safe. For more
  61  * information see <a
  62  * href="package-summary.html#threading">Swing's Threading
  63  * Policy</a>.
  64  * <p>
  65  * <strong>Warning:</strong>
  66  * Serialized objects of this class will not be compatible with
  67  * future Swing releases. The current serialization support is
  68  * appropriate for short term storage or RMI between applications running
  69  * the same version of Swing.  As of 1.4, support for long term storage
  70  * of all JavaBeans&trade;
  71  * has been added to the <code>java.beans</code> package.
  72  * Please see {@link java.beans.XMLEncoder}.
  73  *
  74  * @see JScrollPane
  75  * @beaninfo
  76  *      attribute: isContainer false
  77  *    description: A component that helps determine the visible content range of an area.
  78  *
  79  * @author David Kloba

  80  */
  81 @SuppressWarnings("serial") // Same-version serialization only
  82 public class JScrollBar extends JComponent implements Adjustable, Accessible
  83 {
  84     /**
  85      * @see #getUIClassID
  86      * @see #readObject
  87      */
  88     private static final String uiClassID = "ScrollBarUI";
  89 
  90     /**
  91      * All changes from the model are treated as though the user moved
  92      * the scrollbar knob.
  93      */
  94     private ChangeListener fwdAdjustmentEvents = new ModelListener();
  95 
  96 
  97     /**
  98      * The model that represents the scrollbar's minimum, maximum, extent
  99      * (aka "visibleAmount") and current value.




  60  * <strong>Warning:</strong> Swing is not thread safe. For more
  61  * information see <a
  62  * href="package-summary.html#threading">Swing's Threading
  63  * Policy</a>.
  64  * <p>
  65  * <strong>Warning:</strong>
  66  * Serialized objects of this class will not be compatible with
  67  * future Swing releases. The current serialization support is
  68  * appropriate for short term storage or RMI between applications running
  69  * the same version of Swing.  As of 1.4, support for long term storage
  70  * of all JavaBeans&trade;
  71  * has been added to the <code>java.beans</code> package.
  72  * Please see {@link java.beans.XMLEncoder}.
  73  *
  74  * @see JScrollPane
  75  * @beaninfo
  76  *      attribute: isContainer false
  77  *    description: A component that helps determine the visible content range of an area.
  78  *
  79  * @author David Kloba
  80  * @since 1.2
  81  */
  82 @SuppressWarnings("serial") // Same-version serialization only
  83 public class JScrollBar extends JComponent implements Adjustable, Accessible
  84 {
  85     /**
  86      * @see #getUIClassID
  87      * @see #readObject
  88      */
  89     private static final String uiClassID = "ScrollBarUI";
  90 
  91     /**
  92      * All changes from the model are treated as though the user moved
  93      * the scrollbar knob.
  94      */
  95     private ChangeListener fwdAdjustmentEvents = new ModelListener();
  96 
  97 
  98     /**
  99      * The model that represents the scrollbar's minimum, maximum, extent
 100      * (aka "visibleAmount") and current value.