|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.cc.framework.taglib.ScriptTagSupport
com.cc.framework.taglib.controls.BaseControlTag
com.cc.framework.taglib.controls.TextTag
com.cc.framework.taglib.controls.ColorPickerTag
Tag-Handler for the color picker form element.
The color picker makes it easy to fill out color value field(s) by selecting
the color from a popup palette.
The color can be selected from three available palettes.
To specify the palette to use, choose one of the following values:
| 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 | |
ColorPickerTag()
Constructor for ColorPickerTag |
|
| Method Summary | |
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
protected ColorPickerDesignModel |
getColorPickerDesignModel()
Returns a casted version of the ControlDesignModel |
void |
setButtonAlt(java.lang.String alt)
Sets the alt attribute for the color picker image |
void |
setButtonTooltip(java.lang.String tooltip)
Sets the tooltip for the color picker image |
void |
setPalette(java.lang.String palette)
Specify the palette to us. |
| Methods inherited from class com.cc.framework.taglib.controls.TextTag |
addButton, assignConverter, getCtrl, getTextDesignModel, release, setConverter, setFilter, setInputType, setMaxlength, setSize |
| 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 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 |
private static final long serialVersionUID
| Constructor Detail |
public ColorPickerTag()
| Method Detail |
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel in class TextTagBaseControlTag.doCreateDesignModel()protected ColorPickerDesignModel getColorPickerDesignModel()
protected Control doCreateControl()
throws javax.servlet.jsp.JspException
BaseControlTag
doCreateControl in class TextTagjavax.servlet.jsp.JspExceptionBaseControlTag.doCreateControl()
public void setPalette(java.lang.String palette)
throws javax.servlet.jsp.JspException
palette - The preferred palette.
javax.servlet.jsp.JspException - If the Argument can't be converted to integerpublic void setButtonTooltip(java.lang.String tooltip)
tooltip - The tooltippublic void setButtonAlt(java.lang.String alt)
alt - The alt attribute if no image is displayed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||