6323N/A * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 4632N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4632N/A * This code is free software; you can redistribute it and/or modify it 4632N/A * under the terms of the GNU General Public License version 2 only, as 4632N/A * published by the Free Software Foundation. Oracle designates this 4632N/A * particular file as subject to the "Classpath" exception as provided 4632N/A * by Oracle in the LICENSE file that accompanied this code. 4632N/A * This code is distributed in the hope that it will be useful, but WITHOUT 4632N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 4632N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 4632N/A * version 2 for more details (a copy is included in the LICENSE file that 4632N/A * You should have received a copy of the GNU General Public License version 4632N/A * 2 along with this work; if not, write to the Free Software Foundation, 4632N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 4632N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 4632N/A * or visit www.oracle.com if you need additional information or have any 4632N/A// TODO Is it worth to generify this interface, like that: 4632N/A// public interface PlatformWindow<WindowType extends Window> 4632N/A * Delegate initialization (create native window and all the 4632N/A * Delegate shutdown (dispose native window and all the 4632N/A * Shows or hides the window. 4632N/A * Sets the window bounds. Called when user changes window bounds 5041N/A * Returns the graphics device where the window is. 4632N/A * Returns the location of the window. 4632N/A * Returns the window insets. 4632N/A * Returns the metrics for a given font. 4632N/A * Get the SurfaceData for the window. 4632N/A * Revalidates the window's current SurfaceData and returns 4632N/A * Creates a new image to serve as a back buffer. 4632N/A * Move the given part of the back buffer to the front buffer. 5276N/A * Applies the minimum and maximum size to the platform window. 4632N/A * Transforms the given Graphics object according to the native 4632N/A * implementation traits (insets, etc.). 4632N/A * Installs the images for particular window.