/*
 * Java-Gnome Bindings Library
 *
 * Copyright 1998-2004 the Java-Gnome Team, all rights reserved.
 *
 * The Java-Gnome bindings library is free software distributed under
 * the terms of the GNU Library General Public License version 2.
 */

package org.gnu.gdk;
import org.gnu.glib.Enum;
public class CursorType extends Enum 
{
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    static final private int _X_CURSOR = 0;
    static final public org.gnu.gdk.CursorType X_CURSOR = new org.gnu.gdk.CursorType (_X_CURSOR);
    static final private int _ARROW = 2;
    static final public org.gnu.gdk.CursorType ARROW = new org.gnu.gdk.CursorType (_ARROW);
    static final private int _BASED_ARROW_DOWN = 4;
    static final public org.gnu.gdk.CursorType BASED_ARROW_DOWN = new org.gnu.gdk.CursorType (
        _BASED_ARROW_DOWN);
    static final private int _BASED_ARROW_UP = 6;
    static final public org.gnu.gdk.CursorType BASED_ARROW_UP = new org.gnu.gdk.CursorType (
        _BASED_ARROW_UP);
    static final private int _BOAT = 8;
    static final public org.gnu.gdk.CursorType BOAT = new org.gnu.gdk.CursorType (_BOAT);
    static final private int _BOGOSITY = 10;
    static final public org.gnu.gdk.CursorType BOGOSITY = new org.gnu.gdk.CursorType (_BOGOSITY);
    static final private int _BOTTOM_LEFT_CORNER = 12;
    static final public org.gnu.gdk.CursorType BOTTOM_LEFT_CORNER = new org.gnu.gdk.CursorType (
        _BOTTOM_LEFT_CORNER);
    static final private int _BOTTOM_RIGHT_CORNER = 14;
    static final public org.gnu.gdk.CursorType BOTTOM_RIGHT_CORNER = new org.gnu.gdk.CursorType (
        _BOTTOM_RIGHT_CORNER);
    static final private int _BOTTOM_SIDE = 16;
    static final public org.gnu.gdk.CursorType BOTTOM_SIDE = new org.gnu.gdk.CursorType (
        _BOTTOM_SIDE);
    static final private int _BOTTOM_TEE = 18;
    static final public org.gnu.gdk.CursorType BOTTOM_TEE = new org.gnu.gdk.CursorType (_BOTTOM_TEE);
    static final private int _BOX_SPIRAL = 20;
    static final public org.gnu.gdk.CursorType BOX_SPIRAL = new org.gnu.gdk.CursorType (_BOX_SPIRAL);
    static final private int _CENTER_PTR = 22;
    static final public org.gnu.gdk.CursorType CENTER_PTR = new org.gnu.gdk.CursorType (_CENTER_PTR);
    static final private int _CIRCLE = 24;
    static final public org.gnu.gdk.CursorType CIRCLE = new org.gnu.gdk.CursorType (_CIRCLE);
    static final private int _CLOCK = 26;
    static final public org.gnu.gdk.CursorType CLOCK = new org.gnu.gdk.CursorType (_CLOCK);
    static final private int _COFFEE_MUG = 28;
    static final public org.gnu.gdk.CursorType COFFEE_MUG = new org.gnu.gdk.CursorType (_COFFEE_MUG);
    static final private int _CROSS = 30;
    static final public org.gnu.gdk.CursorType CROSS = new org.gnu.gdk.CursorType (_CROSS);
    static final private int _CROSS_REVERSE = 32;
    static final public org.gnu.gdk.CursorType CROSS_REVERSE = new org.gnu.gdk.CursorType (
        _CROSS_REVERSE);
    static final private int _CROSSHAIR = 34;
    static final public org.gnu.gdk.CursorType CROSSHAIR = new org.gnu.gdk.CursorType (_CROSSHAIR);
    static final private int _DIAMOND_CROSS = 36;
    static final public org.gnu.gdk.CursorType DIAMOND_CROSS = new org.gnu.gdk.CursorType (
        _DIAMOND_CROSS);
    static final private int _DOT = 38;
    static final public org.gnu.gdk.CursorType DOT = new org.gnu.gdk.CursorType (_DOT);
    static final private int _DOTBOX = 40;
    static final public org.gnu.gdk.CursorType DOTBOX = new org.gnu.gdk.CursorType (_DOTBOX);
    static final private int _DOUBLE_ARROW = 42;
    static final public org.gnu.gdk.CursorType DOUBLE_ARROW = new org.gnu.gdk.CursorType (
        _DOUBLE_ARROW);
    static final private int _DRAFT_LARGE = 44;
    static final public org.gnu.gdk.CursorType DRAFT_LARGE = new org.gnu.gdk.CursorType (
        _DRAFT_LARGE);
    static final private int _DRAFT_SMALL = 46;
    static final public org.gnu.gdk.CursorType DRAFT_SMALL = new org.gnu.gdk.CursorType (
        _DRAFT_SMALL);
    static final private int _DRAPED_BOX = 48;
    static final public org.gnu.gdk.CursorType DRAPED_BOX = new org.gnu.gdk.CursorType (_DRAPED_BOX);
    static final private int _EXCHANGE = 50;
    static final public org.gnu.gdk.CursorType EXCHANGE = new org.gnu.gdk.CursorType (_EXCHANGE);
    static final private int _FLEUR = 52;
    static final public org.gnu.gdk.CursorType FLEUR = new org.gnu.gdk.CursorType (_FLEUR);
    static final private int _GOBBLER = 54;
    static final public org.gnu.gdk.CursorType GOBBLER = new org.gnu.gdk.CursorType (_GOBBLER);
    static final private int _GUMBY = 56;
    static final public org.gnu.gdk.CursorType GUMBY = new org.gnu.gdk.CursorType (_GUMBY);
    static final private int _HAND1 = 58;
    static final public org.gnu.gdk.CursorType HAND1 = new org.gnu.gdk.CursorType (_HAND1);
    static final private int _HAND2 = 60;
    static final public org.gnu.gdk.CursorType HAND2 = new org.gnu.gdk.CursorType (_HAND2);
    static final private int _HEART = 62;
    static final public org.gnu.gdk.CursorType HEART = new org.gnu.gdk.CursorType (_HEART);
    static final private int _ICON = 64;
    static final public org.gnu.gdk.CursorType ICON = new org.gnu.gdk.CursorType (_ICON);
    static final private int _IRON_CROSS = 66;
    static final public org.gnu.gdk.CursorType IRON_CROSS = new org.gnu.gdk.CursorType (_IRON_CROSS);
    static final private int _LEFT_PTR = 68;
    static final public org.gnu.gdk.CursorType LEFT_PTR = new org.gnu.gdk.CursorType (_LEFT_PTR);
    static final private int _LEFT_SIDE = 70;
    static final public org.gnu.gdk.CursorType LEFT_SIDE = new org.gnu.gdk.CursorType (_LEFT_SIDE);
    static final private int _LEFT_TEE = 72;
    static final public org.gnu.gdk.CursorType LEFT_TEE = new org.gnu.gdk.CursorType (_LEFT_TEE);
    static final private int _LEFTBUTTON = 74;
    static final public org.gnu.gdk.CursorType LEFTBUTTON = new org.gnu.gdk.CursorType (_LEFTBUTTON);
    static final private int _LL_ANGLE = 76;
    static final public org.gnu.gdk.CursorType LL_ANGLE = new org.gnu.gdk.CursorType (_LL_ANGLE);
    static final private int _LR_ANGLE = 78;
    static final public org.gnu.gdk.CursorType LR_ANGLE = new org.gnu.gdk.CursorType (_LR_ANGLE);
    static final private int _MAN = 80;
    static final public org.gnu.gdk.CursorType MAN = new org.gnu.gdk.CursorType (_MAN);
    static final private int _MIDDLEBUTTON = 82;
    static final public org.gnu.gdk.CursorType MIDDLEBUTTON = new org.gnu.gdk.CursorType (
        _MIDDLEBUTTON);
    static final private int _MOUSE = 84;
    static final public org.gnu.gdk.CursorType MOUSE = new org.gnu.gdk.CursorType (_MOUSE);
    static final private int _PENCIL = 86;
    static final public org.gnu.gdk.CursorType PENCIL = new org.gnu.gdk.CursorType (_PENCIL);
    static final private int _PIRATE = 88;
    static final public org.gnu.gdk.CursorType PIRATE = new org.gnu.gdk.CursorType (_PIRATE);
    static final private int _PLUS = 90;
    static final public org.gnu.gdk.CursorType PLUS = new org.gnu.gdk.CursorType (_PLUS);
    static final private int _QUESTION_ARROW = 92;
    static final public org.gnu.gdk.CursorType QUESTION_ARROW = new org.gnu.gdk.CursorType (
        _QUESTION_ARROW);
    static final private int _RIGHT_PTR = 94;
    static final public org.gnu.gdk.CursorType RIGHT_PTR = new org.gnu.gdk.CursorType (_RIGHT_PTR);
    static final private int _RIGHT_SIDE = 96;
    static final public org.gnu.gdk.CursorType RIGHT_SIDE = new org.gnu.gdk.CursorType (_RIGHT_SIDE);
    static final private int _RIGHT_TEE = 98;
    static final public org.gnu.gdk.CursorType RIGHT_TEE = new org.gnu.gdk.CursorType (_RIGHT_TEE);
    static final private int _RIGHTBUTTON = 100;
    static final public org.gnu.gdk.CursorType RIGHTBUTTON = new org.gnu.gdk.CursorType (
        _RIGHTBUTTON);
    static final private int _RTL_LOGO = 102;
    static final public org.gnu.gdk.CursorType RTL_LOGO = new org.gnu.gdk.CursorType (_RTL_LOGO);
    static final private int _SAILBOAT = 104;
    static final public org.gnu.gdk.CursorType SAILBOAT = new org.gnu.gdk.CursorType (_SAILBOAT);
    static final private int _SB_DOWN_ARROW = 106;
    static final public org.gnu.gdk.CursorType SB_DOWN_ARROW = new org.gnu.gdk.CursorType (
        _SB_DOWN_ARROW);
    static final private int _SB_H_DOUBLE_ARROW = 108;
    static final public org.gnu.gdk.CursorType SB_H_DOUBLE_ARROW = new org.gnu.gdk.CursorType (
        _SB_H_DOUBLE_ARROW);
    static final private int _SB_LEFT_ARROW = 110;
    static final public org.gnu.gdk.CursorType SB_LEFT_ARROW = new org.gnu.gdk.CursorType (
        _SB_LEFT_ARROW);
    static final private int _SB_RIGHT_ARROW = 112;
    static final public org.gnu.gdk.CursorType SB_RIGHT_ARROW = new org.gnu.gdk.CursorType (
        _SB_RIGHT_ARROW);
    static final private int _SB_UP_ARROW = 114;
    static final public org.gnu.gdk.CursorType SB_UP_ARROW = new org.gnu.gdk.CursorType (
        _SB_UP_ARROW);
    static final private int _SB_V_DOUBLE_ARROW = 116;
    static final public org.gnu.gdk.CursorType SB_V_DOUBLE_ARROW = new org.gnu.gdk.CursorType (
        _SB_V_DOUBLE_ARROW);
    static final private int _SHUTTLE = 118;
    static final public org.gnu.gdk.CursorType SHUTTLE = new org.gnu.gdk.CursorType (_SHUTTLE);
    static final private int _SIZING = 120;
    static final public org.gnu.gdk.CursorType SIZING = new org.gnu.gdk.CursorType (_SIZING);
    static final private int _SPIDER = 122;
    static final public org.gnu.gdk.CursorType SPIDER = new org.gnu.gdk.CursorType (_SPIDER);
    static final private int _SPARYCAN = 124;
    static final public org.gnu.gdk.CursorType SPARYCAN = new org.gnu.gdk.CursorType (_SPARYCAN);
    static final private int _STAR = 126;
    static final public org.gnu.gdk.CursorType STAR = new org.gnu.gdk.CursorType (_STAR);
    static final private int _TARGET = 128;
    static final public org.gnu.gdk.CursorType TARGET = new org.gnu.gdk.CursorType (_TARGET);
    static final private int _TCROSS = 130;
    static final public org.gnu.gdk.CursorType TCROSS = new org.gnu.gdk.CursorType (_TCROSS);
    static final private int _TOP_LEFT_ARROW = 132;
    static final public org.gnu.gdk.CursorType TOP_LEFT_ARROW = new org.gnu.gdk.CursorType (
        _TOP_LEFT_ARROW);
    static final private int _TOP_LEFT_CORNER = 134;
    static final public org.gnu.gdk.CursorType TOP_LEFT_CORNER = new org.gnu.gdk.CursorType (
        _TOP_LEFT_CORNER);
    static final private int _TOP_RIGHT_CORNER = 136;
    static final public org.gnu.gdk.CursorType TOP_RIGHT_CORNER = new org.gnu.gdk.CursorType (
        _TOP_RIGHT_CORNER);
    static final private int _TOP_SIDE = 138;
    static final public org.gnu.gdk.CursorType TOP_SIDE = new org.gnu.gdk.CursorType (_TOP_SIDE);
    static final private int _TOP_TEE = 140;
    static final public org.gnu.gdk.CursorType TOP_TEE = new org.gnu.gdk.CursorType (_TOP_TEE);
    static final private int _TREK = 142;
    static final public org.gnu.gdk.CursorType TREK = new org.gnu.gdk.CursorType (_TREK);
    static final private int _UL_ANGLE = 144;
    static final public org.gnu.gdk.CursorType UL_ANGLE = new org.gnu.gdk.CursorType (_UL_ANGLE);
    static final private int _UMBRELLA = 146;
    static final public org.gnu.gdk.CursorType UMBRELLA = new org.gnu.gdk.CursorType (_UMBRELLA);
    static final private int _UR_ANGLE = 148;
    static final public org.gnu.gdk.CursorType UR_ANGLE = new org.gnu.gdk.CursorType (_UR_ANGLE);
    static final private int _WATCH = 150;
    static final public org.gnu.gdk.CursorType WATCH = new org.gnu.gdk.CursorType (_WATCH);
    static final private int _XTERM = 152;
    static final public org.gnu.gdk.CursorType XTERM = new org.gnu.gdk.CursorType (_XTERM);
    static final private int _LAST_CURSOR = 153;
    static final public org.gnu.gdk.CursorType LAST_CURSOR = new org.gnu.gdk.CursorType (
        _LAST_CURSOR);
    static final private int _CURSOR_IS_PIXMAP = -1;
    static final public org.gnu.gdk.CursorType CURSOR_IS_PIXMAP = new org.gnu.gdk.CursorType (
        _CURSOR_IS_PIXMAP);
    static final private org.gnu.gdk.CursorType[] theInterned = new org.gnu.gdk.CursorType[] 
    {
        X_CURSOR, new org.gnu.gdk.CursorType (1), ARROW, new org.gnu.gdk.CursorType (3), 
        BASED_ARROW_DOWN, new org.gnu.gdk.CursorType (5), BASED_ARROW_UP, new 
        org.gnu.gdk.CursorType (7), BOAT, new org.gnu.gdk.CursorType (9), BOGOSITY, new 
        org.gnu.gdk.CursorType (11), BOTTOM_LEFT_CORNER, new org.gnu.gdk.CursorType (13), 
        BOTTOM_RIGHT_CORNER, new org.gnu.gdk.CursorType (15), BOTTOM_SIDE, new 
        org.gnu.gdk.CursorType (17), BOTTOM_TEE, new org.gnu.gdk.CursorType (19), BOX_SPIRAL, new 
        org.gnu.gdk.CursorType (21), CENTER_PTR, new org.gnu.gdk.CursorType (23), CIRCLE, new 
        org.gnu.gdk.CursorType (25), CLOCK, new org.gnu.gdk.CursorType (27), COFFEE_MUG, new 
        org.gnu.gdk.CursorType (29), CROSS, new org.gnu.gdk.CursorType (31), CROSS_REVERSE, new 
        org.gnu.gdk.CursorType (33), CROSSHAIR, new org.gnu.gdk.CursorType (35), DIAMOND_CROSS, new 
        org.gnu.gdk.CursorType (37), DOT, new org.gnu.gdk.CursorType (39), DOTBOX, new 
        org.gnu.gdk.CursorType (41), DOUBLE_ARROW, new org.gnu.gdk.CursorType (43), DRAFT_LARGE, 
        new org.gnu.gdk.CursorType (45), DRAFT_SMALL, new org.gnu.gdk.CursorType (47), DRAPED_BOX, 
        new org.gnu.gdk.CursorType (49), EXCHANGE, new org.gnu.gdk.CursorType (51), FLEUR, new 
        org.gnu.gdk.CursorType (53), GOBBLER, new org.gnu.gdk.CursorType (55), GUMBY, new 
        org.gnu.gdk.CursorType (57), HAND1, new org.gnu.gdk.CursorType (59), HAND2, new 
        org.gnu.gdk.CursorType (61), HEART, new org.gnu.gdk.CursorType (63), ICON, new 
        org.gnu.gdk.CursorType (65), IRON_CROSS, new org.gnu.gdk.CursorType (67), LEFT_PTR, new 
        org.gnu.gdk.CursorType (69), LEFT_SIDE, new org.gnu.gdk.CursorType (71), LEFT_TEE, new 
        org.gnu.gdk.CursorType (73), LEFTBUTTON, new org.gnu.gdk.CursorType (75), LL_ANGLE, new 
        org.gnu.gdk.CursorType (77), LR_ANGLE, new org.gnu.gdk.CursorType (79), MAN, new 
        org.gnu.gdk.CursorType (81), MIDDLEBUTTON, new org.gnu.gdk.CursorType (83), MOUSE, new 
        org.gnu.gdk.CursorType (85), PENCIL, new org.gnu.gdk.CursorType (87), PIRATE, new 
        org.gnu.gdk.CursorType (89), PLUS, new org.gnu.gdk.CursorType (91), QUESTION_ARROW, new 
        org.gnu.gdk.CursorType (93), RIGHT_PTR, new org.gnu.gdk.CursorType (95), RIGHT_SIDE, new 
        org.gnu.gdk.CursorType (97), RIGHT_TEE, new org.gnu.gdk.CursorType (99), RIGHTBUTTON, new 
        org.gnu.gdk.CursorType (101), RTL_LOGO, new org.gnu.gdk.CursorType (103), SAILBOAT, new 
        org.gnu.gdk.CursorType (105), SB_DOWN_ARROW, new org.gnu.gdk.CursorType (107), 
        SB_H_DOUBLE_ARROW, new org.gnu.gdk.CursorType (109), SB_LEFT_ARROW, new 
        org.gnu.gdk.CursorType (111), SB_RIGHT_ARROW, new org.gnu.gdk.CursorType (113), 
        SB_UP_ARROW, new org.gnu.gdk.CursorType (115), SB_V_DOUBLE_ARROW, new 
        org.gnu.gdk.CursorType (117), SHUTTLE, new org.gnu.gdk.CursorType (119), SIZING, new 
        org.gnu.gdk.CursorType (121), SPIDER, new org.gnu.gdk.CursorType (123), SPARYCAN, new 
        org.gnu.gdk.CursorType (125), STAR, new org.gnu.gdk.CursorType (127), TARGET, new 
        org.gnu.gdk.CursorType (129), TCROSS, new org.gnu.gdk.CursorType (131), TOP_LEFT_ARROW, new 
        org.gnu.gdk.CursorType (133), TOP_LEFT_CORNER, new org.gnu.gdk.CursorType (135), 
        TOP_RIGHT_CORNER, new org.gnu.gdk.CursorType (137), TOP_SIDE, new org.gnu.gdk.CursorType (
            139), TOP_TEE, new org.gnu.gdk.CursorType (141), TREK, new org.gnu.gdk.CursorType (143)
        , UL_ANGLE, new org.gnu.gdk.CursorType (145), UMBRELLA, new org.gnu.gdk.CursorType (147), 
        UR_ANGLE, new org.gnu.gdk.CursorType (149), WATCH, new org.gnu.gdk.CursorType (151), XTERM, 
        LAST_CURSOR 
    }

;
    static private java.util.Hashtable theInternedExtras;
    static final private org.gnu.gdk.CursorType theSacrificialOne = new org.gnu.gdk.CursorType (0);
    static public org.gnu.gdk.CursorType intern (int value) 
    {
        if (value < theInterned.length) 
        {
            return theInterned[value];
        }
        theSacrificialOne.value_ = value;
        if (theInternedExtras == null) 
        {
            theInternedExtras = new java.util.Hashtable();
        }
        org.gnu.gdk.CursorType already = (org.gnu.gdk.CursorType) theInternedExtras.get (
            theSacrificialOne);
        if (already == null) 
        {
            already = new org.gnu.gdk.CursorType(value);
            theInternedExtras.put(already, already);
        }
        return already;
    }

    private CursorType (int value) 
    {
        value_ = value;
    }

    public org.gnu.gdk.CursorType or (org.gnu.gdk.CursorType other) 
    {
        return intern(value_ | other.value_);
    }

    public org.gnu.gdk.CursorType and (org.gnu.gdk.CursorType other) 
    {
        return intern(value_ & other.value_);
    }

    public org.gnu.gdk.CursorType xor (org.gnu.gdk.CursorType other) 
    {
        return intern(value_ ^ other.value_);
    }

    public boolean test (org.gnu.gdk.CursorType other) 
    {
        return (value_ & other.value_) == other.value_;
    }

    /****************************************
     * END OF GENERATED CODE
     ****************************************/
}

