/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CWrapper.java | 47 public static native void setLevel(long window, int level); argument 49 public static native void makeKeyAndOrderFront(long window); argument 50 public static native void makeKeyWindow(long window); argument 51 public static native void makeMainWindow(long window); argument 52 public static native boolean canBecomeMainWindow(long window); argument 53 public static native boolean isKeyWindow(long window); argument 55 public static native void orderFront(long window); argument 56 public static native void orderFrontRegardless(long window); argument 57 public static native void orderWindow(long window, int ordered, long relativeTo); argument 58 public static native void orderOut(long window); argument 63 setFrame(long window, int x, int y, int w, int h, boolean display) argument 65 setAlphaValue(long window, float alpha) argument 66 setOpaque(long window, boolean opaque) argument 67 setBackgroundColor(long window, long color) argument 69 miniaturize(long window) argument 70 deminiaturize(long window) argument 71 zoom(long window) argument 73 makeFirstResponder(long window, long responder) argument 75 screen(long window) argument 84 public static native long window(long view); method in class:CWrapper.NSView [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XStateProtocol.java | 39 * 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 D | XLayerProtocol.java | 35 void setLayer(XWindowPeer window, int layer); argument
|
H A D | XNETProtocol.java | 47 public void setState(XWindowPeer window, int state) { argument 48 if (log.isLoggable(PlatformLogger.FINE)) log.fine("Setting state of " + window + " to " + state); 49 if (window.isShowing()) { 50 requestState(window, state); 52 setInitialState(window, state); 56 private void setInitialState(XWindowPeer window, int state) { argument 57 XAtomList old_state = window.getNETWMState(); 58 log.fine("Current state of the window {0} is {1}", window, old_state); 69 log.fine("Setting initial state of the window { 73 requestState(XWindowPeer window, int state) argument 124 getState(XWindowPeer window) argument 131 getStateImpl(XWindowPeer window) argument 160 unshadeKludge(XWindowPeer window) argument 173 requestState(XWindow window, XAtom state, boolean isAdd) argument 208 setStateHelper(XWindowPeer window, XAtom state, boolean set) argument 228 setLayer(XWindowPeer window, int layer) argument 358 setWMIcons(XWindowPeer window, java.util.List<IconInfo> icons) argument 396 isWMStateNetHidden(XWindowPeer window) argument [all...] |
H A D | XPropertyCache.java | 31 * Implements abstract X window property caching mechanism. The 80 public static boolean isCached(long window, XAtom property) { argument 81 Map<XAtom, PropertyCacheEntry> entryMap = windowToMap.get(window); 89 public static PropertyCacheEntry getCacheEntry(long window, XAtom property) { argument 90 Map<XAtom, PropertyCacheEntry> entryMap = windowToMap.get(window); 98 public static void storeCache(PropertyCacheEntry entry, long window, XAtom property) { argument 99 Map<XAtom, PropertyCacheEntry> entryMap = windowToMap.get(window); 102 windowToMap.put(window, entryMap); 107 public static void clearCache(long window) { argument 108 windowToMap.remove(window); 111 clearCache(long window, XAtom property) argument [all...] |
H A D | XAtom.java | 41 * set the values for a particular window. <p> <p> 44 * Example usage : To set the window name for a top level: <p> 47 * xa.setProperty(window,"Hello World");<p></code> 281 /** Sets the window property for the specified window 282 * @param window window id to use 286 public void setProperty(long window, String str) { argument 290 checkWindow(window); 293 XlibWrapper.SetProperty(display,window,ato 302 setPropertyUTF8(long window, String str) argument 322 setProperty8(long window, String str) argument 345 getProperty(long window) argument 363 get32Property(long window, long property_type) argument 388 getCard32Property(XBaseWindow window) argument 395 setCard32Property(long window, long value) argument 414 setCard32Property(XBaseWindow window, long value) argument 425 getAtomData(long window, long data_ptr, int length) argument 459 getAtomData(long window, long type, long data_ptr, int length) argument 492 setAtomData(long window, long data_ptr, int length) argument 513 setAtomData(long window, long type, long data_ptr, int length) argument 534 setAtomData8(long window, long type, long data_ptr, int length) argument 552 DeleteProperty(long window) argument 568 DeleteProperty(XBaseWindow window) argument 582 setAtomData(long window, long property_type, byte[] data) argument 595 getByteArrayProperty(long window, long property_type) argument 666 getAtomListProperty(long window) argument 704 getAtomListPropertyList(long window) argument 707 getAtomListPropertyList(XBaseWindow window) argument 710 getAtomListProperty(XBaseWindow window) argument 717 setAtomListProperty(long window, XAtom[] atoms) argument 726 setAtomListProperty(long window, XAtomList atoms) argument 734 setAtomListProperty(XBaseWindow window, XAtom[] atoms) argument 741 setAtomListProperty(XBaseWindow window, XAtomList atoms) argument 770 checkWindow(long window) argument 791 setWindowProperty(long window, long window_value) argument 806 setWindowProperty(XBaseWindow window, XBaseWindow window_value) argument 814 getWindowProperty(long window) argument [all...] |
H A D | XlibWrapper.java | 115 static native void XDestroyWindow(long display, long window); argument 154 static native void XMapWindow(long display, long window); argument 155 static native void XMapRaised(long display, long window); argument 156 static native void XRaiseWindow(long display, long window); argument 158 static native void XLowerWindow(long display, long window); argument 160 static native void XConfigureWindow(long display, long window, argument 162 static native void XSetInputFocus(long display, long window); argument 163 static native void XSetInputFocus2(long display, long window, long time); argument 173 static native void XUnmapWindow(long display, long window); argument 185 static native void XSelectInput(long display, long window, lon argument 204 XWindowEvent(long display, long window, long event_mask, long event_return) argument 211 XFilterEvent(long ptr, long window) argument 262 XMoveResizeWindow(long display, long window, int x, int y, int width, int height) argument 263 XResizeWindow(long display, long window, int width, int height) argument 264 XMoveWindow(long display, long window, int x, int y) argument 279 XQueryPointer(long display, long window, long root_return, long child_return, long root_x_return, long root_y_return, long win_x_return, long win_y_return, long mask_return) argument 295 XSetWindowBackground(long display, long window, long background_pixel) argument 308 SetProperty(long display, long window, long atom, String str) argument 309 GetProperty(long display ,long window, long atom) argument 311 XGetWindowProperty(long display, long window, long atom, long long_offset, long long_length, long delete, long req_type, long actualy_type, long actualy_format, long nitems_ptr, long bytes_after, long data_ptr) argument 316 XChangePropertyImpl(long display, long window, long atom, long type, int format, int mode, long data, int nelements) argument 319 XChangeProperty(long display, long window, long atom, long type, int format, int mode, long data, int nelements) argument 341 XChangePropertyS(long display, long window, long atom, long type, int format, int mode, String value) argument 343 XDeleteProperty(long display, long window, long atom) argument 345 XSetTransientFor(long display, long window, long transient_for_window) argument 346 XSetWMHints(long display, long window, long wmhints) argument 347 XGetWMHints(long display, long window, long wmhints) argument 351 getScreenOfWindow(long display, long window) argument 353 XIconifyWindow(long display, long window, long screenNumber) argument 440 XChangeWindowAttributes(long display, long window, long valuemask, long attributes) argument 441 XGetWindowAttributes(long display, long window, long attr_ptr) argument 445 XGetWMNormalHints(long display, long window, long hints, long supplied_return) argument 446 XSetWMNormalHints(long display, long window, long hints) argument 447 XSetMinMaxHints(long display, long window, int x, int y, int width, int height, long flags) argument 450 XSendEvent(long display, long window, boolean propagate, long event_mask, long event) argument 452 XQueryTree(long display, long window, long root_return, long parent_return, long children_return, long nchildren_return) argument 454 XReparentWindow(long display, long window, long parent, int x, int y) argument 480 XSetWindowBackgroundPixmap(long display, long window, long pixmap) argument 481 XClearWindow(long display, long window) argument 482 XGetIconSizes(long display, long window, long ret_sizes, long ret_count) argument 488 XdbeAllocateBackBufferName(long display, long window, int swap_action) argument 555 SetRectangularShape(long display, long window, int lox, int loy, int hix, int hiy, sun.java2d.pipe.Region region) argument 561 SetBitmapShape(long display, long window, int width, int height, int[] bitmap) argument 564 SetZOrder(long display, long window, long above) argument [all...] |
H A D | XWrapperBase.java | 56 String getWindow(long window) { argument 57 XBaseWindow w = XToolkit.windowToXWindow(window); 59 return Long.toHexString(window);
|
H A D | XlibUtil.java | 67 // all the Xinerama windows share the same root window 82 * Checks if the given window is a root window for the given screen 103 * Returns the bounds of the given window, in absolute coordinates 105 static Rectangle getWindowGeometry(long window) argument 111 window, 138 * Translates the given point from one window to another. Returns 174 * Translates the given rectangle from one window to another. 191 * Returns the parent for the given window 193 static long getParentWindow(long window) argument 234 getChildWindows(long window) argument 286 isXAWTToplevelWindow(long window) argument 294 isToplevelWindow(long window) argument 332 isTrueToplevelWindow(long window) argument 342 getWindowMapState(long window) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/ |
H A D | FullScreenUtilities.java | 63 * @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 D | FullScreenHandler.java | 45 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...] |
H A D | AppEvent.java | 76 * 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...] |
/openjdk7/jdk/src/share/classes/com/sun/awt/ |
H A D | SecurityWarning.java | 39 * 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...] |
H A D | AWTUtilities.java | 39 * <li>Setting a constant alpha value for each pixel of a top-level window 40 * <li>Making a window non-opaque, after that it paints only explicitly 45 * A "top-level window" is an instance of the {@code Window} class (or its 145 * Set the opacity of the window. The opacity is at the range [0..1]. 147 * the mouse event handling on this window. This is 154 * <p>Also note that the window must not be in the full-screen mode 158 * @param window the window to set the opacity level to 159 * @param opacity the opacity level to set to the window 160 * @throws NullPointerException if the window argumen 168 setWindowOpacity(Window window, float opacity) argument 184 getWindowOpacity(Window window) argument 218 getWindowShape(Window window) argument 249 setWindowShape(Window window, Shape shape) argument 351 setWindowOpaque(Window window, boolean isOpaque) argument 371 isWindowOpaque(Window window) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | FocusTraversalPolicy.java | 157 * @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/windows/native/sun/java2d/opengl/ |
H A D | WGLSurfaceData.h | 39 HWND window; member in struct:_WGLSDOps
|
/openjdk7/jdk/test/java/awt/Window/WindowType/ |
H A D | WindowType.java | 42 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/Frame/ShapeNotSetSometimes/ |
H A D | ShapeNotSetSometimes.java | 41 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/java2d/opengl/ |
H A D | GLXSurfaceData.h | 41 * 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/test/java/awt/Focus/OwnedWindowFocusIMECrashTest/ |
H A D | OwnedWindowFocusIMECrashTest.java | 27 @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 D | SimpleWindowActivationTest.java | 27 * @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/InvisibleOwner/ |
H A D | InvisibleOwner.java | 70 // An owned window 71 final Window window = new Window(frame); 72 window.setBackground(Color.RED); 73 window.setSize(200, 200); 74 window.setLocation(300, 300); 75 window.setVisible(true); 80 // Clicking the owned window shouldn't make its owner visible 81 Util.clickOnComp(window, robot); 109 window.dispose();
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | Popup.java | 132 Window window = SwingUtilities.getWindowAncestor(component); 139 if (window instanceof DefaultFrame) { 140 window.dispose(); 162 // Do not call pack() if window is not visible to 188 Window window = null; 191 window = (Window)owner; 194 window = SwingUtilities.getWindowAncestor(owner); 196 if (window == null) { 197 window = new DefaultFrame(); 199 return window; [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WPrintDialogPeer.java | 83 for (WWindowPeer window : blockedWindows) { 85 window.modalDisable((Dialog)target, hwnd); 87 window.modalEnable((Dialog)target); 92 synchronized void blockWindow(WWindowPeer window) { argument 93 blockedWindows.add(window); 95 window.modalDisable((Dialog)target, hwnd); 98 synchronized void unblockWindow(WWindowPeer window) { argument 99 blockedWindows.remove(window); 101 window.modalEnable((Dialog)target);
|
/openjdk7/jdk/test/java/awt/KeyboardFocusmanager/DefaultPolicyChange/ |
H A D | DefaultPolicyChange_AWT.java | 25 Window window = new Window(frame); 27 FocusTraversalPolicy resultFTP = window.getFocusTraversalPolicy(); 28 Sysout.println("FocusTraversalPolicy on window = " + resultFTP); 36 resultFTP = window.getFocusTraversalPolicy();
|