Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » filter » templates » [javadoc | source]
org.jfree.report.filter.templates
public class: DateFieldTemplate [javadoc | source]
java.lang.Object
   org.jfree.report.filter.templates.AbstractTemplate
      org.jfree.report.filter.templates.DateFieldTemplate

All Implemented Interfaces:
    RawDataSource, Template

A date field template.
Constructor:
 public DateFieldTemplate() 
Method from org.jfree.report.filter.templates.DateFieldTemplate Summary:
clone,   getDataRowDataSource,   getDateFilter,   getDateFormat,   getField,   getFormat,   getFormatString,   getFormula,   getNullValue,   getRawValue,   getStringFilter,   getValue,   setDateFormat,   setField,   setFormat,   setFormula,   setNullValue
Methods from org.jfree.report.filter.templates.AbstractTemplate:
clone,   getInstance,   getName,   setName
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.filter.templates.DateFieldTemplate Detail:
 public Object clone() throws CloneNotSupportedException 
    Clones this template.
 protected DataRowDataSource getDataRowDataSource() 
    Returns the data-row datasource.
 protected SimpleDateFormatFilter getDateFilter() 
    Returns the date filter.
 public SimpleDateFormat getDateFormat() 
    Returns the date formatter.
 public String getField() 
    Returns the field name.
 public String getFormat() 
    Returns the date format string.
 public FormatSpecification getFormatString(ExpressionRuntime runtime,
    Element element,
    FormatSpecification formatSpecification) 
 public String getFormula() 
    Returns the formula used to compute the value of the data source.
 public String getNullValue() 
    Returns the string that represents null values.
 public Object getRawValue(ExpressionRuntime runtime,
    Element element) 
 protected StringFilter getStringFilter() 
    Returns the string filter.
 public Object getValue(ExpressionRuntime runtime,
    Element element) 
    Returns the current value for the data source.
 public  void setDateFormat(SimpleDateFormat dateFormat) 
    Sets the date formatter.
 public  void setField(String field) 
    Sets the field name.
 public  void setFormat(String format) 
    Sets the date format string.
 public  void setFormula(String formula) 
    Defines the formula used to compute the value of this data source.
 public  void setNullValue(String nullValue) 
    Sets the string that represents null values.