org.gnu.gtk

Class SelectionMode


public class SelectionMode
extends Enum

Determines how elements of a TreeView widget may be selected. This is set using TreeSelection.setMode(SelectionMode) on the tree selection of the tree view.

Field Summary

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

Method Summary

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

Field Details

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 Details

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)