|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.mlw.vlh.web.tag.support.AbstractHTMLDisplayProvider net.mlw.vlh.web.tag.support.HtmlDisplayProvider
Constructor Summary | |
HtmlDisplayProvider()
|
Method Summary | |
String |
getCellPostProcess()
|
String |
getCellPreProcess(Attributes attributes)
|
String |
getHeaderCellPostProcess()
Get the HTML that comes after the column text. |
String |
getHeaderCellPreProcess(ColumnInfo columnInfo,
ValueListInfo info)
Get the HTML that comes before the column text. |
String |
getHeaderLabel(ColumnInfo columnInfo,
TableInfo tableInfo,
ValueListInfo info,
Map includeParameters)
Formats the text to be displayed as the header by wraping it in a link if sorting is enabled. |
String |
getImageHome()
|
String |
getImageHome(javax.servlet.http.HttpServletRequest request)
Return imageHome, if is needed, return it with prefix "appDir" |
boolean |
isPreAppendContextPath()
|
boolean |
isUseNoWrap()
|
boolean |
isUsePadding()
|
protected void |
renderHeaderLabelLink(StringBuffer sb,
ColumnInfo columnInfo,
TableInfo tableInfo,
ValueListInfo info,
Map parameters)
Renders a link as a header of the column if the sorting is enabled. |
void |
setImageHome(String dir)
Set the default path for images used in paging, focusing and so on. |
void |
setPreAppendContextPath(boolean preAppendAppDir)
Pre append to imageHome property application context dir. |
void |
setUseNoWrap(boolean useNoWrap)
|
void |
setUsePadding(boolean usePadding)
|
String |
toString()
|
Methods inherited from class net.mlw.vlh.web.tag.support.AbstractHTMLDisplayProvider |
doesIncludeBodyContent, emphase, getHeaderRowPostProcess, getHeaderRowPreProcess, getMimeType, getNestedHeaderPostProcess, getNestedHeaderPreProcess, getRowPostProcess, getRowPreProcess |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HtmlDisplayProvider()
Method Detail |
public String getImageHome()
setImageHome(String)
public boolean isPreAppendContextPath()
setPreAppendContextPath(boolean)
public boolean isUseNoWrap()
public boolean isUsePadding()
public void setPreAppendContextPath(boolean preAppendAppDir)
imageHome
property application context dir.
Default is set to false due to backward compatibility.
public void setImageHome(String dir)
images
.
dir
- setPreAppendContextPath(boolean)
public String getHeaderCellPreProcess(ColumnInfo columnInfo, ValueListInfo info)
public String getHeaderLabel(ColumnInfo columnInfo, TableInfo tableInfo, ValueListInfo info, Map includeParameters)
columnInfo
- The ColumnInfo.tableInfo
- The TableInfo.info
- The ValueListInfo.
protected void renderHeaderLabelLink(StringBuffer sb, ColumnInfo columnInfo, TableInfo tableInfo, ValueListInfo info, Map parameters)
sb
- StringBuffer to render intocolumnInfo
- The ColumnInfo.tableInfo
- The TableInfo.info
- The ValueListInfo.parameters
- Map of parameterspublic String getImageHome(javax.servlet.http.HttpServletRequest request)
public String getHeaderCellPostProcess()
public String getCellPreProcess(Attributes attributes)
public String getCellPostProcess()
public String toString()
Object.toString()
public void setUsePadding(boolean usePadding)
usePadding
- The usePadding to set.public void setUseNoWrap(boolean useNoWrap)
useNoWrap
- The useNoWrap to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |