|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.cc.framework.taglib.ScriptTagSupport com.cc.framework.taglib.controls.BaseControlTag com.cc.framework.taglib.controls.TreeSwapSelectTag
Handler for the <treeTreeSwapSelect> Tag
Field Summary | |
private javax.servlet.jsp.tagext.BodyContent |
bodyContent
The Body Content of the Tag |
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.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 | |
TreeSwapSelectTag()
Constructor |
Method Summary | |
int |
doAfterBody()
|
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
void |
doInitBody()
|
protected TreeSwapSelectControl |
getCtrl()
Retrieves the current Control instance |
OptionsComparator |
getOptionsComparator()
Returns an option comparator for this control |
protected TreeSwapSelectDesignModel |
getTreeSwapSelectDesignModel()
Returns a casted version of the ControlDesignModel |
void |
release()
|
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent b)
|
void |
setFilter(java.lang.String filter)
The automatic HTML coding of the element can be activated or disabled with the filter-attribute. |
void |
setHideButtons(java.lang.String controlButtonList)
Hides all buttons in the ControlButton List. |
void |
setLabelLeft(java.lang.String label)
Sets the label for the left selection window |
void |
setLabelRight(java.lang.String label)
Sets the label for the right selection window |
void |
setMoveButton(java.lang.String moveButton)
Tells the control to show or hide the move buttons |
void |
setMultiple(java.lang.String multiple)
Tells the control behave as a multiple swap select control with multiple shift targets. the number of targets is specified by the number of array elements of the data model. |
void |
setOptionList(OptionListDesignModel optionList,
java.lang.Object optionElements)
Sets the OptionList which is used by the Select-Control |
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 |
setRetainOrder(java.lang.String retainOrder)
Tells the control to retain the sort order in the "from" option list |
void |
setSize(java.lang.String size)
Specifies the number of visible characters. |
void |
setSortOrder(java.lang.String sortOrder)
Sets the sort order of the control |
void |
setValue(java.lang.String value)
Sets the direct value for this control. |
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, setWidth |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
doEndTag, doStartTag, getParent, setPageContext, setParent |
Field Detail |
private static final long serialVersionUID
private javax.servlet.jsp.tagext.BodyContent bodyContent
Constructor Detail |
public TreeSwapSelectTag()
Method Detail |
protected TreeSwapSelectControl getCtrl()
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class BaseControlTag
BaseControlTag.doCreateDesignModel()
protected TreeSwapSelectDesignModel getTreeSwapSelectDesignModel()
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent b)
setBodyContent
in interface javax.servlet.jsp.tagext.BodyTag
BodyTag.setBodyContent(javax.servlet.jsp.tagext.BodyContent)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BaseControlTag
Tag.release()
protected Control doCreateControl() throws javax.servlet.jsp.JspException
BaseControlTag
doCreateControl
in class BaseControlTag
javax.servlet.jsp.JspException
- If an error during bean lookup occursBaseControlTag.doCreateControl()
public void doInitBody() throws javax.servlet.jsp.JspException
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
javax.servlet.jsp.JspException
BodyTag.doInitBody()
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
javax.servlet.jsp.JspException
IterationTag.doAfterBody()
public OptionsComparator getOptionsComparator()
getOptionsComparator
in interface OptionsContainerTag
public void setSize(java.lang.String size) throws javax.servlet.jsp.JspException
size
- The size
javax.servlet.jsp.JspException
- If the Argument can't be converted to integerpublic void setLabelLeft(java.lang.String label)
label
- the labelpublic void setLabelRight(java.lang.String label)
label
- the labelpublic void setFilter(java.lang.String filter) throws javax.servlet.jsp.JspException
true
filter
- true
if the element should be HTML encoded.
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanpublic 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 OrientationTypepublic void setOptionList(OptionListDesignModel optionList, java.lang.Object optionElements)
setOptionList
in interface OptionsContainerTag
optionList
- OptionListDesignModeloptionElements
- The selected optionspublic void setValue(java.lang.String value)
property
attribute
setValue
in class BaseControlTag
value
- The controls valuepublic void setMoveButton(java.lang.String moveButton) throws javax.servlet.jsp.JspException
moveButton
- true
if the element should show the move
buttons
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanpublic void setRetainOrder(java.lang.String retainOrder) throws javax.servlet.jsp.JspException
retainOrder
- true
if the element should retain the sort
order
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanpublic void setMultiple(java.lang.String multiple) throws javax.servlet.jsp.JspException
multiple
- true
if the element should act as a multiple swap
select
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanpublic void setSortOrder(java.lang.String sortOrder) throws javax.servlet.jsp.JspException
sortOrder
- the sort order to set
javax.servlet.jsp.JspException
- If the Argument can't be converted to SortOrderpublic void setHideButtons(java.lang.String controlButtonList) throws javax.servlet.jsp.JspException
controlButtonList
- A semicolon delimited list of ControlButton names
javax.servlet.jsp.JspException
- Is thrown when a invalid ControlButton Name is specified
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |