public final class Table extends BodyTagTryCatchFinallyImpl
Modifier and Type | Field and Description |
---|---|
static short |
ALIGN_CENTER
Field
ALIGN_CENTER |
static short |
ALIGN_LEFT
Field
ALIGN_LEFT |
static short |
ALIGN_RIGHT
Field
ALIGN_RIGHT |
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
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.
|
doCatch
setBodyContent
getParent, required, required, required, required, setPageContext, setPageContext, setParent
public static final short ALIGN_LEFT
ALIGN_LEFT
public static final short ALIGN_CENTER
ALIGN_CENTER
public static final short ALIGN_RIGHT
ALIGN_RIGHT
public Table()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagImpl
public void setQuery(String query) throws PageException
query
- value to setPageException
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
public void doInitBody()
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doInitBody
in class BodyTagImpl
public int doAfterBody() throws PageException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class BodyTagImpl
PageException
public int doEndTag() throws PageException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
PageException
public void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
doFinally
in class BodyTagTryCatchFinallyImpl
public void setCol(String strHeader, String text, short align, int width) throws ExpressionException
strHeader
- text
- align
- width
- ExpressionException
Copyright © 2015 Lucee