java.io.Serializable
public class DateSelectionEvent
extends java.util.EventObject
Modifier and Type | Class | Description |
---|---|---|
static class |
DateSelectionEvent.EventType |
Constructor | Description |
---|---|
DateSelectionEvent(java.lang.Object source,
DateSelectionEvent.EventType eventType,
boolean adjusting) |
Constructs a prototypical Event.
|
Modifier and Type | Method | Description |
---|---|---|
DateSelectionEvent.EventType |
getEventType() |
Returns the type of this event.
|
java.util.SortedSet<java.util.Date> |
getSelection() |
Returns the selection of the source dateSelectionModel.
|
boolean |
isAdjusting() |
Returns a boolean indicating whether the event source is in adjusting state.
|
public DateSelectionEvent(java.lang.Object source, DateSelectionEvent.EventType eventType, boolean adjusting)
source
- The object on which the Event initially occurred.eventType
- the type of the eventadjusting
- the adjusting property of the sourcejava.lang.IllegalArgumentException
- if source is null.public java.util.SortedSet<java.util.Date> getSelection()
PENDING JW: that's the "live" selection, that is the source is re-queried on every call to this method. Bug or feature?
public final DateSelectionEvent.EventType getEventType()
public boolean isAdjusting()