java.lang.Object | ||
↳ | org.jfree.chart.axis.SegmentedTimeline.Segment | |
↳ | org.jfree.chart.axis.SegmentedTimeline.SegmentRange |
![]() |
Private internal class to represent a range of segments. This class is mainly used to store in one object a range of exception segments. This optimizes certain timelines that use a small segment size (like an intraday timeline) allowing them to express a day exception as one SegmentRange instead of multi Segments.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a SegmentRange between a start and end domain values.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the number of segments contained in this range.
| |||||||||||
Returns true if we are an excluded segment.
| |||||||||||
Returns true if all Segments of this SegmentRenge are an included
segment and are not an exception.
| |||||||||||
Not implemented for SegmentRange.
| |||||||||||
Returns a segment that is the intersection of this segment and the
interval.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a SegmentRange between a start and end domain values.
fromMillisecond | start of the range |
---|---|
toMillisecond | end of the range |
Returns the number of segments contained in this range.
Returns true if we are an excluded segment.
true
or false.
Returns true if all Segments of this SegmentRenge are an included segment and are not an exception.
true
or false.
Not implemented for SegmentRange. Always throws IllegalArgumentException.
n | Number of segments to increment. |
---|
Returns a segment that is the intersection of this segment and the interval.
from | the start of the interval. |
---|---|
to | the end of the interval. |