|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JXMonthView.SelectionMode>
org.jdesktop.swingx.calendar.JXMonthView.SelectionMode
public static enum JXMonthView.SelectionMode
Enum Constant Summary | |
---|---|
MULTIPLE_INTERVAL_SELECTION
Mode that allows for selecting disjoint days. |
|
NO_SELECTION
Mode that disallows selection of days from the calendar. |
|
SINGLE_INTERVAL_SELECTION
Mode that allows for selecting of multiple consecutive days. |
|
SINGLE_SELECTION
Mode that allows for selection of a single day. |
|
WEEK_INTERVAL_SELECTION
Mode where selections consisting of more than 7 days will snap to a full week. |
Method Summary | |
---|---|
static JXMonthView.SelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JXMonthView.SelectionMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JXMonthView.SelectionMode NO_SELECTION
public static final JXMonthView.SelectionMode SINGLE_SELECTION
public static final JXMonthView.SelectionMode SINGLE_INTERVAL_SELECTION
public static final JXMonthView.SelectionMode MULTIPLE_INTERVAL_SELECTION
public static final JXMonthView.SelectionMode WEEK_INTERVAL_SELECTION
Method Detail |
---|
public static final JXMonthView.SelectionMode[] values()
for(JXMonthView.SelectionMode c : JXMonthView.SelectionMode.values()) System.out.println(c);
public static JXMonthView.SelectionMode 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |