org.opengts.war.report.presentation
Class HeaderColumnTemplate
java.lang.Object
org.opengts.war.report.presentation.HeaderColumnTemplate
public class HeaderColumnTemplate
- extends java.lang.Object
Method Summary |
int |
getColSpan()
|
java.lang.String |
getFieldName()
|
int |
getRowSpan()
|
java.lang.String |
getTitle(ReportData report,
ReportColumn column)
|
boolean |
hasColSpan()
|
boolean |
hasRowSpan()
|
HeaderColumnTemplate |
setColSpan(int colSpan)
|
HeaderColumnTemplate |
setRowSpan(int rowSpan)
|
void |
writeHTML(java.io.PrintWriter out,
int level,
ReportData report,
ReportColumn column)
|
void |
writeXLS(ReportSpreadsheet rptSS,
int level,
ReportData report,
ReportColumn column)
|
void |
writeXML(java.io.PrintWriter out,
int level,
ReportData report,
ReportColumn column)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STYLE_CLASS_SORT
public static final java.lang.String STYLE_CLASS_SORT
- See Also:
- Constant Field Values
STYLE_CLASS_NOSORT
public static final java.lang.String STYLE_CLASS_NOSORT
- See Also:
- Constant Field Values
HeaderColumnTemplate
public HeaderColumnTemplate(DataColumnTemplate dtaCol)
HeaderColumnTemplate
public HeaderColumnTemplate(DataColumnTemplate dtaCol,
int rowSpan,
int colSpan)
getFieldName
public java.lang.String getFieldName()
getTitle
public java.lang.String getTitle(ReportData report,
ReportColumn column)
setRowSpan
public HeaderColumnTemplate setRowSpan(int rowSpan)
getRowSpan
public int getRowSpan()
hasRowSpan
public boolean hasRowSpan()
setColSpan
public HeaderColumnTemplate setColSpan(int colSpan)
getColSpan
public int getColSpan()
hasColSpan
public boolean hasColSpan()
writeHTML
public void writeHTML(java.io.PrintWriter out,
int level,
ReportData report,
ReportColumn column)
writeXML
public void writeXML(java.io.PrintWriter out,
int level,
ReportData report,
ReportColumn column)
writeXLS
public void writeXLS(ReportSpreadsheet rptSS,
int level,
ReportData report,
ReportColumn column)