Class DateSelectionEvent
java.lang.Object
java.util.EventObject
org.jdesktop.swingx.event.DateSelectionEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionDateSelectionEvent(Object source, DateSelectionEvent.EventType eventType, boolean adjusting) Constructs a prototypical Event. -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of this event.Returns the selection of the source dateSelectionModel.booleanReturns a boolean indicating whether the event source is in adjusting state.toString()Methods inherited from class EventObject
getSource
-
Field Details
-
eventType
-
adjusting
private boolean adjusting
-
-
Constructor Details
-
DateSelectionEvent
Constructs a prototypical Event.- Parameters:
source- The object on which the Event initially occurred.eventType- the type of the eventadjusting- the adjusting property of the source- Throws:
IllegalArgumentException- if source is null.
-
-
Method Details
-
getSelection
-
getEventType
Returns the type of this event.- Returns:
- the type of event.
-
isAdjusting
public boolean isAdjusting()Returns a boolean indicating whether the event source is in adjusting state.- Returns:
- true if the event is fired while the model is in adjusting state.
-
toString
- Overrides:
toStringin classEventObject
-