0N/A/*
2362N/A * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
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 *
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 *
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.
0N/A *
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
2362N/A * questions.
0N/A */
0N/Apackage sun.awt.motif;
0N/Aimport java.awt.Image;
0N/A
0N/Aclass MWindowAttributes {
0N/A static int NORMAL = 0;
0N/A static int ICONIC = 1;
0N/A static int MAXIMIZED = 2;
0N/A
0N/A static int AWT_DECOR_NONE = 0;
0N/A static int AWT_DECOR_ALL = 1;
0N/A static int AWT_DECOR_BORDER = 2;
0N/A static int AWT_DECOR_RESIZEH = 4;
0N/A static int AWT_DECOR_TITLE = 8;
0N/A static int AWT_DECOR_MENU = 0x10;
0N/A static int AWT_DECOR_MINIMIZE = 0x20;
0N/A static int AWT_DECOR_MAXIMIZE = 0x40;
0N/A static int AWT_UNOBSCURED = 0; // X11 VisibilityUnobscured
0N/A static int AWT_PARTIALLY_OBSCURED = 1; // X11 VisibilityPartiallyObscured
0N/A static int AWT_FULLY_OBSCURED = 2; // X11 VisibilityFullyObscured
0N/A static int AWT_UNKNOWN_OBSCURITY = 3;
0N/A
0N/A boolean nativeDecor;
0N/A boolean initialFocus;
0N/A boolean isResizable;
0N/A int initialState;
0N/A int visibilityState; // updated by native X11 event handling code.
0N/A String title;
0N/A java.awt.Image icon;
0N/A int decorations; // for future expansion to be able to
0N/A // specify native decorations
0N/A
0N/A private static native void initIDs();
0N/A
0N/A static {
0N/A initIDs();
0N/A }
0N/A
0N/A MWindowAttributes() {
0N/A nativeDecor = false;
0N/A initialFocus = false;
0N/A isResizable = false;
0N/A initialState = NORMAL;
0N/A visibilityState = AWT_UNKNOWN_OBSCURITY;
0N/A title = null;
0N/A icon = null;
0N/A decorations = 0;
0N/A }
0N/A}