public class VisibleTimeChangedEvent extends TimeChangedEvent
VisibleTimeChangedEvent
is used to notify
time scroll listeners
when the start time of an
IlvTimeScrollable
's displayed interval has been changed.source
Constructor and Description |
---|
VisibleTimeChangedEvent(IlvTimeScrollable scrollable,
Date time,
boolean adjusting)
Creates a new
VisibleTimeChangedEvent generated by the
specified scrollable object. |
Modifier and Type | Method and Description |
---|---|
boolean |
isAdjusting()
Returns
true if a VisibleDurationChangedEvent will
immediately follow this event. |
String |
paramString()
Returns a
String representing the state of this event. |
getTime, getTimeScrollable, toString
getSource
public VisibleTimeChangedEvent(IlvTimeScrollable scrollable, Date time, boolean adjusting)
VisibleTimeChangedEvent
generated by the
specified scrollable object.scrollable
- The time scrollable object where the event originated.time
- The new time value.adjusting
- true
if a VisibleDurationChangedEvent
will immediately follow this event.isAdjusting()
public boolean isAdjusting()
true
if a VisibleDurationChangedEvent
will
immediately follow this event.VisibleDurationChangedEvent
will follow
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
.paramString
in class TimeChangedEvent
String
representation of this event.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.