|
|||||||||||
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.controls.PanelContentTag
Tag-Handler for the panel-content
Tag.
Field Summary | |
private PanelContentDesignModel |
designModel
DesignModel |
private static long |
serialVersionUID
Serial Version UID |
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 | |
PanelContentTag()
Constructor |
Method Summary | |
void |
addItem(PanelItemDesignModel item)
Adds a panel item |
int |
doEndTag()
|
int |
doStartTag()
|
protected void |
exposeScriptingVariable(PanelContentDesignModel content)
Exposes the PanelContentDesignModel instance as a scripting variable to the Tag body |
protected PanelContentDesignModel |
getDesignModel()
Returns the PanelContentDesignModel |
void |
release()
|
protected void |
releaseDesignModel()
Releases the PanelContentDesignModel |
void |
setAction(java.lang.String action)
Specifies the Struts Action that is to be called in case of control element events. |
void |
setFilter(java.lang.String filter)
Sets HTML filtering on or off |
void |
setImage(ImageModel image)
Sets the image |
void |
setLocale(java.lang.String locale)
Sets the Loacel configuration for this element |
void |
setMore(java.lang.String more)
This attribute guides the Painter to a "more..." to draw an entry at the end of the group. |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setPermission(java.lang.String permission)
With this attribute, access to the element can be restricted. |
void |
setTitle(java.lang.String title)
The group title. |
void |
setTooltip(java.lang.String tooltip)
Tooltip Text that is displayed in a Popup window when the user moves the mouse over the title. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, 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 |
Field Detail |
private static final long serialVersionUID
private PanelContentDesignModel designModel
Constructor Detail |
public PanelContentTag()
Method Detail |
protected PanelContentDesignModel getDesignModel()
protected void releaseDesignModel()
public void setPageContext(javax.servlet.jsp.PageContext pc)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
Tag.setPageContext(PageContext pc)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
Tag.release()
protected void exposeScriptingVariable(PanelContentDesignModel content)
content
- The Design Modelpublic int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
javax.servlet.jsp.JspException
Tag.doStartTag()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
javax.servlet.jsp.JspException
Tag.doEndTag()
public void addItem(PanelItemDesignModel item)
item
- PanelItemDesignModelpublic void setImage(ImageModel image)
ImageContainerTag
setImage
in interface ImageContainerTag
image
- The image model for the imageImageContainerTag.setImage(com.cc.framework.ui.model.ImageModel)
public void setMore(java.lang.String more)
more
- Morepublic void setTitle(java.lang.String title)
title
- The group title.public void setAction(java.lang.String action)
action
- Action to performpublic void setPermission(java.lang.String permission) throws javax.servlet.jsp.JspException
permission
- String witch stands for the required
authorization
javax.servlet.jsp.JspException
- If the Argument can't be converted to an object of type permissionSecurityUtil
public void setTooltip(java.lang.String tooltip)
tooltip
- Tooltippublic void setFilter(java.lang.String filter) throws javax.servlet.jsp.JspException
filter
- Boolean String
javax.servlet.jsp.JspException
- If the argument can't be converted into an
object of type booleanpublic void setLocale(java.lang.String locale)
locale
- Locale Identifier or true|false
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |