|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.displaytag.model.HeaderCell
DataObject representing the column header. The header cell contains all the properties common to cells in the same column.
| Constructor Summary | |
HeaderCell()
|
|
| Method Summary | |
void |
addHeaderClass(java.lang.String cssClass)
Adds a css class to the html "class" attribute. |
boolean |
getAutoLink()
is autolink enabled? |
java.lang.String |
getBeanPropertyName()
Getter for the name of the property to look up in the bean. |
java.lang.String |
getCloseTag()
return the closing tag for a cell (td). |
ColumnDecorator |
getColumnDecorator()
Returns the columnDecorator object for this column. |
int |
getColumnNumber()
Getter for the column number. |
int |
getGroup()
getter for the grouping index. |
HtmlAttributeMap |
getHeaderAttributes()
returns the HtmlAttributeMap containg all the html attributes for the th tag. |
java.lang.String |
getHeaderCloseTag()
return the closing tag for a column header (th). |
java.lang.String |
getHeaderOpenTag()
return the open tag for a column header (th). |
Href |
getHref()
Getter for the href to be used for dinamic links in cells. |
HtmlAttributeMap |
getHtmlAttributes()
Returns the HtmlAttributeMap containg all the html attributes for the td tags. |
int |
getMaxLength()
getter for the max number of characters to display in the column. |
int |
getMaxWords()
getter for the max number of words to display in the column. |
java.lang.String |
getOpenTag()
return the open tag for a cell (td). |
java.lang.String |
getParamName()
Getter for the name of the param to add to links. |
java.lang.String |
getParamProperty()
Getter for the name of the property to look up in bean to get the param value for links. |
boolean |
getShowNulls()
Should null be displayed? |
boolean |
getSortable()
Is the column sortable? |
java.lang.String |
getSortProperty()
Getter for the name of the property in the bean which will be used for sorting. |
java.lang.String |
getTitle()
Gets the column title. |
boolean |
isAlreadySorted()
Is the column already sorted? |
void |
setAlreadySorted()
Setter for the sorted property (the column is actually sorted). |
void |
setAutoLink(boolean autoLinkEnabled)
enable or disable autolink for the column. |
void |
setBeanPropertyName(java.lang.String propertyName)
Setter for the name of the property to look up in the bean. |
void |
setColumnDecorator(ColumnDecorator decorator)
Sets the columnDecorator object for this column. |
void |
setColumnNumber(int number)
Setter for the column number. |
void |
setGroup(int groupingOrder)
setter for the grouping index. |
void |
setHeaderAttributes(HtmlAttributeMap attributes)
Sets the HtmlAttributeMap containg all the html attributes for the th tag. |
void |
setHref(Href baseHref)
Setter for the href to be used for dinamic links in cells. |
void |
setHtmlAttributes(HtmlAttributeMap attributes)
Sets the HtmlAttributeMap containg all the html attributes for the td tags. |
void |
setMaxLength(int numOfChars)
setter for the max number of characters to display in the column. |
void |
setMaxWords(int numOfWords)
setter for the max number of words to display in the column. |
void |
setParamName(java.lang.String name)
Setter for the name of the param to add to links. |
void |
setParamProperty(java.lang.String property)
Setter for the name of the property to look up in bean to get the param value for links. |
void |
setShowNulls(boolean outputNulls)
Enable or disable displaying of null values. |
void |
setSortable(boolean isSortable)
is the column sortable? |
void |
setSortProperty(java.lang.String propertyName)
Setter for the name of the property in the bean which will be used for sorting. |
void |
setTitle(java.lang.String value)
Setter for the column title. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HeaderCell()
| Method Detail |
public int getGroup()
public void setGroup(int groupingOrder)
groupingOrder - int grouping order (>0)public boolean getAutoLink()
public void setAutoLink(boolean autoLinkEnabled)
autoLinkEnabled - boolean autolink enabledpublic int getMaxLength()
public void setMaxLength(int numOfChars)
numOfChars - number of characters to display in the columnpublic int getMaxWords()
public void setMaxWords(int numOfWords)
numOfWords - number of words to display in the columnpublic boolean getShowNulls()
public void setShowNulls(boolean outputNulls)
outputNulls - boolean true if null should be displayedpublic java.lang.String getBeanPropertyName()
public void setBeanPropertyName(java.lang.String propertyName)
propertyName - - name of the property to look up in the beanpublic boolean isAlreadySorted()
public void setAlreadySorted()
public int getColumnNumber()
public void setColumnNumber(int number)
number - - int column numberpublic ColumnDecorator getColumnDecorator()
public void setColumnDecorator(ColumnDecorator decorator)
decorator - - the ColumnDecoratorpublic boolean getSortable()
public void setSortable(boolean isSortable)
isSortable - - true if the column can be sortedpublic java.lang.String getTitle()
public void setTitle(java.lang.String value)
value - - the column titlepublic HtmlAttributeMap getHtmlAttributes()
public void setHtmlAttributes(HtmlAttributeMap attributes)
attributes - HtmlAttributeMappublic HtmlAttributeMap getHeaderAttributes()
public void setHeaderAttributes(HtmlAttributeMap attributes)
attributes - HtmlAttributeMappublic void addHeaderClass(java.lang.String cssClass)
cssClass - Stringpublic java.lang.String getOpenTag()
public java.lang.String getHeaderOpenTag()
public java.lang.String getCloseTag()
public java.lang.String getHeaderCloseTag()
public void setHref(Href baseHref)
baseHref - base href for linkspublic Href getHref()
public void setParamName(java.lang.String name)
name - name of the parampublic java.lang.String getParamName()
public void setParamProperty(java.lang.String property)
property - name of the property to look up in bean to get the param value for linkspublic java.lang.String getParamProperty()
public java.lang.String getSortProperty()
public void setSortProperty(java.lang.String propertyName)
propertyName - - name of the property in the bean which will be used for sortingpublic java.lang.String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||