[displaytag-cvs] displaytag/src/main/java/org/displaytag/model TableModel.java,1.22,1.23
Brought to you by:
fgiust
|
From: fabrizio g. <fg...@us...> - 2005-10-16 20:35:02
|
Update of /cvsroot/displaytag/displaytag/src/main/java/org/displaytag/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18315/src/main/java/org/displaytag/model Modified Files: TableModel.java Log Message: committing DISPL-245 WYSIWYG Exports - from Jorge L. Barroso + some changes and fixes Index: TableModel.java =================================================================== RCS file: /cvsroot/displaytag/displaytag/src/main/java/org/displaytag/model/TableModel.java,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** TableModel.java 11 Sep 2005 19:23:54 -0000 1.22 --- TableModel.java 16 Oct 2005 20:34:39 -0000 1.23 *************** *** 103,106 **** --- 103,116 ---- /** + * Table caption. + */ + private String caption; + + /** + * Table footer. + */ + private String footer; + + /** * Constructor for TableModel. * @param tableProperties table properties *************** *** 455,458 **** --- 465,504 ---- /** + * Obtain this table's caption. + * @return This table's caption. + */ + public String getCaption() + { + return this.caption; + } + + /** + * Set this table's caption. + * @param caption This table's caption. + */ + public void setCaption(String caption) + { + this.caption = caption; + } + + /** + * Obtain this table's footer. + * @return This table's footer. + */ + public String getFooter() + { + return this.footer; + } + + /** + * Set this table's footer. + * @param footer This table's footer. + */ + public void setFooter(String footer) + { + this.footer = footer; + } + + /** * @see java.lang.Object#toString() */ *************** *** 473,476 **** --- 519,524 ---- .append("sorted", this.isSorted()) //$NON-NLS-1$ .append("tableDecorator", this.tableDecorator) //$NON-NLS-1$ + .append("caption", this.getCaption()) //$NON-NLS-1 + .append("footer", this.getFooter()) //$NON-NLS-1 .toString(); } |