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