public final class Grid extends BodyTagImpl
Constructor and Description |
---|
Grid()
constructor for the tag class
|
Modifier and Type | Method and Description |
---|---|
void |
addColumn(GridColumnBean column) |
void |
addRow(String[] data) |
int |
doEndTag() |
void |
doInitBody() |
int |
doStartTag() |
void |
release() |
void |
setAlign(String align)
set the value align
Alignment value.
|
void |
setAppendkey(boolean appendkey)
set the value appendkey
When used with href, Yes passes query string value of the selected tree item in the URL to the
application page specified in the cfform action attribute.
|
void |
setAutowidth(boolean autowidth)
set the value autowidth
Optional.
|
void |
setBgcolor(String bgcolor)
set the value bgcolor
Background color value for the grid control.
|
void |
setBold(boolean bold)
set the value bold
Yes displays grid control text in boldface.
|
void |
setColheaderalign(String colheaderalign)
set the value colheaderalign
Enter Left, Right, or Center to position data within a column header.
|
void |
setColheaderbold(boolean colheaderbold)
set the value colheaderbold
Yes or No.
|
void |
setColheaderfont(String colheaderfont)
set the value colheaderfont
Font for the column header in the grid control.
|
void |
setColheaderfontsize(double colheaderfontsize)
set the value colheaderfontsize
Size for column header text in the grid control, in points.
|
void |
setColheaderitalic(boolean colheaderitalic)
set the value colheaderitalic
Yes or No.
|
void |
setColheaders(boolean colheaders)
set the value colheaders
Yes or No.
|
void |
setColheadertextcolor(String colheadertextcolor)
set the value colheadertextcolor
Color value for the grid control column headers.
|
void |
setDelete(boolean delete)
set the value delete
Yes lets end users delete row data from the grid.
|
void |
setDeletebutton(String deletebutton)
set the value deletebutton
Text to use for the delete action button.
|
void |
setEnabled(boolean enabled) |
void |
setFont(String font)
set the value font
Font to use for column data in the grid control.
|
void |
setFontsize(double fontsize)
set the value fontsize
Font size for text in the grid control, in points.
|
void |
setFormat(String format) |
void |
setGriddataalign(String griddataalign)
set the value griddataalign
Enter Left, Right, or Center to position data in the grid within a column.
|
void |
setGridlines(boolean gridlines)
set the value gridlines
Yes or No.
|
void |
setHeight(double height)
set the value height
Height value of the grid control, in pixels.
|
void |
setHighlighthref(boolean highlighthref)
set the value highlighthref
Yes highlights links associated with a cfgrid with an href attribute value.
|
void |
setHref(String href)
set the value href
URL to associate with the grid item or a query column for a grid that is populated from a query.
|
void |
setHrefkey(String hrefkey)
set the value hrefkey
The name of a query column when the grid uses a query.
|
void |
setHspace(double hspace)
set the value hspace
Horizontal margin spacing to the left and right of the grid control, in pixels.
|
void |
setInsert(boolean insert)
set the value insert
Yes lets end users insert row data into the grid.
|
void |
setInsertbutton(String insertbutton)
set the value insertbutton
Text to use for the Insert action button.
|
void |
setItalic(boolean italic)
set the value italic
Yes displays grid control text in italic.
|
void |
setMaxrows(String maxrows)
set the value maxrows
Specifies the maximum number of rows to display in the grid.
|
void |
setName(String name)
set the value name
A name for the grid element.
|
void |
setNotsupported(String notsupported)
set the value notsupported
Selection mode for items in the grid control.
|
void |
setOnblur(String onblur) |
void |
setOnchange(String onchange) |
void |
setOnerror(String onerror)
set the value onerror
The name of a JavaScript function to execute in the event of a failed validation.
|
void |
setOnfocus(String onfocus) |
void |
setOnvalidate(String onvalidate)
set the value onvalidate
The name of a JavaScript function used to validate user input.
|
void |
setPicturebar(boolean picturebar)
set the value picturebar
Yes or No.
|
void |
setQuery(String query)
set the value query
Name of the query associated with the grid control.
|
void |
setRowheaderalign(String rowheaderalign)
set the value rowheaderalign
Enter Left, Right, or Center to position data within a row header.
|
void |
setRowheaderbold(boolean rowheaderbold)
set the value rowheaderbold
Yes or No.
|
void |
setRowheaderfont(String rowheaderfont)
set the value rowheaderfont
Font to use for the row label.
|
void |
setRowheaderfontsize(double rowheaderfontsize)
set the value rowheaderfontsize
Size for row label text in the grid control, in points.
|
void |
setRowheaderitalic(boolean rowheaderitalic)
set the value rowheaderitalic
Yes or No.
|
void |
setRowheaders(boolean rowheaders)
set the value rowheaders
Yes or No.
|
void |
setRowheadertextcolor(String rowheadertextcolor)
set the value rowheadertextcolor
Text color value for the grid control row headers.
|
void |
setRowheaderwidth(double rowheaderwidth)
set the value rowheaderwidth
The width, in pixels, of the row header column.
|
void |
setRowheight(double rowheight)
set the value rowheight
Number of pixels for the minimum row height of the grid control.
|
void |
setSelectcolor(String selectcolor)
set the value selectcolor
Background color for a selected item.
|
void |
setSelectmode(String selectmode)
set the value selectmode
Selection mode for items in the grid control.
|
void |
setSort(boolean sort)
set the value sort
If Yes, sort buttons are added to the grid control.
|
void |
setSortascendingbutton(String sortascendingbutton)
set the value sortascendingbutton
Text to use for the Sort button.
|
void |
setSortdescendingbutton(String sortdescendingbutton)
set the value sortdescendingbutton
Text to use for the Sort button.
|
void |
setStyle(String style) |
void |
setTarget(String target)
set the value target
Target attribute for href URL.
|
void |
setTextcolor(String textcolor)
set the value textcolor
Color value for text in the grid control.
|
void |
setTooltip(String tooltip) |
void |
setVisible(boolean visible) |
void |
setVspace(double vspace)
set the value vspace
Vertical margin spacing above and below the grid control, in pixels.
|
void |
setWidth(double width)
set the value width
Width value of the grid control, in pixels.
|
doAfterBody, setBodyContent
getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Grid() throws TagNotSupported
TagNotSupported
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagImpl
public void setWidth(double width)
width
- value to setpublic void setHrefkey(String hrefkey)
hrefkey
- value to setpublic void setSort(boolean sort)
sort
- value to setpublic void setColheaders(boolean colheaders)
colheaders
- value to setpublic void setRowheadertextcolor(String rowheadertextcolor)
rowheadertextcolor
- value to setpublic void setFont(String font)
font
- value to setpublic void setColheaderitalic(boolean colheaderitalic)
colheaderitalic
- value to setpublic void setAutowidth(boolean autowidth)
autowidth
- value to setpublic void setSelectcolor(String selectcolor)
selectcolor
- value to setpublic void setHighlighthref(boolean highlighthref)
highlighthref
- value to setpublic void setItalic(boolean italic)
italic
- value to setpublic void setGridlines(boolean gridlines)
gridlines
- value to setpublic void setPicturebar(boolean picturebar)
picturebar
- value to setpublic void setDeletebutton(String deletebutton)
deletebutton
- value to setpublic void setTextcolor(String textcolor)
textcolor
- value to setpublic void setInsertbutton(String insertbutton)
insertbutton
- value to setpublic void setRowheight(double rowheight)
rowheight
- value to setpublic void setNotsupported(String notsupported)
notsupported
- value to setpublic void setFontsize(double fontsize)
fontsize
- value to setpublic void setRowheaderwidth(double rowheaderwidth)
rowheaderwidth
- value to setpublic void setOnerror(String onerror)
onerror
- value to setpublic void setTarget(String target)
target
- value to setpublic void setColheaderfont(String colheaderfont)
colheaderfont
- value to setpublic void setGriddataalign(String griddataalign)
griddataalign
- value to setpublic void setColheaderalign(String colheaderalign)
colheaderalign
- value to setpublic void setHeight(double height)
height
- value to setpublic void setQuery(String query)
query
- value to setpublic void setMaxrows(String maxrows)
maxrows
- value to setpublic void setAlign(String align)
align
- value to setpublic void setVspace(double vspace)
vspace
- value to setpublic void setInsert(boolean insert)
insert
- value to setpublic void setBgcolor(String bgcolor)
bgcolor
- value to setpublic void setAppendkey(boolean appendkey)
appendkey
- value to setpublic void setName(String name)
name
- value to setpublic void setSortascendingbutton(String sortascendingbutton)
sortascendingbutton
- value to setpublic void setRowheaderitalic(boolean rowheaderitalic)
rowheaderitalic
- value to setpublic void setOnvalidate(String onvalidate)
onvalidate
- value to setpublic void setHref(String href)
href
- value to setpublic void setColheaderbold(boolean colheaderbold)
colheaderbold
- value to setpublic void setDelete(boolean delete)
delete
- value to setpublic void setRowheaderfontsize(double rowheaderfontsize)
rowheaderfontsize
- value to setpublic void setSelectmode(String selectmode)
selectmode
- value to setpublic void setRowheaderbold(boolean rowheaderbold)
rowheaderbold
- value to setpublic void setColheaderfontsize(double colheaderfontsize)
colheaderfontsize
- value to setpublic void setRowheaderalign(String rowheaderalign)
rowheaderalign
- value to setpublic void setRowheaderfont(String rowheaderfont)
rowheaderfont
- value to setpublic void setRowheaders(boolean rowheaders)
rowheaders
- value to setpublic void setBold(boolean bold)
bold
- value to setpublic void setColheadertextcolor(String colheadertextcolor)
colheadertextcolor
- value to setpublic void setHspace(double hspace)
hspace
- value to setpublic void setSortdescendingbutton(String sortdescendingbutton)
sortdescendingbutton
- value to setpublic void setEnabled(boolean enabled)
enabled
- the enabled to setpublic void setOnchange(String onchange)
onchange
- the onchange to setpublic void setOnfocus(String onfocus)
onfocus
- the onfocus to setpublic void setTooltip(String tooltip)
tooltip
- the tooltip to setpublic void setVisible(boolean visible)
visible
- the visible to setpublic int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
public int doEndTag()
public void doInitBody()
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doInitBody
in class BodyTagImpl
public void addColumn(GridColumnBean column)
Copyright © 2015 Lucee