org.gnu.gtk

Class ButtonsType

public class ButtonsType extends Enum

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
A Cancel button

CLOSE

public static final ButtonsType CLOSE
A Close button

NONE

public static final ButtonsType NONE
No buttons at all.

OK

public static final ButtonsType OK
An OK button.

OK_CANCEL

public static final ButtonsType OK_CANCEL
OK and Cancel buttons.

YES_NO

public static final ButtonsType YES_NO
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)