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

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


 111  * <p>
 112  * <strong>Warning:</strong>
 113  * Serialized objects of this class will not be compatible with
 114  * future Swing releases. The current serialization support is
 115  * appropriate for short term storage or RMI between applications running
 116  * the same version of Swing.  As of 1.4, support for long term storage
 117  * of all JavaBeans&trade;
 118  * has been added to the <code>java.beans</code> package.
 119  * Please see {@link java.beans.XMLEncoder}.
 120  *
 121  * @see javax.swing.plaf.basic.BasicProgressBarUI
 122  * @see javax.swing.BoundedRangeModel
 123  * @see javax.swing.SwingWorker
 124  *
 125  * @beaninfo
 126  *      attribute: isContainer false
 127  *    description: A component that displays an integer value.
 128  *
 129  * @author Michael C. Albers
 130  * @author Kathy Walrath

 131  */
 132 @SuppressWarnings("serial") // Same-version serialization only
 133 public class JProgressBar extends JComponent implements SwingConstants, Accessible
 134 {
 135     /**
 136      * @see #getUIClassID
 137      */
 138     private static final String uiClassID = "ProgressBarUI";
 139 
 140     /**
 141      * Whether the progress bar is horizontal or vertical.
 142      * The default is <code>HORIZONTAL</code>.
 143      *
 144      * @see #setOrientation
 145      */
 146     protected int orientation;
 147 
 148     /**
 149      * Whether to display a border around the progress bar.
 150      * The default is <code>true</code>.




 111  * <p>
 112  * <strong>Warning:</strong>
 113  * Serialized objects of this class will not be compatible with
 114  * future Swing releases. The current serialization support is
 115  * appropriate for short term storage or RMI between applications running
 116  * the same version of Swing.  As of 1.4, support for long term storage
 117  * of all JavaBeans&trade;
 118  * has been added to the <code>java.beans</code> package.
 119  * Please see {@link java.beans.XMLEncoder}.
 120  *
 121  * @see javax.swing.plaf.basic.BasicProgressBarUI
 122  * @see javax.swing.BoundedRangeModel
 123  * @see javax.swing.SwingWorker
 124  *
 125  * @beaninfo
 126  *      attribute: isContainer false
 127  *    description: A component that displays an integer value.
 128  *
 129  * @author Michael C. Albers
 130  * @author Kathy Walrath
 131  * @since 1.2
 132  */
 133 @SuppressWarnings("serial") // Same-version serialization only
 134 public class JProgressBar extends JComponent implements SwingConstants, Accessible
 135 {
 136     /**
 137      * @see #getUIClassID
 138      */
 139     private static final String uiClassID = "ProgressBarUI";
 140 
 141     /**
 142      * Whether the progress bar is horizontal or vertical.
 143      * The default is <code>HORIZONTAL</code>.
 144      *
 145      * @see #setOrientation
 146      */
 147     protected int orientation;
 148 
 149     /**
 150      * Whether to display a border around the progress bar.
 151      * The default is <code>true</code>.