|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.ext.tag.BodyTagImpl
railo.runtime.ext.tag.BodyTagTryCatchFinallyImpl
railo.runtime.tag.Table
public final class Table
Builds a table in a CFML page. Use the cfcol tag to define table column and row characteristics. The cftable tag renders data either as preformatted text, or, with the HTMLTable attribute, as an HTML table. Use cftable to create tables if you don't want to write HTML table tag code, or if your data can be well presented as preformatted text.
Field Summary | |
---|---|
static short |
ALIGN_CENTER
Field ALIGN_CENTER |
static short |
ALIGN_LEFT
Field ALIGN_LEFT |
static short |
ALIGN_RIGHT
Field ALIGN_RIGHT |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Table()
|
Method Summary | |
---|---|
int |
doAfterBody()
|
int |
doEndTag()
|
void |
doFinally()
|
void |
doInitBody()
|
int |
doStartTag()
|
void |
release()
|
void |
setBorder(boolean border)
set the value border Adds a border to the table. |
void |
setCol(String strHeader,
String text,
short align,
int width)
|
void |
setColheaders(boolean colheaders)
set the value colheaders Displays headers for each column, as specified in the cfcol tag. |
void |
setColspacing(double colspacing)
set the value colspacing Number of spaces to insert between columns 'default is 2'. |
void |
setHeaderlines(double headerlines)
set the value headerlines Number of lines to use for the table header. |
void |
setHtmltable(boolean htmltable)
set the value htmltable Renders the table as an HTML 3.0 table. |
void |
setMaxrows(double maxrows)
set the value maxrows Maximum number of rows to display in the table. |
void |
setQuery(String query)
set the value query Name of the cfquery from which to draw data. |
void |
setStartrow(double startrow)
set the value startrow Specifies the query row from which to start processing. |
Methods inherited from class railo.runtime.ext.tag.BodyTagTryCatchFinallyImpl |
---|
doCatch |
Methods inherited from class railo.runtime.ext.tag.BodyTagImpl |
---|
setBodyContent |
Methods inherited from class railo.runtime.ext.tag.TagImpl |
---|
getParent, required, required, required, required, setPageContext, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Field Detail |
---|
public static final short ALIGN_LEFT
ALIGN_LEFT
public static final short ALIGN_CENTER
ALIGN_CENTER
public static final short ALIGN_RIGHT
ALIGN_RIGHT
Constructor Detail |
---|
public Table()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagImpl
Tag.release()
public void setQuery(String query) throws PageException
query
- value to set
PageException
public void setMaxrows(double maxrows)
maxrows
- value to setpublic void setStartrow(double startrow)
startrow
- value to setpublic void setBorder(boolean border)
border
- value to setpublic void setColheaders(boolean colheaders)
colheaders
- value to setpublic void setColspacing(double colspacing)
colspacing
- value to setpublic void setHtmltable(boolean htmltable)
htmltable
- value to setpublic void setHeaderlines(double headerlines)
headerlines
- value to setpublic int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
Tag.doStartTag()
public void doInitBody()
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doInitBody
in class BodyTagImpl
BodyTag.doInitBody()
public int doAfterBody() throws PageException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class BodyTagImpl
PageException
IterationTag.doAfterBody()
public int doEndTag() throws PageException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
PageException
Tag.doEndTag()
public void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
doFinally
in class BodyTagTryCatchFinallyImpl
TryCatchFinally.doFinally()
public void setCol(String strHeader, String text, short align, int width) throws ExpressionException
strHeader
- text
- align
- width
-
ExpressionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |