|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectar.com.fdvs.dj.domain.DJBaseElement
ar.com.fdvs.dj.domain.chart.dataset.AbstractDataset
ar.com.fdvs.dj.domain.chart.dataset.TimeSeriesDataset
public class TimeSeriesDataset
| Field Summary | |
|---|---|
static Class |
DAY
|
static Class |
HOUR
|
static Class |
MILLISECOND
|
static Class |
MINUTE
|
static Class |
MONTH
|
static Class |
QUARTER
|
static Class |
SECOND
|
static Class |
WEEK
|
static Class |
YEAR
|
| Fields inherited from interface ar.com.fdvs.dj.domain.entities.Entity |
|---|
SERIAL_VERSION_UID |
| Constructor Summary | |
|---|---|
TimeSeriesDataset()
|
|
| Method Summary | |
|---|---|
void |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset. |
void |
addSerie(AbstractColumn column,
String label)
Adds the specified serie column to the dataset with custom label. |
void |
addSerie(AbstractColumn column,
StringExpression labelExpression)
Adds the specified serie column to the dataset with custom label expression. |
void |
clearSeries()
Removes all defined series. |
List |
getColumns()
|
PropertyColumn |
getColumnsGroup()
|
List |
getSeries()
Returns a list of all the defined series. |
PropertyColumn |
getTimePeriod()
Returns the time period column. |
Class |
getTimePeriodClass()
Gets the time period class (YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND). |
void |
removeSerie(AbstractColumn column)
Removes the specified serie column from the dataset. |
void |
setTimePeriod(PropertyColumn timePeriod)
Sets the time period column. |
void |
setTimePeriodClass(Class timePeriodClass)
Sets the time period class (YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND). |
net.sf.jasperreports.engine.design.JRDesignChartDataset |
transform(DynamicJasperDesign design,
String name,
net.sf.jasperreports.engine.design.JRDesignGroup group,
net.sf.jasperreports.engine.design.JRDesignGroup parentGroup,
Map vars)
|
| Methods inherited from class ar.com.fdvs.dj.domain.chart.dataset.AbstractDataset |
|---|
getExpressionFromVariable, setResetStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Class YEAR
public static final Class QUARTER
public static final Class MONTH
public static final Class WEEK
public static final Class DAY
public static final Class HOUR
public static final Class MINUTE
public static final Class SECOND
public static final Class MILLISECOND
| Constructor Detail |
|---|
public TimeSeriesDataset()
| Method Detail |
|---|
public void setTimePeriod(PropertyColumn timePeriod)
timePeriod - the time period columnpublic PropertyColumn getTimePeriod()
public void addSerie(AbstractColumn column)
addSerie in class AbstractDatasetcolumn - the serie column
public void addSerie(AbstractColumn column,
String label)
column - the serie columnlabel - column the custom label
public void addSerie(AbstractColumn column,
StringExpression labelExpression)
column - the serie columnlabelExpression - column the custom label expressionpublic void removeSerie(AbstractColumn column)
column - the serie columnpublic void clearSeries()
public List getSeries()
public void setTimePeriodClass(Class timePeriodClass)
timePeriodClass - one of the time period class constants in this classpublic Class getTimePeriodClass()
public net.sf.jasperreports.engine.design.JRDesignChartDataset transform(DynamicJasperDesign design,
String name,
net.sf.jasperreports.engine.design.JRDesignGroup group,
net.sf.jasperreports.engine.design.JRDesignGroup parentGroup,
Map vars)
transform in class AbstractDatasetpublic List getColumns()
getColumns in class AbstractDatasetpublic PropertyColumn getColumnsGroup()
getColumnsGroup in class AbstractDataset
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||