jdk/src/solaris/classes/sun/awt/X11/XConstants.java
changeset 439 3488710b02f8
parent 2 90ce3da70b43
child 1962 6c293d33645b
equal deleted inserted replaced
438:2ae294e4518c 439:3488710b02f8
     1 /*
     1 /*
     2  * Copyright 2003 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 2003-2008 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Sun designates this
     7  * published by the Free Software Foundation.  Sun designates this
    23  * have any questions.
    23  * have any questions.
    24  */
    24  */
    25 
    25 
    26 package sun.awt.X11;
    26 package sun.awt.X11;
    27 
    27 
    28 public interface XConstants {
    28 final public class XConstants {
       
    29 
       
    30     private XConstants(){}
       
    31 
    29     public static final int X_PROTOCOL = 11 ; /* current protocol version */
    32     public static final int X_PROTOCOL = 11 ; /* current protocol version */
    30     public static final int X_PROTOCOL_REVISION = 0 ; /* current minor version */
    33     public static final int X_PROTOCOL_REVISION = 0 ; /* current minor version */
    31 
    34 
    32     /* Resources */
    35     /* Resources */
    33 
    36 
   290     public static final int RevertToNone = (int)None ;
   293     public static final int RevertToNone = (int)None ;
   291     public static final int RevertToPointerRoot = (int)PointerRoot ;
   294     public static final int RevertToPointerRoot = (int)PointerRoot ;
   292     public static final int RevertToParent = 2 ;
   295     public static final int RevertToParent = 2 ;
   293 
   296 
   294     /* Used in XEventsQueued */
   297     /* Used in XEventsQueued */
   295     int QueuedAlready = 0;
   298     public static final int QueuedAlready = 0;
   296     int QueuedAfterReading = 1;
   299     public static final int QueuedAfterReading = 1;
   297     int QueuedAfterFlush = 2;
   300     public static final int QueuedAfterFlush = 2;
   298 
   301 
   299 
   302 
   300     /*****************************************************************
   303     /*****************************************************************
   301      * ERROR CODES
   304      * ERROR CODES
   302      *****************************************************************/
   305      *****************************************************************/