public static enum DatelineModelEvent.ID extends Enum<DatelineModelEvent.ID>
Enum Constant and Description |
---|
DATELINE_WIDTH_CHANGED
ID used to indicate that the calculated width of the dateline has
been changed.
|
GRANULARITY_CHANGED
ID used to indicate that the granularity has changed.
|
REQUESTED_VISIBLE_TIME_SPAN_CHANGED
ID used to indicate that a time span request has been sent to the
model.
|
SELECTED_TIME_SPAN_CHANGED
ID used to indicate that the time span selection has been changed
inside a dateline model.
|
TIME_SPAN_CHANGED
ID used to indicate that the total time span of the model has been
changed.
|
TIME_ZONE_CHANGED
ID used to indicate that the time zone represented by the model has
been changed.
|
ZOOM_CHANGED
ID used to indicate that the zoom factor has changed.
|
Modifier and Type | Method and Description |
---|---|
static DatelineModelEvent.ID |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatelineModelEvent.ID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatelineModelEvent.ID SELECTED_TIME_SPAN_CHANGED
IDatelineModel.setSelectedTimeSpan(ITimeSpan)
public static final DatelineModelEvent.ID TIME_ZONE_CHANGED
IDatelineModel.setTimeZone(java.util.TimeZone)
public static final DatelineModelEvent.ID TIME_SPAN_CHANGED
IDatelineModel.setTimeSpan(ITimeSpan)
public static final DatelineModelEvent.ID REQUESTED_VISIBLE_TIME_SPAN_CHANGED
LayerContainer
has to scroll to the requested time span).public static final DatelineModelEvent.ID DATELINE_WIDTH_CHANGED
Dateline
uses this information to change
its preferred width. The LayerContainer
will respond to this
kind of event and invalidate the dateline and validate itself again.public static final DatelineModelEvent.ID ZOOM_CHANGED
IDatelineModel.setZoom(double)
public static final DatelineModelEvent.ID GRANULARITY_CHANGED
IDatelineModel.setGranularity(IGranularity)
public static DatelineModelEvent.ID[] values()
for (DatelineModelEvent.ID c : DatelineModelEvent.ID.values()) System.out.println(c);
public static DatelineModelEvent.ID valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.