public class TimeChangedEvent extends EventObject
VisibleTimeChangedEvent
is fired by an
IlvTimeScrollable
object to indicate that one of its time properties
has been modified.TimeScrollListener
,
Serialized Formsource
Constructor and Description |
---|
TimeChangedEvent(IlvTimeScrollable scrollable,
Date time)
Creates a new
TimeChangedEvent generated by the specified
scrollable object. |
Modifier and Type | Method and Description |
---|---|
Date |
getTime()
Returns the new time value.
|
IlvTimeScrollable |
getTimeScrollable()
Returns the time-scrollable object where the event originated.
|
String |
paramString()
Returns a
String representing the state of this event. |
String |
toString()
Returns a
String representation of this event. |
getSource
public TimeChangedEvent(IlvTimeScrollable scrollable, Date time)
TimeChangedEvent
generated by the specified
scrollable object.scrollable
- The time scrollable object where the event originated.time
- The new time value.public IlvTimeScrollable getTimeScrollable()
IlvTimeScrollable
.public Date getTime()
Date
.public String toString()
String
representation of this event.toString
in class EventObject
String
representation of this event.public String paramString()
String
representing the state of this event. This method is
intended to be used only for debugging purposes. The returned string may be empty
but may not be null
.String
representation of this event.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.