com.cc.framework.taglib.forms
Interface FormElementTag

All Known Subinterfaces:
FormElementContainerTag, FormElementControlTag, LabeledFormElementTag
All Known Implementing Classes:
FormElementCalendarTag, FormElementCheckboxGroupTag, FormElementCheckboxTag, FormElementColorPickerTag, FormElementComboBoxTag, FormElementFileTag, FormElementGroupTag, FormElementHtmlTag, FormElementMessageTag, FormElementMultiLevelSelectTag, FormElementPasswordTag, FormElementPlaintextTag, FormElementRadioGroupTag, FormElementRadioTag, FormElementRecurrencePatternTag, FormElementSelectTag, FormElementSpinTag, FormElementSwapSelectTag, FormElementTextareaTag, FormElementTextListTag, FormElementTextPopupTag, FormElementTextTag, FormElementTreeSwapSelectTag, FormTag

public interface FormElementTag

An interface to identify form element tags.

Since:
1.0
Version:
$Revision: 1.15 $
Author:
Harald Schulz

Method Summary
 void setAlign(java.lang.String alignment)
          Specifies the horizontal alignment of the form element within the form left right center
 void setColspan(java.lang.String colspan)
          Sets the column span of this form element
 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 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 %)
 

Method Detail

setPermission

public void setPermission(java.lang.String permission)
                   throws javax.servlet.jsp.JspException
Sets the permission for the element

Parameters:
permission - Permission
Throws:
javax.servlet.jsp.JspException - If the Argument can't be converted to Permission

setColspan

public void setColspan(java.lang.String colspan)
                throws javax.servlet.jsp.JspException
Sets the column span of this form element

Parameters:
colspan - column span
Throws:
javax.servlet.jsp.JspException - Is thrown when a number conversion error occurs

setJoin

public void setJoin(java.lang.String join)
             throws javax.servlet.jsp.JspException
This method specifies that two adjacent form elements should be joined together without a separator

Parameters:
join - true when the form elements should be joined
Throws:
javax.servlet.jsp.JspException - if the Argument can not be converted to a boolean Value

setWidth

public void setWidth(java.lang.String width)
              throws javax.servlet.jsp.JspException
Sets the width of the form element (pixel or %)

Parameters:
width - The Width
Throws:
javax.servlet.jsp.JspException - Is thrown when a number conversion error occurs

setHeight

public void setHeight(java.lang.String height)
               throws javax.servlet.jsp.JspException
Sets the height of the form element (pixel or %)

Parameters:
height - The Height
Throws:
javax.servlet.jsp.JspException - Is thrown when a number conversion error occurs

setAlign

public void setAlign(java.lang.String alignment)
              throws javax.servlet.jsp.JspException
Specifies the horizontal alignment of the form element within the form

Parameters:
alignment - The alignment of the element
Throws:
javax.servlet.jsp.JspException - If the argument can't be converted to an AlignmentType

setValign

public void setValign(java.lang.String alignment)
               throws javax.servlet.jsp.JspException
Specifies the vertical alignment of the form element within the form

Parameters:
alignment - The alignment of the element
Throws:
javax.servlet.jsp.JspException - If the argument can't be converted to an AlignmentType

setStyle

public void setStyle(java.lang.String style)
An HTML-style. See HTML documentation for the attribute style.

Parameters:
style - An HTML-style

setStyleId

public void setStyleId(java.lang.String styleId)
The HTML-id attribute. See HTML documentation for the Attribute id.

Parameters:
styleId - The HTML-id attribute

setStyleClass

public void setStyleClass(java.lang.String styleClass)
The HTML-class attribute. See HTML documentation for the attribute class.

Parameters:
styleClass - The HTML-class attribute

setHelp

public void setHelp(java.lang.String helpId)
Associates this control with a help id

Parameters:
helpId - The Help Help id of the element. The semantic of this id is completely in the responsibility of the applications help system


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