|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.cc.framework.taglib.forms.FormElementGroupTag
Tag-Handler for the group Tag.
| Field Summary | |
private FormGroupElement |
group
Designmodel |
private static long |
serialVersionUID
Serial Version UID |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| 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 | |
FormElementGroupTag()
Constructor |
|
| Method Summary | |
void |
addColumn(FormColumn column)
Adds a column definition to the container |
void |
addFormElement(FormElement element)
Adds a control to the container |
int |
doAfterBody()
|
protected FormGroupElement |
doCreateGroup()
Creates the Group element |
int |
doEndTag()
|
int |
doStartTag()
|
protected FormGroupElement |
getGroup()
Returns the Group Element |
void |
release()
|
protected void |
releaseGroup()
Release the current group |
void |
setAlign(java.lang.String alignment)
Specifies the horizontal alignment of the form element within the form left right center |
void |
setCellWidth(java.lang.String width)
Sets the width of the control cells for this container. |
void |
setColspan(java.lang.String colspan)
Sets the column span of this form element |
void |
setExpandProperty(java.lang.String propertyName)
Sets the name of a property that is used to expand or collapse the group |
void |
setHeight(java.lang.String height)
Sets the height of the form element (pixel or %) |
void |
setHelp(java.lang.String helpId)
Associates this control with a help id |
void |
setJoin(java.lang.String join)
This method specifies that two adjacent form elements should be joined together without a separator |
void |
setLabelWidth(java.lang.String width)
Sets the width of the labels for this container. |
void |
setNoframe(java.lang.String noframe)
Disables the groups border |
void |
setOrientation(java.lang.String orientation)
Specifies the orientation of the elements in the group: horizontal = from top to bottom vertical = from left to right |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setPermission(java.lang.String permission)
Sets the permission for the element |
void |
setStyle(java.lang.String style)
An HTML-style. |
void |
setStyleClass(java.lang.String styleClass)
The HTML-class attribute. |
void |
setStyleId(java.lang.String styleId)
The HTML-id attribute. |
void |
setValign(java.lang.String alignment)
Specifies the vertical alignment of the form element within the form top bottom center |
void |
setWidth(java.lang.String width)
Sets the width of the form element (pixel or %) |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setParent |
| Field Detail |
private static final long serialVersionUID
private FormGroupElement group
| Constructor Detail |
public FormElementGroupTag()
| Method Detail |
protected FormGroupElement getGroup()
protected FormGroupElement doCreateGroup()
protected void releaseGroup()
public void setPageContext(javax.servlet.jsp.PageContext pc)
setPageContext in interface javax.servlet.jsp.tagext.TagTag.setPageContext(PageContext pc)public void release()
release in interface javax.servlet.jsp.tagext.TagTag.release()
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspExceptionTag.doStartTag()
public int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagjavax.servlet.jsp.JspExceptionIterationTag.doAfterBody()
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspExceptionTag.doEndTag()public void addColumn(FormColumn column)
FormElementContainerTag
addColumn in interface FormElementContainerTagcolumn - column definitionFormElementContainerTag.addColumn(com.cc.framework.ui.model.FormColumn)public void addFormElement(FormElement element)
FormElementContainerTag
addFormElement in interface FormElementContainerTagelement - FormElementFormElementContainerTag.addFormElement(FormElement)
public void setPermission(java.lang.String permission)
throws javax.servlet.jsp.JspException
FormElementTag
setPermission in interface FormElementTagpermission - Permission
javax.servlet.jsp.JspException - If the Argument can't be converted to PermissionFormElementTag.setPermission(java.lang.String)
public void setOrientation(java.lang.String orientation)
throws javax.servlet.jsp.JspException
orientation - The orientation of the column
javax.servlet.jsp.JspException - If the argument can't be converted to an OrientationType
public void setColspan(java.lang.String colspan)
throws javax.servlet.jsp.JspException
FormElementTag
setColspan in interface FormElementTagcolspan - column span
javax.servlet.jsp.JspException - Is thrown when a number conversion error occursFormElementTag.setColspan(java.lang.String)
public void setJoin(java.lang.String join)
throws javax.servlet.jsp.JspException
FormElementTag
setJoin in interface FormElementTagjoin - true when the form elements should be joined
javax.servlet.jsp.JspException - if the Argument can not be converted to a boolean ValueFormElementTag.setJoin(java.lang.String)
public void setAlign(java.lang.String alignment)
throws javax.servlet.jsp.JspException
FormElementTag
setAlign in interface FormElementTagalignment - The alignment of the element
javax.servlet.jsp.JspException - If the argument can't be converted to an AlignmentTypeFormElementTag.setAlign(java.lang.String)
public void setValign(java.lang.String alignment)
throws javax.servlet.jsp.JspException
FormElementTag
setValign in interface FormElementTagalignment - The alignment of the element
javax.servlet.jsp.JspException - If the argument can't be converted to an AlignmentTypeFormElementTag.setValign(java.lang.String)public void setHeight(java.lang.String height)
FormElementTag
setHeight in interface FormElementTagheight - The HeightFormElementTag.setHeight(java.lang.String)public void setWidth(java.lang.String width)
FormElementTag
setWidth in interface FormElementTagwidth - The WidthFormElementTag.setWidth(java.lang.String)public void setStyle(java.lang.String style)
FormElementTag
setStyle in interface FormElementTagstyle - An HTML-styleFormElementTag.setStyle(java.lang.String)public void setStyleClass(java.lang.String styleClass)
FormElementTag
setStyleClass in interface FormElementTagstyleClass - The HTML-class attributeFormElementTag.setStyleClass(java.lang.String)public void setStyleId(java.lang.String styleId)
FormElementTag
setStyleId in interface FormElementTagstyleId - The HTML-id attributeFormElementTag.setStyleId(java.lang.String)public void setHelp(java.lang.String helpId)
FormElementTag
setHelp in interface FormElementTaghelpId - The Help Help id of the element. The semantic of this id is
completely in the responsibility of the applications help
systemFormElementTag.setHelp(java.lang.String)
public void setNoframe(java.lang.String noframe)
throws javax.servlet.jsp.JspException
FormElementContainerTag
setNoframe in interface FormElementContainerTagnoframe - true if the groups frame should be hidden
javax.servlet.jsp.JspException - If the Argument can't be converted to booleanFormElementContainerTag.setNoframe(java.lang.String)public void setExpandProperty(java.lang.String propertyName)
FormElementContainerTag
setExpandProperty in interface FormElementContainerTagpropertyName - java property nameFormElementContainerTag.setExpandProperty(java.lang.String)public void setLabelWidth(java.lang.String width)
FormElementContainerTag
setLabelWidth in interface FormElementContainerTagwidth - label widthFormElementContainerTag.setLabelWidth(java.lang.String)public void setCellWidth(java.lang.String width)
FormElementContainerTag
setCellWidth in interface FormElementContainerTagwidth - control cell widthFormElementContainerTag.setCellWidth(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||