|
java-gnome version 4.0.19 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Constant
org.gnome.gtk.SelectionMode
public final class SelectionMode
What kinds of selections are possible on a TreeView? These are used by
setMode()
on TreeSelection,
which in turn you get by calling TreeView's getSelection()
.
The default is SINGLE
.
Field Summary | |
---|---|
static SelectionMode |
BROWSE
Normally exactly one row will be selected; the user cannot deselect this row without selecting another. |
static SelectionMode |
MULTIPLE
Multiple rows may be selected. |
static SelectionMode |
NONE
Rows may not be selected. |
static SelectionMode |
SINGLE
One element may be selected; zero selected rows is also permitted. |
Method Summary |
---|
Methods inherited from class org.freedesktop.bindings.Constant |
---|
toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SelectionMode BROWSE
public static final SelectionMode MULTIPLE
Shift
key will cause the selection to go from
the focus to the click location, and the Ctrl
key will
enlarge the selection by adding the clicked row to the other rows
already selected.
public static final SelectionMode NONE
public static final SelectionMode SINGLE
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |