src/java.desktop/unix/classes/sun/awt/X11/XUtilConstants.java

Print this page




   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.awt.X11;
  27 
  28 final public class XUtilConstants {
  29 
  30     private XUtilConstants(){}
  31 
  32     /*
  33      * Bitmask returned by XParseGeometry().  Each bit tells if the corresponding
  34      * value (x, y, width, height) was found in the parsed string.
  35      */
  36     public static final int NoValue = 0x0000 ;
  37     public static final int XValue = 0x0001 ;
  38     public static final int YValue = 0x0002 ;
  39     public static final int WidthValue = 0x0004 ;
  40     public static final int HeightValue = 0x0008 ;
  41     public static final int AllValues = 0x000F ;
  42     public static final int XNegative = 0x0010 ;
  43     public static final int YNegative = 0x0020 ;
  44 
  45     /*
  46      * The next block of definitions are for window manager properties that
  47      * clients and applications use for communication.
  48      */




   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.awt.X11;
  27 
  28 public final class XUtilConstants {
  29 
  30     private XUtilConstants(){}
  31 
  32     /*
  33      * Bitmask returned by XParseGeometry().  Each bit tells if the corresponding
  34      * value (x, y, width, height) was found in the parsed string.
  35      */
  36     public static final int NoValue = 0x0000 ;
  37     public static final int XValue = 0x0001 ;
  38     public static final int YValue = 0x0002 ;
  39     public static final int WidthValue = 0x0004 ;
  40     public static final int HeightValue = 0x0008 ;
  41     public static final int AllValues = 0x000F ;
  42     public static final int XNegative = 0x0010 ;
  43     public static final int YNegative = 0x0020 ;
  44 
  45     /*
  46      * The next block of definitions are for window manager properties that
  47      * clients and applications use for communication.
  48      */