< prev index next >

modules/graphics/src/main/java/com/sun/glass/ui/Window.java

Print this page

        

*** 156,169 **** * This is supported not on all platforms, the client should check if the feature is supported by using * {@link com.sun.glass.ui.Application#supportsUnifiedWindows()} */ public static final int UNIFIED = 1 << 8; ! final static private class State { ! private static final int NORMAL = 1; ! private static final int MINIMIZED = 2; ! private static final int MAXIMIZED = 3; } /** * Available window levels. * --- 156,169 ---- * This is supported not on all platforms, the client should check if the feature is supported by using * {@link com.sun.glass.ui.Application#supportsUnifiedWindows()} */ public static final int UNIFIED = 1 << 8; ! final static public class State { ! public static final int NORMAL = 1; ! public static final int MINIMIZED = 2; ! public static final int MAXIMIZED = 3; } /** * Available window levels. *
*** 1239,1248 **** --- 1239,1252 ---- protected void notifyMoveToAnotherScreen(Screen newScreen) { setScreen(newScreen); } + protected void setState(int state) { + this.state = state; + } + /** * type values: * - WindowEvent.RESIZE * - WindowEvent.MINIMIZE * - WindowEvent.MAXIMIZE
*** 1302,1312 **** } // ***************************************************** // window event handlers // ***************************************************** ! private void handleWindowEvent(long time, int type) { if (this.eventHandler != null) { this.eventHandler.handleWindowEvent(this, time, type); } } --- 1306,1316 ---- } // ***************************************************** // window event handlers // ***************************************************** ! protected void handleWindowEvent(long time, int type) { if (this.eventHandler != null) { this.eventHandler.handleWindowEvent(this, time, type); } }
< prev index next >