com.cc.framework.taglib.controls
Class TextPopupTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.cc.framework.taglib.ScriptTagSupport
          extended bycom.cc.framework.taglib.controls.BaseControlTag
              extended bycom.cc.framework.taglib.controls.TextareaTag
                  extended bycom.cc.framework.taglib.controls.TextPopupTag
All Implemented Interfaces:
AjaxSupportTag, ConversionSupportTag, DesignRuleContainerTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, ScriptSupport, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
FormElementTextPopupTag

public class TextPopupTag
extends TextareaTag

Tag-Handler for the Textarea Popup element

Since:
1.0
Version:
$Revision: 1.11 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.taglib.controls.BaseControlTag
log
 
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
TextPopupTag()
          Constructor
 
Method Summary
protected  Control doCreateControl()
          Creates the control element
protected  ControlDesignModel doCreateDesignModel()
          This method is called to create the DesignModel for the control
protected  TextPopupDesignModel getTextPopupDesignModel()
          Returns a casted version of the ControlDesignModel
 void setPopupHeight(java.lang.String height)
          Specifies the height of the popup window
 void setPopupRows(java.lang.String rows)
          Specifies the number of rows for the textarea popup window
 void setPopupWidth(java.lang.String width)
          Specifies the width of the popup window
 
Methods inherited from class com.cc.framework.taglib.controls.TextareaTag
assignConverter, getTextareaDesignModel, release, setCols, setConverter, setMaxlength, setReadonly, setRows, setWrap
 
Methods inherited from class com.cc.framework.taglib.controls.BaseControlTag
addDesignRule, beginPaint, createControl, createPainter, doEndTag, doStartTag, endPaint, getClientHandler, getControl, getDefaultAction, getDesignModel, getDirectValue, getHttpScope, getPainterContext, lookupBean, releaseDesignModel, setAction, setAjax, setAjax, setBorder, setDirectValue, setDisabled, setFormElement, setHeight, setHelp, setId, setLocale, setName, setPageContext, setPermission, setProperty, setRunat, setScope, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabindex, setTooltip, setTransaction, setValue, setWidth
 
Methods inherited from class com.cc.framework.taglib.ScriptTagSupport
setOnabort, setOnactivate, setOnafterprint, setOnafterupdate, setOnbeforeactivate, setOnbeforecopy, setOnbeforecut, setOnbeforedeactivate, setOnbeforeeditfocus, setOnbeforepaste, setOnbeforeprint, setOnbeforeunload, setOnbeforeupdate, setOnblur, setOnbounce, setOncellchange, setOnchange, setOncheck, setOncheckall, setOnclick, setOncollapse, setOncontextmenu, setOncontrolselect, setOncopy, setOncut, setOndataavailable, setOndatasetchanged, setOndatasetcomplete, setOndblclick, setOndeactivate, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnerrorupdate, setOnexpand, setOnexpandex, setOnfilterchange, setOnfinish, setOnfocus, setOnfocusin, setOnfocusout, setOnhelp, setOnkeydown, setOnkeypress, setOnkeyup, setOnlayoutcomplete, setOnload, setOnlosecapture, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnmove, setOnmoveend, setOnmovestart, setOnpaste, setOnpropertychange, setOnreadystatechange, setOnreset, setOnresize, setOnresizeend, setOnresizestart, setOnrowenter, setOnrowexit, setOnrowsdelete, setOnrowsinserted, setOnscroll, setOnselect, setOnselectionchange, setOnselectstart, setOnspindown, setOnspinup, setOnstart, setOnstop, setOnsubmit, setOnuncheck, setOnuncheckall, setOnunload
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, 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
Constructor Detail

TextPopupTag

public TextPopupTag()
Constructor

Method Detail

doCreateDesignModel

protected ControlDesignModel doCreateDesignModel()
Description copied from class: BaseControlTag
This method is called to create the DesignModel for the control

Overrides:
doCreateDesignModel in class TextareaTag
See Also:
BaseControlTag.doCreateDesignModel()

getTextPopupDesignModel

protected TextPopupDesignModel getTextPopupDesignModel()
Returns a casted version of the ControlDesignModel

Returns:
TextPopupDesignModel

doCreateControl

protected Control doCreateControl()
                           throws javax.servlet.jsp.JspException
Description copied from class: BaseControlTag
Creates the control element

Overrides:
doCreateControl in class TextareaTag
Throws:
javax.servlet.jsp.JspException
See Also:
BaseControlTag.doCreateControl()

setPopupHeight

public void setPopupHeight(java.lang.String height)
Specifies the height of the popup window

Parameters:
height - window height

setPopupWidth

public void setPopupWidth(java.lang.String width)
Specifies the width of the popup window

Parameters:
width - window width

setPopupRows

public void setPopupRows(java.lang.String rows)
                  throws javax.servlet.jsp.JspException
Specifies the number of rows for the textarea popup window

Parameters:
rows - The number of lines
Throws:
javax.servlet.jsp.JspException - if the Argument can not be converted into a integer


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