de.jaret.examples.timebars.linechart.model
Class LineChartInterval
java.lang.Object
de.jaret.util.misc.PropertyObservableBase
de.jaret.util.date.IntervalImpl
de.jaret.examples.timebars.linechart.model.LineChartInterval
- All Implemented Interfaces:
- de.jaret.util.date.Interval, de.jaret.util.misc.PropertyObservable, java.beans.PropertyChangeListener, java.util.EventListener
public class LineChartInterval
- extends de.jaret.util.date.IntervalImpl
Interval holding data points. Begin and end will be adjusted by the first and last data point.
- Version:
- $Id: LineChartInterval.java 856 2009-04-02 18:54:40Z kliem $
- Author:
- kliem
| Fields inherited from class de.jaret.util.date.IntervalImpl |
_begin, _end |
| Fields inherited from class de.jaret.util.misc.PropertyObservableBase |
_propertyChangeSupport |
| Fields inherited from interface de.jaret.util.date.Interval |
PROP_BEGIN, PROP_END |
|
Method Summary |
de.jaret.util.date.JaretDate |
getBegin()
Always return the time of the first data point. |
java.util.List<DataPoint> |
getDataPoints()
|
java.util.List<DataPoint> |
getDataPoints(de.jaret.util.date.JaretDate startDate,
de.jaret.util.date.JaretDate endDate)
|
de.jaret.util.date.JaretDate |
getEnd()
Always return the time of the last data point. |
| Methods inherited from class de.jaret.util.date.IntervalImpl |
contains, contains, containsNonIncluding, containsStatic, getSeconds, intersect, intersectNonIncluding, intersects, propertyChange, setBegin, setEnd, toString |
| Methods inherited from class de.jaret.util.misc.PropertyObservableBase |
addPropertyChangeListener, firePropertyChange, isRealModification, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.jaret.util.misc.PropertyObservable |
addPropertyChangeListener, removePropertyChangeListener |
LineChartInterval
public LineChartInterval(java.util.List<DataPoint> points)
getDataPoints
public java.util.List<DataPoint> getDataPoints()
getBegin
public de.jaret.util.date.JaretDate getBegin()
- Always return the time of the first data point.
- Specified by:
getBegin in interface de.jaret.util.date.Interval- Overrides:
getBegin in class de.jaret.util.date.IntervalImpl
getEnd
public de.jaret.util.date.JaretDate getEnd()
- Always return the time of the last data point.
- Specified by:
getEnd in interface de.jaret.util.date.Interval- Overrides:
getEnd in class de.jaret.util.date.IntervalImpl
getDataPoints
public java.util.List<DataPoint> getDataPoints(de.jaret.util.date.JaretDate startDate,
de.jaret.util.date.JaretDate endDate)
Copyright © 2012. All Rights Reserved.