equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
108 * attribute: isContainer true |
108 * attribute: isContainer true |
109 * attribute: containerDelegate getContentPane |
109 * attribute: containerDelegate getContentPane |
110 * description: A frame container which is contained within |
110 * description: A frame container which is contained within |
111 * another window. |
111 * another window. |
112 */ |
112 */ |
|
113 @SuppressWarnings("serial") // Same-version serialization only |
113 public class JInternalFrame extends JComponent implements |
114 public class JInternalFrame extends JComponent implements |
114 Accessible, WindowConstants, |
115 Accessible, WindowConstants, |
115 RootPaneContainer |
116 RootPaneContainer |
116 { |
117 { |
117 /** |
118 /** |
2032 * the same version of Swing. As of 1.4, support for long term storage |
2033 * the same version of Swing. As of 1.4, support for long term storage |
2033 * of all JavaBeans™ |
2034 * of all JavaBeans™ |
2034 * has been added to the <code>java.beans</code> package. |
2035 * has been added to the <code>java.beans</code> package. |
2035 * Please see {@link java.beans.XMLEncoder}. |
2036 * Please see {@link java.beans.XMLEncoder}. |
2036 */ |
2037 */ |
|
2038 @SuppressWarnings("serial") // Same-version serialization only |
2037 protected class AccessibleJInternalFrame extends AccessibleJComponent |
2039 protected class AccessibleJInternalFrame extends AccessibleJComponent |
2038 implements AccessibleValue { |
2040 implements AccessibleValue { |
2039 |
2041 |
2040 /** |
2042 /** |
2041 * Get the accessible name of this object. |
2043 * Get the accessible name of this object. |
2149 * has been added to the <code>java.beans</code> package. |
2151 * has been added to the <code>java.beans</code> package. |
2150 * Please see {@link java.beans.XMLEncoder}. |
2152 * Please see {@link java.beans.XMLEncoder}. |
2151 * |
2153 * |
2152 * @author David Kloba |
2154 * @author David Kloba |
2153 */ |
2155 */ |
|
2156 @SuppressWarnings("serial") // Same-version serialization only |
2154 static public class JDesktopIcon extends JComponent implements Accessible |
2157 static public class JDesktopIcon extends JComponent implements Accessible |
2155 { |
2158 { |
2156 JInternalFrame internalFrame; |
2159 JInternalFrame internalFrame; |
2157 |
2160 |
2158 /** |
2161 /** |
2321 * the same version of Swing. As of 1.4, support for long term storage |
2324 * the same version of Swing. As of 1.4, support for long term storage |
2322 * of all JavaBeans™ |
2325 * of all JavaBeans™ |
2323 * has been added to the <code>java.beans</code> package. |
2326 * has been added to the <code>java.beans</code> package. |
2324 * Please see {@link java.beans.XMLEncoder}. |
2327 * Please see {@link java.beans.XMLEncoder}. |
2325 */ |
2328 */ |
|
2329 @SuppressWarnings("serial") // Same-version serialization only |
2326 protected class AccessibleJDesktopIcon extends AccessibleJComponent |
2330 protected class AccessibleJDesktopIcon extends AccessibleJComponent |
2327 implements AccessibleValue { |
2331 implements AccessibleValue { |
2328 |
2332 |
2329 /** |
2333 /** |
2330 * Gets the role of this object. |
2334 * Gets the role of this object. |