org.gnu.gtk
Class ButtonsType

java.lang.Object
  |
  +--org.gnu.glib.Enum
        |
        +--org.gnu.gtk.ButtonsType

public class ButtonsType
extends Enum

Defines the prebuild set of buttons for a Dialog. If none of these choices are appropriate, simply use NONE and then add you own buttons. *

 NONE
 No buttons at all
 OK
 an OK button
 CLOSE
 a Close button
 CANCEL
 a Cancel button
 YES_NO
 Yes and No buttons
 OK_CANCEL
 OK and Cancel buttons.
 


Field Summary
static ButtonsType CANCEL
           
static ButtonsType CLOSE
           
static ButtonsType NONE
           
static ButtonsType OK
           
static ButtonsType OK_CANCEL
           
static ButtonsType YES_NO
           
 
Method Summary
 ButtonsType and(ButtonsType other)
           
static ButtonsType intern(int value)
           
 ButtonsType or(ButtonsType other)
           
 boolean test(ButtonsType other)
           
 ButtonsType xor(ButtonsType other)
           
 
Methods inherited from class org.gnu.glib.Enum
equals, getValue, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final ButtonsType NONE

OK

public static final ButtonsType OK

CLOSE

public static final ButtonsType CLOSE

CANCEL

public static final ButtonsType CANCEL

YES_NO

public static final ButtonsType YES_NO

OK_CANCEL

public static final ButtonsType OK_CANCEL
Method Detail

intern

public static ButtonsType intern(int value)

or

public ButtonsType or(ButtonsType other)

and

public ButtonsType and(ButtonsType other)

xor

public ButtonsType xor(ButtonsType other)

test

public boolean test(ButtonsType other)

Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net