org.gnu.gtk
Class ButtonsType

java.lang.Object
  extended by org.gnu.glib.Enum
      extended by org.gnu.gtk.ButtonsType

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.

public class ButtonsType
extends org.gnu.glib.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)
          Deprecated.  
static ButtonsType intern(int value)
          Deprecated.  
 ButtonsType or(ButtonsType other)
          Deprecated.  
 boolean test(ButtonsType other)
          Deprecated.  
 ButtonsType xor(ButtonsType other)
          Deprecated.  
 
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
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.


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


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


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.


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.

Method Detail

intern

public static ButtonsType intern(int value)
Deprecated. 

or

public ButtonsType or(ButtonsType other)
Deprecated. 

and

public ButtonsType and(ButtonsType other)
Deprecated. 

xor

public ButtonsType xor(ButtonsType other)
Deprecated. 

test

public boolean test(ButtonsType other)
Deprecated.