|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.plot.CacheTimeSeriesParams
public class CacheTimeSeriesParams
Field Summary | |
---|---|
private org.jfree.data.time.TimeSeriesCollection |
dataset
|
private java.util.List<ProgressListener<anl.aida.util.DateRange>> |
listeners
|
private double |
max
|
private double |
min
|
private static simphony.util.messages.MessageCenter |
msg
|
Constructor Summary | |
---|---|
private |
CacheTimeSeriesParams()
|
Method Summary | |
---|---|
void |
addProgressListener(ProgressListener<anl.aida.util.DateRange> listener)
Adds listener that will list for progress in the dataset creation. |
static CacheTimeSeriesParams |
createParams(Cache cache,
java.util.Collection<? extends Keyword> keywords,
java.lang.Iterable<anl.aida.util.DateRange> ranges,
ProgressListener<anl.aida.util.DateRange>... listeners)
|
private void |
fireUpdate(anl.aida.util.DateRange range)
|
org.jfree.data.time.TimeSeriesCollection |
getDataset()
Gets the dataset for the time series. |
double |
getMax()
Gets the maximum value of the time series. |
double |
getMin()
Gets the minimum value of the time series. |
java.lang.String |
getSeriesHeading()
Gets the heading for the series. |
java.lang.String |
getTitle()
Gets the title of the time series. |
java.lang.String |
getUnitsLabel()
Gets the label for the units, if any. |
java.lang.String |
getXAxisLabel()
Gets the label for the x-axis. |
java.lang.String |
getYAxisLabel()
Gets the label for the y-axis. |
private void |
init(Cache cache,
java.util.Collection<? extends Keyword> keywords,
java.lang.Iterable<anl.aida.util.DateRange> ranges)
|
private void |
updateSeries(Keyword keyword,
anl.aida.util.DateRange range,
int docCount)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static simphony.util.messages.MessageCenter msg
private org.jfree.data.time.TimeSeriesCollection dataset
private double min
private double max
private java.util.List<ProgressListener<anl.aida.util.DateRange>> listeners
Constructor Detail |
---|
private CacheTimeSeriesParams()
Method Detail |
---|
public static CacheTimeSeriesParams createParams(Cache cache, java.util.Collection<? extends Keyword> keywords, java.lang.Iterable<anl.aida.util.DateRange> ranges, ProgressListener<anl.aida.util.DateRange>... listeners)
private void init(Cache cache, java.util.Collection<? extends Keyword> keywords, java.lang.Iterable<anl.aida.util.DateRange> ranges)
private void updateSeries(Keyword keyword, anl.aida.util.DateRange range, int docCount)
public void addProgressListener(ProgressListener<anl.aida.util.DateRange> listener)
listener
- the listener to add.private void fireUpdate(anl.aida.util.DateRange range)
public org.jfree.data.time.TimeSeriesCollection getDataset()
TimeSeriesParameters
getDataset
in interface TimeSeriesParameters
public double getMax()
TimeSeriesParameters
getMax
in interface TimeSeriesParameters
public double getMin()
TimeSeriesParameters
getMin
in interface TimeSeriesParameters
public java.lang.String getSeriesHeading()
TimeSeriesParameters
getSeriesHeading
in interface TimeSeriesParameters
public java.lang.String getTitle()
TimeSeriesParameters
getTitle
in interface TimeSeriesParameters
public java.lang.String getUnitsLabel()
TimeSeriesParameters
getUnitsLabel
in interface TimeSeriesParameters
public java.lang.String getXAxisLabel()
TimeSeriesParameters
getXAxisLabel
in interface TimeSeriesParameters
public java.lang.String getYAxisLabel()
TimeSeriesParameters
getYAxisLabel
in interface TimeSeriesParameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |