org.gnu.gtk

Class SpinType

public class SpinType extends Enum

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.SpinType. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

A property used to determine how to sping a SpinButton widget. todo: docs GTK_SPIN_STEP_FORWARD, GTK_SPIN_STEP_BACKWARD, GTK_SPIN_PAGE_FORWARD, GTK_SPIN_PAGE_BACKWARDThese values spin a GtkSpinButton by the relevant values of the spin button's GtkAdjustment.GTK_SPIN_HOME, GTK_SPIN_ENDThese set the spin button's value to the minimum or maxmimum possible values, (set by it's GtkAdjustment), respectively.GTK_SPIN_USER_DEFINEDThe programmer must specify the exact amount to spin the GtkSpinButton.

See Also:

Field Summary
static SpinTypeEND
static SpinTypeHOME
static SpinTypePAGE_BACKWARD
static SpinTypePAGE_FORWARD
static SpinTypeSTEP_BACKWARD
static SpinTypeSTEP_FORWARD
static SpinTypeUSER_DEFINED
Method Summary
SpinTypeand(SpinType other)
static SpinTypeintern(int value)
SpinTypeor(SpinType other)
booleantest(SpinType other)
SpinTypexor(SpinType other)

Field Detail

END

public static final SpinType END

HOME

public static final SpinType HOME

PAGE_BACKWARD

public static final SpinType PAGE_BACKWARD

PAGE_FORWARD

public static final SpinType PAGE_FORWARD

STEP_BACKWARD

public static final SpinType STEP_BACKWARD

STEP_FORWARD

public static final SpinType STEP_FORWARD

USER_DEFINED

public static final SpinType USER_DEFINED

Method Detail

and

public SpinType and(SpinType other)

intern

public static SpinType intern(int value)

or

public SpinType or(SpinType other)

test

public boolean test(SpinType other)

xor

public SpinType xor(SpinType other)