|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlu.tudor.santec.jtimechooser.TimeChangedEvent
public class TimeChangedEvent
| Field Summary | |
|---|---|
static int |
TIME_CHANGED_BY_CARET_EVENT
|
static int |
TIME_CHANGED_BY_EXIT_KEY_EVENT
|
static int |
TIME_CHANGED_BY_FOCUS_LOST
|
static int |
TIME_CHANGED_BY_MOUSE_DRAGGED
|
static int |
TIME_CHANGED_BY_MOUSE_RELEASED
|
static int |
TIME_CHANGED_BY_MOUSE_WHEEL
|
static int |
TIME_CHANGED_BY_SET_METHOD
|
| Constructor Summary | |
|---|---|
TimeChangedEvent(javax.swing.JComponent source,
java.util.Date time,
int timeChangedBy,
boolean modified)
Used by the JTimeChooser, when time is changed. |
|
| Method Summary | |
|---|---|
java.util.Date |
getEventTime()
The time at which the event happened. |
javax.swing.JComponent |
getSource()
The JComponent, that caused this event. |
java.util.Date |
getTime()
The new time value normally from the JTimeChooser. |
int |
getTimeWasChangedReason()
Specifies why the time was changed. |
boolean |
isTimeModified()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TIME_CHANGED_BY_MOUSE_RELEASED
public static final int TIME_CHANGED_BY_MOUSE_DRAGGED
public static final int TIME_CHANGED_BY_FOCUS_LOST
public static final int TIME_CHANGED_BY_EXIT_KEY_EVENT
public static final int TIME_CHANGED_BY_CARET_EVENT
public static final int TIME_CHANGED_BY_MOUSE_WHEEL
public static final int TIME_CHANGED_BY_SET_METHOD
| Constructor Detail |
|---|
public TimeChangedEvent(javax.swing.JComponent source,
java.util.Date time,
int timeChangedBy,
boolean modified)
source - The component, that caused the eventtime - The time, set in the JTimeChoosertimeSet - Specifies, why the time is changed. Use one of the TIME_CHANGED_BY-constants| Method Detail |
|---|
public javax.swing.JComponent getSource()
public java.util.Date getTime()
public java.util.Date getEventTime()
public int getTimeWasChangedReason()
public boolean isTimeModified()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||