6447N/A * Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * This class is a collection of utility methods that operate 0N/A * with native windows. 0N/A * The constructor is made private to eliminate any 0N/A * instances of this class 0N/A * Xinerama-aware version of XlibWrapper.RootWindow method. 0N/A // all the Xinerama windows share the same root window 0N/A * Checks if the given window is a root window for the given screen 0N/A * Returns the bounds of the given window, in absolute coordinates 0N/A * Translates the given point from one window to another. Returns 0N/A * null if the translation is failed 0N/A * Translates the given rectangle from one window to another. 0N/A * Returns null if the translation is failed 0N/A * Returns the parent for the given window 0N/A * Returns all the children for the given window 0N/A * Checks if the given window is a Java window and is an 0N/A * instance of XWindowPeer 0N/A * NOTICE: Right now returns only decorated top-levels (not Window) 0N/A * The same as isToplevelWindow(window), but doesn't treat 0N/A * XEmbeddedFramePeer as toplevel. 0N/A * XSHAPE extension support. 0N/A // The variable is declared static as the XSHAPE extension cannot 0N/A // be disabled at run-time, and thus is available all the time 0N/A // once the check is passed. 0N/A * Returns whether the XSHAPE extension available