Java org.jfree.chart.axis SegmentedTimeline fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.axis SegmentedTimeline fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.axis SegmentedTimeline.

The text is from its open source code.

Subclass

org.jfree.chart.axis.SegmentedTimeline has subclasses.
Click this link to see all its subclasses.

Field

longFIFTEEN_MINUTE_SEGMENT_SIZE
Defines a 15-minute segment size in ms.

Constructor

SegmentedTimeline(long segmentSize, int segmentsIncluded, int segmentsExcluded)
Constructs a new segmented timeline, optionaly using another segmented timeline as its base.

Method

voidaddBaseTimelineExclusions(long fromBaseDomainValue, long toBaseDomainValue)
Adds all excluded segments from the BaseTimeline as exceptions to our timeline.
voidaddException(long fromDomainValue, long toDomainValue)
Adds a segment range as an exception.
voidaddException(long millisecond)
Adds a segment as an exception.
voidaddException(Date exceptionDate)
Adds a segment as an exception.
voidaddException(Segment segment)
Adds a segment as an exception.
voidaddExceptions(List exceptionList)
Adds a list of dates as segment exceptions.
SegmentgetSegment(long millisecond)
Returns a segment that contains a domainValue.
SegmentgetSegment(Date date)
Returns a segment that contains a date.
longgetStartTime()
Returns the start time for the timeline.
SegmentedTimelinenewFifteenMinuteTimeline()
Factory method to create a 15-min, 9:00 AM thought 4:00 PM, Monday through Friday SegmentedTimeline.
SegmentedTimelinenewMondayThroughFridayTimeline()
Factory method to create a Monday through Friday SegmentedTimeline.
voidsetAdjustForDaylightSaving(boolean adjust)
Sets the flag that controls whether or not the daylight saving adjustment is applied.
voidsetBaseTimeline(SegmentedTimeline baseTimeline)
Sets the base timeline.
voidsetStartTime(long millisecond)
Sets the start time for the timeline.