org.gnu.gtk

Class SpinButtonUpdatePolicy

public class SpinButtonUpdatePolicy 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.SpinButtonUpdatePolicy. 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.

This is the property which determines when a SpinButton widget should be updated. TODO: doc ALWAYS When refreshing your GtkSpinButton, the value is always displayed. IF_VALIDWhen refreshing your GtkSpinButton, the value is only displayed if it is valid within the bounds of the spin button's GtkAdjustment.

See Also:

Field Summary
static SpinButtonUpdatePolicyALWAYS
static SpinButtonUpdatePolicyIF_VALID
Method Summary
SpinButtonUpdatePolicyand(SpinButtonUpdatePolicy other)
static SpinButtonUpdatePolicyintern(int value)
SpinButtonUpdatePolicyor(SpinButtonUpdatePolicy other)
booleantest(SpinButtonUpdatePolicy other)
SpinButtonUpdatePolicyxor(SpinButtonUpdatePolicy other)

Field Detail

ALWAYS

public static final SpinButtonUpdatePolicy ALWAYS

IF_VALID

public static final SpinButtonUpdatePolicy IF_VALID

Method Detail

and

public SpinButtonUpdatePolicy and(SpinButtonUpdatePolicy other)

intern

public static SpinButtonUpdatePolicy intern(int value)

or

public SpinButtonUpdatePolicy or(SpinButtonUpdatePolicy other)

test

public boolean test(SpinButtonUpdatePolicy other)

xor

public SpinButtonUpdatePolicy xor(SpinButtonUpdatePolicy other)