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 = mi.getComponents();
96 mi.getLayout();
97 mi.setLayout(new FlowLayout());
98 mi.doLayout();
99 mi.layout();
100 mi.invalidate();
101 mi.validate();
102 mi.remove(0);
103 mi.remove(c2);
104 mi.removeAll();
105 mi.preferredSize();
106 mi.minimumSize();
107 mi.getComponentAt(1, 2);
108 mi.locate(1, 2);
109 mi.getComponentAt(new Point(1, 2));
110 mi.isFocusCycleRoot(new Container());
111 mi.transferFocusBackward();
112 mi.setName("goober");
113 mi.getName();
114 mi.getParent();
115 mi.getPeer();
116 mi.getGraphicsConfiguration();
117 mi.getTreeLock();
118 mi.getToolkit();
119 mi.isValid();
120 mi.isDisplayable();
121 mi.isVisible();
122 mi.isShowing();
123 mi.isEnabled();
124 mi.enable(false);
125 mi.enable(true);
126 mi.enableInputMethods(false);
127 mi.enableInputMethods(true);
128 mi.show();
129 mi.show(false);
130 mi.show(true);
131 mi.hide();
132 mi.getForeground();
133 mi.isForegroundSet();
134 mi.getBackground();
135 mi.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 = mi.getComponents();
96 mi.getLayout();
97 mi.setLayout(new FlowLayout());
98 mi.doLayout();
99 mi.layout();
100 mi.invalidate();
101 mi.validate();
102 mi.remove(0);
103 mi.remove(c2);
104 mi.removeAll();
105 mi.preferredSize();
106 mi.minimumSize();
107 mi.getComponentAt(1, 2);
108 mi.locate(1, 2);
109 mi.getComponentAt(new Point(1, 2));
110 mi.isFocusCycleRoot(new Container());
111 mi.transferFocusBackward();
112 mi.setName("goober");
113 mi.getName();
114 mi.getParent();
115 mi.getGraphicsConfiguration();
116 mi.getTreeLock();
117 mi.getToolkit();
118 mi.isValid();
119 mi.isDisplayable();
120 mi.isVisible();
121 mi.isShowing();
122 mi.isEnabled();
123 mi.enable(false);
124 mi.enable(true);
125 mi.enableInputMethods(false);
126 mi.enableInputMethods(true);
127 mi.show();
128 mi.show(false);
129 mi.show(true);
130 mi.hide();
131 mi.getForeground();
132 mi.isForegroundSet();
133 mi.getBackground();
134 mi.isBackgroundSet();
|