public enum ListSelectionMode extends java.lang.Enum<ListSelectionMode>
Enum Constant and Description |
---|
MULTIPLE_INTERVAL_SELECTION |
SINGLE_INTERVAL_SELECTION |
SINGLE_SELECTION |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns Swing's int constant value defined in
ListSelectionModel |
static ListSelectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListSelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListSelectionMode SINGLE_SELECTION
public static final ListSelectionMode SINGLE_INTERVAL_SELECTION
public static final ListSelectionMode MULTIPLE_INTERVAL_SELECTION
public static ListSelectionMode[] values()
for (ListSelectionMode c : ListSelectionMode.values()) System.out.println(c);
public static ListSelectionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
ListSelectionModel
Copyright © 2014 EsprIT-Systems. All Rights Reserved.