public final class DatelineScrollingEvent
extends javafx.event.Event
Dateline.setOnVisibleRangeChanged(EventHandler)
,
Serialized FormModifier and Type | Field and Description |
---|---|
static javafx.event.EventType<DatelineScrollingEvent> |
ANY_SCROLLING |
static javafx.event.EventType<DatelineScrollingEvent> |
VISIBLE_RANGE_CHANGED |
source
Constructor and Description |
---|
DatelineScrollingEvent(Object source,
javafx.event.EventTarget target,
javafx.event.EventType<DatelineScrollingEvent> eventType,
Instant startTime,
Instant endTime,
ZoneId zoneId)
Constructs a new event.
|
Modifier and Type | Method and Description |
---|---|
Instant |
getEndTime()
Returns the new end time of the visible time range shown by the dateline / the gantt chart.
|
Instant |
getStartTime()
Returns the new start time of the visible time range shown by the dateline / the gantt chart.
|
ZoneId |
getZoneId()
Returns the ID of the time zone currently displayed by the dateline.
|
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
getSource, toString
public static final javafx.event.EventType<DatelineScrollingEvent> ANY_SCROLLING
public static final javafx.event.EventType<DatelineScrollingEvent> VISIBLE_RANGE_CHANGED
public DatelineScrollingEvent(Object source, javafx.event.EventTarget target, javafx.event.EventType<DatelineScrollingEvent> eventType, Instant startTime, Instant endTime, ZoneId zoneId)
source
- the event source (the dateline)target
- the event target (the dateline)eventType
- the type of eventstartTime
- the new start time of the visible rangeendTime
- the new end time of the visible rangezoneId
- the time zone currently shown by the datelinepublic final Instant getStartTime()
public final Instant getEndTime()
public final ZoneId getZoneId()
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.