|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.Web.DateGraphGenerator
Describes a source that generates counts by date
| Field Summary | |
static int |
INTERVAL_DAY
|
static int |
INTERVAL_MONTH
|
static int |
INTERVAL_WEEK
|
| Constructor Summary | |
DateGraphGenerator()
|
|
| Method Summary | |
abstract double |
getCounts(java.util.Calendar date)
Get the value of the generator for the given date. |
double |
getCounts(java.util.Calendar date,
int interval)
Get the value of the generator for the given interval. |
abstract java.util.Calendar |
getEndDate()
Get the end date of this generator's date range. |
java.awt.Paint |
getLineColor()
Get the line color for the data. |
java.awt.Stroke |
getLineStyle()
Get the line style for the data. |
abstract java.lang.String |
getName()
Get the name of the generator. |
abstract java.util.Calendar |
getStartDate()
Get the start date of this generator's date range. |
boolean |
isControlGenerator()
Indicates if this generator produces control chart information, and therefore doesn't affect the graph title. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int INTERVAL_DAY
public static final int INTERVAL_WEEK
public static final int INTERVAL_MONTH
| Constructor Detail |
public DateGraphGenerator()
| Method Detail |
public abstract java.lang.String getName()
public boolean isControlGenerator()
public java.awt.Stroke getLineStyle()
public java.awt.Paint getLineColor()
public abstract double getCounts(java.util.Calendar date)
public double getCounts(java.util.Calendar date,
int interval)
public abstract java.util.Calendar getStartDate()
public abstract java.util.Calendar getEndDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||