|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TableSelectionMode>
net.sf.doolin.gui.field.table.TableSelectionMode
public enum TableSelectionMode
This enumeration defines the different selection modes for a
FieldTable.
| Enum Constant Summary | |
|---|---|
MULTIPLE
Same semantics than ListSelectionModel.MULTIPLE_INTERVAL_SELECTION |
|
MULTIPLE_CONTINUOUS
Same semantics than ListSelectionModel.SINGLE_INTERVAL_SELECTION |
|
SINGLE
Same semantics than ListSelectionModel.SINGLE_SELECTION |
|
| Method Summary | |
|---|---|
int |
getSelectionMode()
Gets the selection mode as for use in ListSelectionModel.setSelectionMode(int). |
boolean |
isMultiple()
Checks if this selection mode means a multiple selection |
static TableSelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TableSelectionMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TableSelectionMode MULTIPLE_CONTINUOUS
ListSelectionModel.SINGLE_INTERVAL_SELECTION
public static final TableSelectionMode MULTIPLE
ListSelectionModel.MULTIPLE_INTERVAL_SELECTION
public static final TableSelectionMode SINGLE
ListSelectionModel.SINGLE_SELECTION
| Method Detail |
|---|
public static TableSelectionMode[] values()
for (TableSelectionMode c : TableSelectionMode.values()) System.out.println(c);
public static TableSelectionMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isMultiple()
true if several items may be selectedpublic int getSelectionMode()
ListSelectionModel.setSelectionMode(int).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||