com.standbysoft.datepicker
Class DateSelectionModel.SelectionMode
java.lang.Object
|
+--com.standbysoft.datepicker.DateSelectionModel.SelectionMode
- Enclosing class:
- DateSelectionModel
- public static final class DateSelectionModel.SelectionMode
- extends java.lang.Object
Defines the type of selection for the selection model. This class is just a wrapper for
the selection modes offered by ListSelectionModel
.
- Author:
- Nicolae Cismaru
Method Summary |
int |
getMode()
Returns the equivalent selection mode from ListSelectionModel . |
java.lang.String |
toString()
Returns a string representation for this object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SINGLE
public static final DateSelectionModel.SelectionMode SINGLE
- Only one single date can be selected.
SINGLE_INTERVAL
public static final DateSelectionModel.SelectionMode SINGLE_INTERVAL
- Only one single date interval can be selected.
MULTIPLE_INTERVAL
public static final DateSelectionModel.SelectionMode MULTIPLE_INTERVAL
- One or more date intervals can be selected.
VALUES
public static final DateSelectionModel.SelectionMode[] VALUES
getMode
public int getMode()
- Returns the equivalent selection mode from
ListSelectionModel
.
- Returns:
- the equivalent selection mode from
ListSelectionModel
toString
public java.lang.String toString()
- Returns a string representation for this object.
- Overrides:
toString
in class java.lang.Object
- Returns:
- name of this selection mode.
Copyright © 2003 Standby Soft Ltd. All Rights Reserved.