railo.runtime.tag
Class Col

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.Col
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class Col
extends TagImpl

Defines table column header, width, alignment, and text. Used only inside a cftable.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Col()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setAlign(String align)
          set the value align Column alignment, Left, Right, or Center.
 void setHeader(String header)
          set the value header The text for the column's header.
 void setText(String text)
          set the value text Double-quote delimited text that determines what displays in the column.
 void setWidth(double width)
          set the value width The width of the column in characters (the default is 20).
 
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
 

Constructor Detail

Col

public Col()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagImpl
See Also:
Tag.release()

setText

public void setText(String text)
set the value text Double-quote delimited text that determines what displays in the column. The rules for the text attribute are identical to the rules for cfoutput sections; it can consist of a combination of literal text, HTML tags, and query record set field references. You can embed hyperlinks, image references, and input controls in columns.

Parameters:
text - value to set

setWidth

public void setWidth(double width)
set the value width The width of the column in characters (the default is 20). If the length of the data displayed exceeds the width value, the data is truncated to fit.

Parameters:
width - value to set

setAlign

public void setAlign(String align)
              throws ApplicationException
set the value align Column alignment, Left, Right, or Center.

Parameters:
align - value to set
Throws:
ApplicationException

setHeader

public void setHeader(String header)
set the value header The text for the column's header.

Parameters:
header - value to set

doStartTag

public int doStartTag()
               throws ExpressionException,
                      ApplicationException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
Throws:
ExpressionException
ApplicationException
See Also:
Tag.doStartTag()

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl
See Also:
Tag.doEndTag()


Copyright © 2012 Railo