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 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.
static 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.
static 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.
static 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.
static 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.
static 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.

Method Summary

ButtonsType
and(ButtonsType other)
static ButtonsType
intern(int value)
ButtonsType
or(ButtonsType other)
boolean
test(ButtonsType other)
ButtonsType
xor(ButtonsType other)

Field Details

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 Details

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)