|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.webapp.UIComponentTag
com.esri.adf.web.faces.taglib.ToolTag
public class ToolTag
JSP tag for the ToolControl.
| Field Summary |
|---|
| Fields inherited from class javax.faces.webapp.UIComponentTag |
|---|
pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
ToolTag()
Initializes the tag. |
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
java.lang.String |
getComponentType()
Returns the component type string. |
java.lang.String |
getRendererType()
Returns the renderer type of this control. |
void |
release()
Resets the attribute values to defaults. |
void |
setClientAction(java.lang.String clientAction)
Sets the client action method for the tool control. |
void |
setClientPostBack(java.lang.String clientPostBack)
Sets the client side post back for this control. |
void |
setCursor(java.lang.String cursor)
Sets the cursor for this control. |
void |
setDefaultImage(java.lang.String defaultImage)
Sets the default image for this control. |
void |
setDisabled(java.lang.String disabled)
Sets an indicator whether to disable the control. |
void |
setDisabledImage(java.lang.String disabledImage)
Sets the disabled image for this control. |
void |
setHoverImage(java.lang.String hoverImage)
Sets the hover image for this control. |
void |
setLineColor(java.lang.String lineColor)
Sets the line color for this control. |
void |
setLineWidth(java.lang.String lineWidth)
Sets the line width for this control. |
protected void |
setProperties(javax.faces.component.UIComponent component)
Sets the attributes of the ToolControl from the tag attributes. |
void |
setSelectedImage(java.lang.String selectedImage)
Sets the selected image for this control. |
void |
setServerAction(java.lang.String serverAction)
Sets the server action name. |
void |
setServerMethod(java.lang.String serverMethod)
Sets the server action method binding name. |
void |
setShowLoadingImage(java.lang.String showLoadingImage)
Sets whether the loading image is shown for this control. |
void |
setStyle(java.lang.String style)
Sets the default style for the tool control. |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS class name where the CSS style attributes are defined. |
void |
setToolText(java.lang.String toolText)
Sets the text to be displayed for this control. |
void |
setToolTip(java.lang.String toolTip)
Sets the alternate text for this control. |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
|---|
doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolTag()
| Method Detail |
|---|
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.faces.webapp.UIComponentTagpublic java.lang.String getComponentType()
getComponentType in class javax.faces.webapp.UIComponentTagString- the component-type as defined in the faces-config.xml filepublic java.lang.String getRendererType()
getRendererType in class javax.faces.webapp.UIComponentTagString- null since the parent Toolbar control is responsible for rendering this child
controlprotected void setProperties(javax.faces.component.UIComponent component)
ToolControl from the tag attributes.
setProperties in class javax.faces.webapp.UIComponentTagcomponent - the component to override properties
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.faces.webapp.UIComponentTagjavax.servlet.jsp.JspExceptionpublic void setClientAction(java.lang.String clientAction)
clientAction - the client action method, for example, MapDragRectanglepublic void setServerAction(java.lang.String serverAction)
serverAction - the server action name, for example, com.esri.adf.web.faces.event.ZoomInToolActionpublic void setServerMethod(java.lang.String serverMethod)
serverMethod - the server action method binding name, for example, #{tool.zoomIn}public void setStyle(java.lang.String style)
style - the default style for the tool controlpublic void setStyleClass(java.lang.String styleClass)
styleClass - the CSS classpublic void setToolTip(java.lang.String toolTip)
toolTip - the alternate text for this controlpublic void setToolText(java.lang.String toolText)
toolText - the text for this controlpublic void setDefaultImage(java.lang.String defaultImage)
defaultImage - the default image for this controlpublic void setHoverImage(java.lang.String hoverImage)
hoverImage - the hover image for this controlpublic void setSelectedImage(java.lang.String selectedImage)
selectedImage - the selected image for this controlpublic void setDisabledImage(java.lang.String disabledImage)
disabledImage - the disabled image for this controlpublic void setDisabled(java.lang.String disabled)
disabled - if true, disable the controlpublic void setCursor(java.lang.String cursor)
cursor - the cursor for this controlpublic void setShowLoadingImage(java.lang.String showLoadingImage)
showLoadingImage - if true, the loading image is shownpublic void setClientPostBack(java.lang.String clientPostBack)
clientPostBack - if true, the client side post back is supportedpublic void setLineColor(java.lang.String lineColor)
lineColor - an HTML color stringpublic void setLineWidth(java.lang.String lineWidth)
lineWidth - the width in pixels
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||