|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
com.esri.adf.web.faces.component.ToolControl
public class ToolControl
The Tool Control executes the client action followed by the server side action.
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_FAMILY
The standard component family for this component. |
static java.lang.String |
COMPONENT_TYPE
The standard component type for this component. |
static java.lang.String |
CONTROLID_DELIMITER
The delimiter for the control ID. |
| Constructor Summary | |
|---|---|
ToolControl()
Initializes the Tool Control and sets the renderer type to null. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Element |
generateXML()
Generates an XML representation of the control. |
java.lang.String |
getClientAction()
Returns the client action method associated with this tool. |
java.lang.String |
getCursor()
Returns the cursor that is used for this control. |
java.lang.String |
getDefaultImage()
Returns the default image that is set for this control. |
java.lang.String |
getDisabledImage()
Returns the disabled image that is set for this control. |
java.lang.String |
getFamily()
Returns the family of this control. |
java.lang.String |
getHoverImage()
Returns the hover image that is set for this control. |
java.lang.String |
getLineColor()
Returns the color of the line. |
int |
getLineWidth()
Returns the width of the line. |
java.lang.String |
getSelectedImage()
Returns the selected image that is set for this control. |
java.lang.String |
getServerAction()
Returns the server side tool action name. |
java.lang.String |
getServerMethod()
Returns the expression string for server side tool action method binding. |
java.lang.String |
getStyle()
Returns the style attributes of the tool control. |
java.lang.String |
getStyleClass()
Returns the file name where the CSS style attributes are defined. |
java.lang.String |
getToolText()
Returns the tool text that is set for this control. |
java.lang.String |
getToolTip()
Returns the tool tip that is set for this control. |
boolean |
isClientPostBack()
Indicates whether the control supports client side post back. |
boolean |
isDisabled()
Indicates whether this control is disabled. |
boolean |
isInit()
Indicates whether this control is initialized. |
boolean |
isShowLoadingImage()
Indicates whether the control shows a loading image when the page is submited. |
void |
restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
Restores the state of the control. |
java.lang.Object |
saveState(javax.faces.context.FacesContext facesContext)
Saves the state of this control. |
void |
setClientAction(java.lang.String clientAction)
Sets the client action method for the tool. |
void |
setClientPostBack(boolean clientPostBack)
Sets whether the control supports client side post back. |
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(boolean 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 |
setInit(boolean init)
Sets an indicator whether to initialize the control. |
void |
setLineColor(java.lang.String lineColor)
Sets the line color for this control. |
void |
setLineWidth(int lineWidth)
Sets the line width for this control. |
void |
setSelectedImage(java.lang.String selectedImage)
Sets the selected image for this control. |
void |
setServerAction(java.lang.String serverAction)
Sets the server side tool action name. |
void |
setServerMethod(java.lang.String serverMethod)
Sets the expression string for the server side tool action method binding. |
void |
setShowLoadingImage(boolean 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.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String CONTROLID_DELIMITER
| Constructor Detail |
|---|
public ToolControl()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentString- the COMPONENT_FAMILYpublic boolean isInit()
public void setInit(boolean init)
init - if true, initialize the controlpublic java.lang.String getClientAction()
String- the client action method name.public void setClientAction(java.lang.String clientAction)
clientAction - the client action method to be used for this tool.public java.lang.String getServerAction()
String- the server side tool action namepublic void setServerAction(java.lang.String serverAction)
serverAction - the server side tool action namepublic java.lang.String getServerMethod()
String- the expression string for the server side tool action method bindingpublic void setServerMethod(java.lang.String serverMethod)
serverMethod - the expression string for the server side tool action method bindingpublic java.lang.String getStyle()
String- the style attributespublic void setStyle(java.lang.String style)
style - the default style for the tool controlpublic java.lang.String getStyleClass()
String- the CSS classpublic void setStyleClass(java.lang.String styleClass)
styleClass - the CSS classpublic java.lang.String getToolTip()
String- the tool tippublic void setToolTip(java.lang.String toolTip)
toolTip - the alternate text for this controlpublic java.lang.String getToolText()
String- the tool textpublic void setToolText(java.lang.String toolText)
toolText - the text for this controlpublic java.lang.String getDefaultImage()
String- the default imagepublic void setDefaultImage(java.lang.String defaultImage)
defaultImage - the default image for this controlpublic java.lang.String getHoverImage()
String- the hover imagepublic void setHoverImage(java.lang.String hoverImage)
hoverImage - the hover image for this controlpublic java.lang.String getSelectedImage()
String- the selected imagepublic void setSelectedImage(java.lang.String selectedImage)
selectedImage - the selected image for this controlpublic java.lang.String getDisabledImage()
String- the disabled imagepublic void setDisabledImage(java.lang.String disabledImage)
disabledImage - the disabled image for this controlpublic java.lang.String getCursor()
String- the cursor namepublic void setCursor(java.lang.String cursor)
cursor - the cursor for this controlpublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled - if true, disable the controlpublic boolean isShowLoadingImage()
public void setShowLoadingImage(boolean showLoadingImage)
showLoadingImage - if true, the loading image is shownpublic boolean isClientPostBack()
public void setClientPostBack(boolean clientPostBack)
clientPostBack - if true, the client side post back is supportedpublic void setLineColor(java.lang.String lineColor)
lineColor - an HTML color stringpublic java.lang.String getLineColor()
String- the line colorpublic void setLineWidth(int lineWidth)
lineWidth - the line width in pixelspublic int getLineWidth()
public java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBasefacesContext - the associated FacesContext
Object- the object to be saved
public void restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBasefacesContext - the associated FacesContextstate - the object from which to restore the state of the controlpublic org.w3c.dom.Element generateXML()
generateXML in interface ToolbarItemElement- the XML element of the control
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||