Dateline Layer


The dateline layer visualizes the time span that currently has the focus in the dateline so that the user can more easily identify the timeline objects that intersect with this span. The focused time span is the time span between two major or minor grid locations, depending on whether the mouse cursor hovers over the upper or the lower part of the dateline. The dateline layer will draw a semi-transparent rectangle from the top to the bottom of the layer container. The transparency of the rectangle can be controlled with the layer‘s alpha value. The layer will draw the same rectangle when the user performs a time span selection in the dateline.

focusspan
Focused Time Span

Relevant API


ITimeSpan Dateline.getFocusedTimeSpan();
void DatelineLayer.setFocusedTimeSpanFillColor(Color);
void DatelineLayer.setFocusedTimeSpanLineColor(Color);
void DatelineLayer.setFocusedTimeVisible(boolean);
void AbstractLayer.setAlpha(float);