1 /*
2 * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
95 Component[] cs = ch.getComponents();
96 ch.getLayout();
97 ch.setLayout(new FlowLayout());
98 ch.doLayout();
99 ch.layout();
100 ch.invalidate();
101 ch.validate();
102 ch.remove(0);
103 ch.remove(c2);
104 ch.removeAll();
105 ch.preferredSize();
106 ch.minimumSize();
107 ch.getComponentAt(1, 2);
108 ch.locate(1, 2);
109 ch.getComponentAt(new Point(1, 2));
110 ch.isFocusCycleRoot(new Container());
111 ch.transferFocusBackward();
112 ch.setName("goober");
113 ch.getName();
114 ch.getParent();
115 ch.getPeer();
116 ch.getGraphicsConfiguration();
117 ch.getTreeLock();
118 ch.getToolkit();
119 ch.isValid();
120 ch.isDisplayable();
121 ch.isVisible();
122 ch.isShowing();
123 ch.isEnabled();
124 ch.enable(false);
125 ch.enable(true);
126 ch.enableInputMethods(false);
127 ch.enableInputMethods(true);
128 ch.show();
129 ch.show(false);
130 ch.show(true);
131 ch.hide();
132 ch.getForeground();
133 ch.isForegroundSet();
134 ch.getBackground();
135 ch.isBackgroundSet();
|
1 /*
2 * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
95 Component[] cs = ch.getComponents();
96 ch.getLayout();
97 ch.setLayout(new FlowLayout());
98 ch.doLayout();
99 ch.layout();
100 ch.invalidate();
101 ch.validate();
102 ch.remove(0);
103 ch.remove(c2);
104 ch.removeAll();
105 ch.preferredSize();
106 ch.minimumSize();
107 ch.getComponentAt(1, 2);
108 ch.locate(1, 2);
109 ch.getComponentAt(new Point(1, 2));
110 ch.isFocusCycleRoot(new Container());
111 ch.transferFocusBackward();
112 ch.setName("goober");
113 ch.getName();
114 ch.getParent();
115 ch.getGraphicsConfiguration();
116 ch.getTreeLock();
117 ch.getToolkit();
118 ch.isValid();
119 ch.isDisplayable();
120 ch.isVisible();
121 ch.isShowing();
122 ch.isEnabled();
123 ch.enable(false);
124 ch.enable(true);
125 ch.enableInputMethods(false);
126 ch.enableInputMethods(true);
127 ch.show();
128 ch.show(false);
129 ch.show(true);
130 ch.hide();
131 ch.getForeground();
132 ch.isForegroundSet();
133 ch.getBackground();
134 ch.isBackgroundSet();
|