com.cc.framework.taglib.forms
Class FormColumnTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.cc.framework.taglib.forms.FormColumnTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class FormColumnTag
extends javax.servlet.jsp.tagext.TagSupport

Defines the visual aspects of a form element group column

Version:
$Revision: 1.3 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  FormColumn column
          The Column Object
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
FormColumnTag()
          Constructor
 
Method Summary
protected  FormColumn doCreateColumn()
          Will be called by the base class to create the column object
 int doEndTag()
           
 int doStartTag()
           
protected  FormColumn getColumn()
           
 void release()
           
 void setCellWidth(java.lang.String width)
          Sets the width of the control cells for this container.
 void setLabelWidth(java.lang.String width)
          Sets the width of the labels for this container.
 void setPageContext(javax.servlet.jsp.PageContext pc)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

column

private FormColumn column
The Column Object

Constructor Detail

FormColumnTag

public FormColumnTag()
Constructor

Method Detail

release

public void release()
See Also:
Tag.release()

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pc)
See Also:
Tag.setPageContext(PageContext pc)

doCreateColumn

protected FormColumn doCreateColumn()
                             throws javax.servlet.jsp.JspException
Will be called by the base class to create the column object

Returns:
new column object
Throws:
javax.servlet.jsp.JspException

getColumn

protected final FormColumn getColumn()
                              throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
TagSupport.doStartTag()

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
TagSupport.doEndTag()

setLabelWidth

public void setLabelWidth(java.lang.String width)
                   throws javax.servlet.jsp.JspException
Sets the width of the labels for this container.

Parameters:
width - label width
Throws:
javax.servlet.jsp.JspException

setCellWidth

public void setCellWidth(java.lang.String width)
                  throws javax.servlet.jsp.JspException
Sets the width of the control cells for this container.

Parameters:
width - control cell width
Throws:
javax.servlet.jsp.JspException


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.