org.gnu.gtk

Class SelectionMode

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

Determines how elements of a TreeView widget may be selected. This is set using setMode on the tree selection of the tree view.
Field Summary
static SelectionModeBROWSE
Exactly one item is always selected.
static SelectionModeMULTIPLE
Anything between no item and all items can be selected.
static SelectionModeNONE
No items can be selected.
static SelectionModeSINGLE
No more than one item can be selected.
Method Summary
SelectionModeand(SelectionMode other)
static SelectionModeintern(int value)
SelectionModeor(SelectionMode other)
booleantest(SelectionMode other)
SelectionModexor(SelectionMode other)

Field Detail

BROWSE

public static final SelectionMode BROWSE

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.

Exactly one item is always selected.

MULTIPLE

public static final SelectionMode MULTIPLE

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.

Anything between no item and all items can be selected.

NONE

public static final SelectionMode 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 items can be selected.

SINGLE

public static final SelectionMode SINGLE

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 more than one item can be selected.

Method Detail

and

public SelectionMode and(SelectionMode other)

intern

public static SelectionMode intern(int value)

or

public SelectionMode or(SelectionMode other)

test

public boolean test(SelectionMode other)

xor

public SelectionMode xor(SelectionMode other)