< prev index next >

src/java.desktop/share/classes/javax/swing/JDesktopPane.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  58  * L&amp;F specific implementation is responsible for setting the
  59  * <code>desktopManager</code> variable appropriately.
  60  * When the parent of a <code>JInternalFrame</code> is a <code>JDesktopPane</code>,
  61  * it should delegate most of its behavior to the <code>desktopManager</code>
  62  * (closing, resizing, etc).
  63  * <p>
  64  * For further documentation and examples see
  65  * <a href="https://docs.oracle.com/javase/tutorial/uiswing/components/internalframe.html">How to Use Internal Frames</a>,
  66  * a section in <em>The Java Tutorial</em>.
  67  * <p>
  68  * <strong>Warning:</strong> Swing is not thread safe. For more
  69  * information see <a
  70  * href="package-summary.html#threading">Swing's Threading
  71  * Policy</a>.
  72  * <p>
  73  * <strong>Warning:</strong>
  74  * Serialized objects of this class will not be compatible with
  75  * future Swing releases. The current serialization support is
  76  * appropriate for short term storage or RMI between applications running
  77  * the same version of Swing.  As of 1.4, support for long term storage
  78  * of all JavaBeans&trade;
  79  * has been added to the <code>java.beans</code> package.
  80  * Please see {@link java.beans.XMLEncoder}.
  81  *
  82  * @see JInternalFrame
  83  * @see JInternalFrame.JDesktopIcon
  84  * @see DesktopManager
  85  *
  86  * @author David Kloba
  87  * @since 1.2
  88  */
  89 @JavaBean(defaultProperty = "UI")
  90 @SuppressWarnings("serial") // Same-version serialization only
  91 public class JDesktopPane extends JLayeredPane implements Accessible
  92 {
  93     /**
  94      * @see #getUIClassID
  95      * @see #readObject
  96      */
  97     private static final String uiClassID = "DesktopPaneUI";
  98 


 603      */
 604     @BeanProperty(bound = false)
 605     public AccessibleContext getAccessibleContext() {
 606         if (accessibleContext == null) {
 607             accessibleContext = new AccessibleJDesktopPane();
 608         }
 609         return accessibleContext;
 610     }
 611 
 612     /**
 613      * This class implements accessibility support for the
 614      * <code>JDesktopPane</code> class.  It provides an implementation of the
 615      * Java Accessibility API appropriate to desktop pane user-interface
 616      * elements.
 617      * <p>
 618      * <strong>Warning:</strong>
 619      * Serialized objects of this class will not be compatible with
 620      * future Swing releases. The current serialization support is
 621      * appropriate for short term storage or RMI between applications running
 622      * the same version of Swing.  As of 1.4, support for long term storage
 623      * of all JavaBeans&trade;
 624      * has been added to the <code>java.beans</code> package.
 625      * Please see {@link java.beans.XMLEncoder}.
 626      */
 627     @SuppressWarnings("serial") // Same-version serialization only
 628     protected class AccessibleJDesktopPane extends AccessibleJComponent {
 629 
 630         /**
 631          * Get the role of this object.
 632          *
 633          * @return an instance of AccessibleRole describing the role of the
 634          * object
 635          * @see AccessibleRole
 636          */
 637         public AccessibleRole getAccessibleRole() {
 638             return AccessibleRole.DESKTOP_PANE;
 639         }
 640     }
 641 }


  58  * L&amp;F specific implementation is responsible for setting the
  59  * <code>desktopManager</code> variable appropriately.
  60  * When the parent of a <code>JInternalFrame</code> is a <code>JDesktopPane</code>,
  61  * it should delegate most of its behavior to the <code>desktopManager</code>
  62  * (closing, resizing, etc).
  63  * <p>
  64  * For further documentation and examples see
  65  * <a href="https://docs.oracle.com/javase/tutorial/uiswing/components/internalframe.html">How to Use Internal Frames</a>,
  66  * a section in <em>The Java Tutorial</em>.
  67  * <p>
  68  * <strong>Warning:</strong> Swing is not thread safe. For more
  69  * information see <a
  70  * href="package-summary.html#threading">Swing's Threading
  71  * Policy</a>.
  72  * <p>
  73  * <strong>Warning:</strong>
  74  * Serialized objects of this class will not be compatible with
  75  * future Swing releases. The current serialization support is
  76  * appropriate for short term storage or RMI between applications running
  77  * the same version of Swing.  As of 1.4, support for long term storage
  78  * of all JavaBeans
  79  * has been added to the <code>java.beans</code> package.
  80  * Please see {@link java.beans.XMLEncoder}.
  81  *
  82  * @see JInternalFrame
  83  * @see JInternalFrame.JDesktopIcon
  84  * @see DesktopManager
  85  *
  86  * @author David Kloba
  87  * @since 1.2
  88  */
  89 @JavaBean(defaultProperty = "UI")
  90 @SuppressWarnings("serial") // Same-version serialization only
  91 public class JDesktopPane extends JLayeredPane implements Accessible
  92 {
  93     /**
  94      * @see #getUIClassID
  95      * @see #readObject
  96      */
  97     private static final String uiClassID = "DesktopPaneUI";
  98 


 603      */
 604     @BeanProperty(bound = false)
 605     public AccessibleContext getAccessibleContext() {
 606         if (accessibleContext == null) {
 607             accessibleContext = new AccessibleJDesktopPane();
 608         }
 609         return accessibleContext;
 610     }
 611 
 612     /**
 613      * This class implements accessibility support for the
 614      * <code>JDesktopPane</code> class.  It provides an implementation of the
 615      * Java Accessibility API appropriate to desktop pane user-interface
 616      * elements.
 617      * <p>
 618      * <strong>Warning:</strong>
 619      * Serialized objects of this class will not be compatible with
 620      * future Swing releases. The current serialization support is
 621      * appropriate for short term storage or RMI between applications running
 622      * the same version of Swing.  As of 1.4, support for long term storage
 623      * of all JavaBeans
 624      * has been added to the <code>java.beans</code> package.
 625      * Please see {@link java.beans.XMLEncoder}.
 626      */
 627     @SuppressWarnings("serial") // Same-version serialization only
 628     protected class AccessibleJDesktopPane extends AccessibleJComponent {
 629 
 630         /**
 631          * Get the role of this object.
 632          *
 633          * @return an instance of AccessibleRole describing the role of the
 634          * object
 635          * @see AccessibleRole
 636          */
 637         public AccessibleRole getAccessibleRole() {
 638             return AccessibleRole.DESKTOP_PANE;
 639         }
 640     }
 641 }
< prev index next >