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

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


  88  * <p>
  89  * <strong>Warning:</strong>
  90  * Serialized objects of this class will not be compatible with
  91  * future Swing releases. The current serialization support is
  92  * appropriate for short term storage or RMI between applications running
  93  * the same version of Swing.  As of 1.4, support for long term storage
  94  * of all JavaBeans&trade;
  95  * has been added to the <code>java.beans</code> package.
  96  * Please see {@link java.beans.XMLEncoder}.
  97  *
  98  * @beaninfo
  99  *      attribute: isContainer true
 100  *    description: A component which provides a tab folder metaphor for
 101  *                 displaying one component from a set of components.
 102  *
 103  * @author Dave Moore
 104  * @author Philip Milne
 105  * @author Amy Fowler
 106  *
 107  * @see SingleSelectionModel

 108  */
 109 @SuppressWarnings("serial") // Same-version serialization only
 110 public class JTabbedPane extends JComponent
 111        implements Serializable, Accessible, SwingConstants {
 112 
 113    /**
 114     * The tab layout policy for wrapping tabs in multiple runs when all
 115     * tabs will not fit within a single run.
 116     */
 117     public static final int WRAP_TAB_LAYOUT = 0;
 118 
 119    /**
 120     * Tab layout policy for providing a subset of available tabs when all
 121     * the tabs will not fit within a single run.  If all the tabs do
 122     * not fit within a single run the look and feel will provide a way
 123     * to navigate to hidden tabs.
 124     */
 125     public static final int SCROLL_TAB_LAYOUT = 1;
 126 
 127 




  88  * <p>
  89  * <strong>Warning:</strong>
  90  * Serialized objects of this class will not be compatible with
  91  * future Swing releases. The current serialization support is
  92  * appropriate for short term storage or RMI between applications running
  93  * the same version of Swing.  As of 1.4, support for long term storage
  94  * of all JavaBeans&trade;
  95  * has been added to the <code>java.beans</code> package.
  96  * Please see {@link java.beans.XMLEncoder}.
  97  *
  98  * @beaninfo
  99  *      attribute: isContainer true
 100  *    description: A component which provides a tab folder metaphor for
 101  *                 displaying one component from a set of components.
 102  *
 103  * @author Dave Moore
 104  * @author Philip Milne
 105  * @author Amy Fowler
 106  *
 107  * @see SingleSelectionModel
 108  * @since 1.2
 109  */
 110 @SuppressWarnings("serial") // Same-version serialization only
 111 public class JTabbedPane extends JComponent
 112        implements Serializable, Accessible, SwingConstants {
 113 
 114    /**
 115     * The tab layout policy for wrapping tabs in multiple runs when all
 116     * tabs will not fit within a single run.
 117     */
 118     public static final int WRAP_TAB_LAYOUT = 0;
 119 
 120    /**
 121     * Tab layout policy for providing a subset of available tabs when all
 122     * the tabs will not fit within a single run.  If all the tabs do
 123     * not fit within a single run the look and feel will provide a way
 124     * to navigate to hidden tabs.
 125     */
 126     public static final int SCROLL_TAB_LAYOUT = 1;
 127 
 128