Home » displaytag-1.1.1-src » org » displaytag » model » [javadoc | source]
org.displaytag.model
public class: HeaderCell [javadoc | source]
java.lang.Object
   org.displaytag.model.HeaderCell
DataObject representing the column header. The header cell contains all the properties common to cells in the same column.
Method from org.displaytag.model.HeaderCell Summary:
addCell,   addHeaderClass,   getBeanPropertyName,   getCloseTag,   getColumnDecorators,   getColumnNumber,   getComparator,   getDefaultSortOrder,   getGroup,   getHeaderAttributes,   getHeaderCloseTag,   getHeaderOpenTag,   getHref,   getHtmlAttributes,   getMaxLength,   getMaxWords,   getParamName,   getParamProperty,   getShowNulls,   getSortName,   getSortProperty,   getSortable,   getTitle,   getTotal,   isAlreadySorted,   isTotaled,   setAlreadySorted,   setBeanPropertyName,   setColumnDecorators,   setColumnNumber,   setComparator,   setDefaultSortOrder,   setGroup,   setHeaderAttributes,   setHref,   setHtmlAttributes,   setMaxLength,   setMaxWords,   setParamName,   setParamProperty,   setShowNulls,   setSortName,   setSortProperty,   setSortable,   setTitle,   setTotaled,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.model.HeaderCell Detail:
 public  void addCell(Column column) 
    Add a new cell to this column.
 public  void addHeaderClass(String cssClass) 
    Adds a css class to the html "class" attribute.
 public String getBeanPropertyName() 
    Getter for the name of the property to look up in the bean.
 public String getCloseTag() 
    return the closing tag for a cell (td).
 public DisplaytagColumnDecorator[] getColumnDecorators() 
    Returns the columnDecorator object for this column.
 public int getColumnNumber() 
    Getter for the column number.
 public Comparator getComparator() 
    Get the comparator for sorting this column.
 public SortOrderEnum getDefaultSortOrder() 
    Sets the default sort order for this column
 public int getGroup() 
    getter for the grouping index.
 public HtmlAttributeMap getHeaderAttributes() 
    returns the HtmlAttributeMap containg all the html attributes for the th tag.
 public String getHeaderCloseTag() 
    return the closing tag for a column header (th).
 public String getHeaderOpenTag() 
    return the open tag for a column header (th).
 public Href getHref() 
    Getter for the href to be used for dinamic links in cells.
 public HtmlAttributeMap getHtmlAttributes() 
    Returns the HtmlAttributeMap containg all the html attributes for the td tags.
 public int getMaxLength() 
    getter for the max number of characters to display in the column.
 public int getMaxWords() 
    getter for the max number of words to display in the column.
 public String getParamName() 
    Getter for the name of the param to add to links.
 public String getParamProperty() 
    Getter for the name of the property to look up in bean to get the param value for links.
 public boolean getShowNulls() 
    Should null be displayed?
 public String getSortName() 
    Get name given to server for sorting this column
 public String getSortProperty() 
    Getter for the name of the property in the bean which will be used for sorting.
 public boolean getSortable() 
    Is the column sortable?
 public String getTitle() 
    Gets the column title.
 public double getTotal() 
    Get the current total.
 public boolean isAlreadySorted() 
    Is the column already sorted?
 public boolean isTotaled() 
    Will we be keeping a total for this column?
 public  void setAlreadySorted() 
    Setter for the sorted property (the column is actually sorted).
 public  void setBeanPropertyName(String propertyName) 
    Setter for the name of the property to look up in the bean.
 public  void setColumnDecorators(DisplaytagColumnDecorator[] decorator) 
    Sets the columnDecorator object for this column.
 public  void setColumnNumber(int number) 
    Setter for the column number.
 public  void setComparator(Comparator columnComparator) 
    Set the column comparator.
 public  void setDefaultSortOrder(SortOrderEnum order) 
    Gets the default sort order for this column
 public  void setGroup(int groupingOrder) 
    setter for the grouping index.
 public  void setHeaderAttributes(HtmlAttributeMap attributes) 
    Sets the HtmlAttributeMap containg all the html attributes for the th tag.
 public  void setHref(Href baseHref) 
    Setter for the href to be used for dinamic links in cells.
 public  void setHtmlAttributes(HtmlAttributeMap attributes) 
    Sets the HtmlAttributeMap containg all the html attributes for the td tags.
 public  void setMaxLength(int numOfChars) 
    setter for the max number of characters to display in the column.
 public  void setMaxWords(int numOfWords) 
    setter for the max number of words to display in the column.
 public  void setParamName(String name) 
    Setter for the name of the param to add to links.
 public  void setParamProperty(String property) 
    Setter for the name of the property to look up in bean to get the param value for links.
 public  void setShowNulls(boolean outputNulls) 
    Enable or disable displaying of null values.
 public  void setSortName(String sortName) 
    Set name given to server for sorting this column
 public  void setSortProperty(String propertyName) 
    Setter for the name of the property in the bean which will be used for sorting.
 public  void setSortable(boolean isSortable) 
    is the column sortable?
 public  void setTitle(String value) 
    Setter for the column title.
 public  void setTotaled(boolean isTotaled) 
    Setter for totaled.
 public String toString()