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

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


 136  * <p>
 137  * <b>Note:</b> that these layers are simply a logical construct and LayoutManagers
 138  * will affect all child components of this container without regard for
 139  * layer settings.
 140  * <p>
 141  * <strong>Warning:</strong> Swing is not thread safe. For more
 142  * information see <a
 143  * href="package-summary.html#threading">Swing's Threading
 144  * Policy</a>.
 145  * <p>
 146  * <strong>Warning:</strong>
 147  * Serialized objects of this class will not be compatible with
 148  * future Swing releases. The current serialization support is
 149  * appropriate for short term storage or RMI between applications running
 150  * the same version of Swing.  As of 1.4, support for long term storage
 151  * of all JavaBeans&trade;
 152  * has been added to the <code>java.beans</code> package.
 153  * Please see {@link java.beans.XMLEncoder}.
 154  *
 155  * @author David Kloba

 156  */
 157 @SuppressWarnings("serial")
 158 public class JLayeredPane extends JComponent implements Accessible {
 159     /// Watch the values in getObjectForLayer()
 160     /** Convenience object defining the Default layer. Equivalent to new Integer(0).*/
 161     public final static Integer DEFAULT_LAYER = new Integer(0);
 162     /** Convenience object defining the Palette layer. Equivalent to new Integer(100).*/
 163     public final static Integer PALETTE_LAYER = new Integer(100);
 164     /** Convenience object defining the Modal layer. Equivalent to new Integer(200).*/
 165     public final static Integer MODAL_LAYER = new Integer(200);
 166     /** Convenience object defining the Popup layer. Equivalent to new Integer(300).*/
 167     public final static Integer POPUP_LAYER = new Integer(300);
 168     /** Convenience object defining the Drag layer. Equivalent to new Integer(400).*/
 169     public final static Integer DRAG_LAYER = new Integer(400);
 170     /** Convenience object defining the Frame Content layer.
 171       * This layer is normally only use to position the contentPane and menuBar
 172       * components of JFrame.
 173       * Equivalent to new Integer(-30000).
 174       * @see JFrame
 175       */




 136  * <p>
 137  * <b>Note:</b> that these layers are simply a logical construct and LayoutManagers
 138  * will affect all child components of this container without regard for
 139  * layer settings.
 140  * <p>
 141  * <strong>Warning:</strong> Swing is not thread safe. For more
 142  * information see <a
 143  * href="package-summary.html#threading">Swing's Threading
 144  * Policy</a>.
 145  * <p>
 146  * <strong>Warning:</strong>
 147  * Serialized objects of this class will not be compatible with
 148  * future Swing releases. The current serialization support is
 149  * appropriate for short term storage or RMI between applications running
 150  * the same version of Swing.  As of 1.4, support for long term storage
 151  * of all JavaBeans&trade;
 152  * has been added to the <code>java.beans</code> package.
 153  * Please see {@link java.beans.XMLEncoder}.
 154  *
 155  * @author David Kloba
 156  * @since 1.2
 157  */
 158 @SuppressWarnings("serial")
 159 public class JLayeredPane extends JComponent implements Accessible {
 160     /// Watch the values in getObjectForLayer()
 161     /** Convenience object defining the Default layer. Equivalent to new Integer(0).*/
 162     public final static Integer DEFAULT_LAYER = new Integer(0);
 163     /** Convenience object defining the Palette layer. Equivalent to new Integer(100).*/
 164     public final static Integer PALETTE_LAYER = new Integer(100);
 165     /** Convenience object defining the Modal layer. Equivalent to new Integer(200).*/
 166     public final static Integer MODAL_LAYER = new Integer(200);
 167     /** Convenience object defining the Popup layer. Equivalent to new Integer(300).*/
 168     public final static Integer POPUP_LAYER = new Integer(300);
 169     /** Convenience object defining the Drag layer. Equivalent to new Integer(400).*/
 170     public final static Integer DRAG_LAYER = new Integer(400);
 171     /** Convenience object defining the Frame Content layer.
 172       * This layer is normally only use to position the contentPane and menuBar
 173       * components of JFrame.
 174       * Equivalent to new Integer(-30000).
 175       * @see JFrame
 176       */