Searched defs:window (Results 1 - 25 of 116) sorted by relevance

12345

/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/
H A DGLXSurfaceData.h41 * Window window; (used in XAWT only)
42 * For onscreen windows, we maintain a reference to that window's associated
47 * For onscreen windows, we maintain a reference to that window's associated
67 Window window; member in struct:_GLXSDOps
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/
H A DWGLSurfaceData.h39 HWND window; member in struct:_WGLSDOps
/openjdk7/jdk/test/java/awt/Window/WindowType/
H A DWindowType.java42 private static void test(Window window, Window.Type type) { argument
43 window.setType(type);
45 window.setVisible(true);
47 window.setVisible(false);
/openjdk7/jdk/test/java/awt/xembed/server/
H A DTestXEmbedServerJava.java77 public Process startClient(Rectangle[] bounds, long window) { argument
80 return Runtime.getRuntime().exec(java_home + "/bin/java JavaClient " + window);
H A DTesterClient.java33 // First parameter is the name of the test, second is the window, the rest are rectangles
36 long window = Long.parseLong(args[1]);
42 startClient(r, window);
45 public static void startClient(Rectangle bounds[], long window) throws Throwable { argument
48 final Object tester = m_getTester.invoke(null, new Object[] {bounds, window});
H A DJavaClient.java50 private static EmbeddedFrame createEmbeddedFrame(boolean xtoolkit, long window) { argument
54 return (EmbeddedFrame)cons.newInstance(new Object[] {window, true});
H A DRunTestXEmbed.java48 public Process startClient(Rectangle bounds[], long window) { argument
72 + test.getName() + " " + window + buf,
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/
H A DFullScreenUtilities.java63 * @param window
65 * @throws IllegalArgumentException if window is not a {@link RootPaneContainer}
67 public static void setWindowCanFullScreen(final Window window, final boolean canFullScreen) { argument
68 if (!(window instanceof RootPaneContainer)) throw new IllegalArgumentException("Can't mark a non-RootPaneContainer as full screen-able");
69 final RootPaneContainer rpc = (RootPaneContainer)window;
75 * @param window to attach the {@link FullScreenListener} to
77 * @throws IllegalArgumentException if window is not a {@link RootPaneContainer}
79 public static void addFullScreenListenerTo(final Window window, final FullScreenListener listener) { argument
80 if (!(window instanceof RootPaneContainer)) throw new IllegalArgumentException("Can't attach FullScreenListener to a non-RootPaneContainer");
82 FullScreenHandler.addFullScreenListenerTo((RootPaneContainer)window, listene
91 removeFullScreenListenerFrom(final Window window, final FullScreenListener listener) argument
[all...]
H A DAppEvent.java76 * If the files were opened using the Spotlight search menu or a Finder search window, this method obtains the search term used to find the files.
117 * Event sent when the application is asked to open it's about window.
124 * Event sent when the application is asked to open it's preferences window.
185 * Event sent when a window is entering/exiting or has entered/exited full screen state.
192 final Window window; field in class:AppEvent.FullScreenEvent
194 FullScreenEvent(final Window window) { argument
195 this.window = window;
199 * @return window transitioning between full screen states
202 return window;
[all...]
H A DFullScreenHandler.java45 static void addFullScreenListenerTo(final RootPaneContainer window, final FullScreenListener listener) { argument
46 final Object value = window.getRootPane().getClientProperty(CLIENT_PROPERTY);
56 window.getRootPane().putClientProperty(CLIENT_PROPERTY, newHandler);
60 static void removeFullScreenListenerFrom(final RootPaneContainer window, final FullScreenListener listener) { argument
61 final Object value = window.getRootPane().getClientProperty(CLIENT_PROPERTY);
66 static FullScreenHandler getHandlerFor(final RootPaneContainer window) { argument
67 final Object value = window.getRootPane().getClientProperty(CLIENT_PROPERTY);
73 static void handleFullScreenEventFromNative(final Window window, final int type) { argument
74 if (!(window instanceof RootPaneContainer)) return; // handles null
78 final FullScreenHandler handler = getHandlerFor((RootPaneContainer)window);
[all...]
/openjdk7/jdk/src/share/classes/com/sun/awt/
H A DSecurityWarning.java39 * window size. A "top-level window" is an instance of the {@code Window}
64 * @param window the window to get the security warning size for
66 * @throws NullPointerException if the window argument is null
67 * @throws IllegalArgumentException if the window is trusted (i.e.
70 public static Dimension getSize(Window window) { argument
71 if (window == null) {
73 "The window argument should not be null.");
75 if (window
141 setPosition(Window window, Point2D point, float alignmentX, float alignmentY) argument
[all...]
/openjdk7/jdk/test/java/awt/Frame/FrameSize/
H A DTestFrameSize.java38 * Test fails if size of window is wrong
48 private static Dimension getClientSize(Frame window) { argument
49 Dimension size = window.getSize();
50 Insets insets = window.getInsets();
52 System.out.println("getClientSize() for " + window);
74 // showing the window.
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4759934.java70 private void show(Window window, String command) { argument
76 window.add(button);
77 window.pack();
78 window.setVisible(true);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXLayerProtocol.java35 void setLayer(XWindowPeer window, int layer); argument
H A DXStateProtocol.java39 * Moves window into the state.
41 void setState(XWindowPeer window, int state); argument
44 * Returns current state of the window
46 int getState(XWindowPeer window); argument
56 void unshadeKludge(XWindowPeer window); argument
H A DXWrapperBase.java56 String getWindow(long window) { argument
57 XBaseWindow w = XToolkit.windowToXWindow(window);
59 return Long.toHexString(window);
/openjdk7/jdk/src/share/classes/java/awt/
H A DFocusTraversalPolicy.java157 * @param window the Window whose initial Component is to be returned
158 * @return the Component that should receive the focus when window is made
163 * @throws IllegalArgumentException if window is null
165 public Component getInitialComponent(Window window) { argument
166 if ( window == null ){
167 throw new IllegalArgumentException("window cannot be equal to null.");
169 Component def = getDefaultComponent(window);
170 if (def == null && window.isFocusableWindow()) {
171 def = window;
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWCursorManager.java61 * thread for the given window.
66 public final void updateCursorLater(final LWWindowPeer window) { argument
74 SunToolkit.executeOnEventHandlerThread(window.getTarget(), r);
129 * window.
/openjdk7/jdk/src/windows/native/sun/windows/
H A DMouseInfo.cpp42 jobject window)
50 jobject winPeer = AwtObject::GetPeerForTarget(env, window);
41 Java_sun_awt_DefaultMouseInfoPeer_isWindowUnderMouse(JNIEnv *env, jclass cls, jobject window) argument
/openjdk7/jdk/test/java/awt/Focus/FocusOwnerFrameOnClick/
H A DFocusOwnerFrameOnClick.java29 @summary Tests that clicking an owner frame switches focus from its owned window.
46 Window window = new Window(frame); field in class:FocusOwnerFrameOnClick
65 window.setLocation(300, 0);
66 window.add(wButton);
67 window.pack();
74 window.setVisible(true);
/openjdk7/jdk/test/java/awt/Focus/OwnedWindowFocusIMECrashTest/
H A DOwnedWindowFocusIMECrashTest.java27 @summary Tests that switching focus from an owned window doesn't crash.
42 JWindow window = new JWindow(owner); field in class:OwnedWindowFocusIMECrashTest
57 window.setBounds(100, 250, 200, 100);
59 window.add(button);
63 window.setVisible(true);
/openjdk7/jdk/test/java/awt/Focus/SimpleWindowActivationTest/
H A DSimpleWindowActivationTest.java27 * @summary Tests that override redirect window gets activated on click.
43 private static Window window; field in class:SimpleWindowActivationTest
84 if (!window.isFocused()) {
85 throw new RuntimeException("Test failed: the window couldn't be activated by click!");
98 window.setFocusableWindowState(false);
104 if (window.isFocused()) {
105 throw new RuntimeException("Test failed: unfocusable window got activated by click!");
114 window = new Window(frame);
118 window.setBounds(800, 200, 300, 100);
119 window
[all...]
/openjdk7/jdk/test/java/awt/Frame/ShapeNotSetSometimes/
H A DShapeNotSetSometimes.java41 private Frame window; field in class:ShapeNotSetSometimes
85 window = new TestFrame();
86 window.setUndecorated(true);
87 window.setSize(200, 200);
88 window.setLocation(70, 450);
89 window.setShape(shape);
90 window.setVisible(true);
92 System.out.println("Checking " + window.getClass().getSuperclass().getName() + " with " + shape_name + " shape (" + window.getShape() + ")...");
139 window
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DXrandr.h56 Window window; /* window which selected for this event */ member in struct:__anon964
57 Window root; /* Root window for changed screen */
133 void XRRSelectInput(Display *dpy, Window window, int mask);
149 * ConfigureNotify (on the root window)
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsMenuBarUI.java60 private Window window = null; field in class:WindowsMenuBarUI
79 window = (Window) component;
95 if (windowListener != null && window != null) {
96 window.removeWindowListener(windowListener);
98 window = null;
172 * Checks if component belongs to an active window.
174 * @return true if component belongs to an active window

Completed in 95 milliseconds

12345