|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.webapp.UIComponentTagBase
javax.faces.webapp.UIComponentClassicTagBase
javax.faces.webapp.UIComponentELTag
com.esri.adf.web.faces.taglib.ToolTag
public class ToolTag
JSP tag for the ToolControl
.
Field Summary |
---|
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase |
---|
bodyContent, pageContext, UNIQUE_ID_PREFIX |
Fields inherited from class javax.faces.webapp.UIComponentTagBase |
---|
log |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
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 |
Constructor Summary | |
---|---|
ToolTag()
Initializes the tag. |
Method Summary | |
---|---|
int |
doEndTag()
|
String |
getComponentType()
Returns the component type string. |
String |
getRendererType()
Returns the renderer type of this control. |
void |
release()
Resets the attribute values to defaults. |
void |
setClientAction(javax.el.ValueExpression clientAction)
Sets the client action method for the tool control. |
void |
setClientPostBack(javax.el.ValueExpression clientPostBack)
Sets the client side post back for this control. |
void |
setCursor(javax.el.ValueExpression cursor)
Sets the cursor for this control. |
void |
setDefaultImage(javax.el.ValueExpression defaultImage)
Sets the default image for this control. |
void |
setDisabled(javax.el.ValueExpression disabled)
Sets an indicator whether to disable the control. |
void |
setDisabledImage(javax.el.ValueExpression disabledImage)
Sets the disabled image for this control. |
void |
setHoverImage(javax.el.ValueExpression hoverImage)
Sets the hover image for this control. |
void |
setLineColor(javax.el.ValueExpression lineColor)
Sets the line color for this control. |
void |
setLineWidth(javax.el.ValueExpression 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(javax.el.ValueExpression selectedImage)
Sets the selected image for this control. |
void |
setServerAction(javax.el.ValueExpression serverAction)
Sets the server action name. |
void |
setServerMethod(javax.el.MethodExpression serverMethod)
Sets the server action method binding name. |
void |
setShowLoadingImage(javax.el.ValueExpression showLoadingImage)
Sets whether the loading image is shown for this control. |
void |
setStyle(javax.el.ValueExpression style)
Sets the default style for the tool control. |
void |
setStyleClass(javax.el.ValueExpression styleClass)
Sets the CSS class name where the CSS style attributes are defined. |
void |
setToolText(javax.el.ValueExpression toolText)
Sets the text to be displayed for this control. |
void |
setToolTip(javax.el.ValueExpression toolTip)
Sets the alternate text for this control. |
Methods inherited from class javax.faces.webapp.UIComponentELTag |
---|
createComponent, getELContext, hasBinding, setBinding, setRendered |
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase |
---|
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter |
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 |
---|
doStartTag, getParent, setPageContext, setParent |
Constructor Detail |
---|
public ToolTag()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.faces.webapp.UIComponentELTag
public String getComponentType()
getComponentType
in class javax.faces.webapp.UIComponentTagBase
String
- the component-type as defined in the faces-config.xml filepublic String getRendererType()
getRendererType
in class javax.faces.webapp.UIComponentTagBase
String
- 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.UIComponentELTag
component
- the component to override propertiespublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.faces.webapp.UIComponentClassicTagBase
javax.servlet.jsp.JspException
public void setClientAction(javax.el.ValueExpression clientAction)
clientAction
- the client action method, for example, MapDragRectanglepublic void setServerAction(javax.el.ValueExpression serverAction)
serverAction
- the server action name, for example, com.esri.adf.web.faces.event.ZoomInToolActionpublic void setServerMethod(javax.el.MethodExpression serverMethod)
serverMethod
- the server action method binding name, for example, #{tool.zoomIn}public void setStyle(javax.el.ValueExpression style)
style
- the default style for the tool controlpublic void setStyleClass(javax.el.ValueExpression styleClass)
styleClass
- the CSS classpublic void setToolTip(javax.el.ValueExpression toolTip)
toolTip
- the alternate text for this controlpublic void setToolText(javax.el.ValueExpression toolText)
toolText
- the text for this controlpublic void setDefaultImage(javax.el.ValueExpression defaultImage)
defaultImage
- the default image for this controlpublic void setHoverImage(javax.el.ValueExpression hoverImage)
hoverImage
- the hover image for this controlpublic void setSelectedImage(javax.el.ValueExpression selectedImage)
selectedImage
- the selected image for this controlpublic void setDisabledImage(javax.el.ValueExpression disabledImage)
disabledImage
- the disabled image for this controlpublic void setDisabled(javax.el.ValueExpression disabled)
disabled
- if true, disable the controlpublic void setCursor(javax.el.ValueExpression cursor)
cursor
- the cursor for this controlpublic void setShowLoadingImage(javax.el.ValueExpression showLoadingImage)
showLoadingImage
- if true, the loading image is shownpublic void setClientPostBack(javax.el.ValueExpression clientPostBack)
clientPostBack
- if true, the client side post back is supportedpublic void setLineColor(javax.el.ValueExpression lineColor)
lineColor
- an HTML color stringpublic void setLineWidth(javax.el.ValueExpression lineWidth)
lineWidth
- the width in pixels
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |