org.gnu.gtk

Class ButtonsType

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

Defines the prebuilt set of buttons for a Dialog. If none of these choices are appropriate, simply use NONE and then add you own buttons.
Field Summary
static ButtonsTypeCANCEL
A Cancel button
static ButtonsTypeCLOSE
A Close button
static ButtonsTypeNONE
No buttons at all.
static ButtonsTypeOK
An OK button.
static ButtonsTypeOK_CANCEL
OK and Cancel buttons.
static ButtonsTypeYES_NO
Yes and No buttons.
Method Summary
ButtonsTypeand(ButtonsType other)
static ButtonsTypeintern(int value)
ButtonsTypeor(ButtonsType other)
booleantest(ButtonsType other)
ButtonsTypexor(ButtonsType other)

Field Detail

CANCEL

public static final ButtonsType CANCEL

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

A Cancel button

CLOSE

public static final ButtonsType CLOSE

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

A Close button

NONE

public static final ButtonsType NONE

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

No buttons at all.

OK

public static final ButtonsType OK

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

An OK button.

OK_CANCEL

public static final ButtonsType OK_CANCEL

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

OK and Cancel buttons.

YES_NO

public static final ButtonsType YES_NO

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Yes and No buttons.

Method Detail

and

public ButtonsType and(ButtonsType other)

intern

public static ButtonsType intern(int value)

or

public ButtonsType or(ButtonsType other)

test

public boolean test(ButtonsType other)

xor

public ButtonsType xor(ButtonsType other)