org.gnu.gtk

Class SelectionMode

public class SelectionMode extends Enum

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
Exactly one item is always selected.

MULTIPLE

public static final SelectionMode MULTIPLE
Anything between no item and all items can be selected.

NONE

public static final SelectionMode NONE
No items can be selected.

SINGLE

public static final SelectionMode SINGLE
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)