|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.beans.FeatureDescriptor
com.esri.adf.web.data.tasks.ButtonDescriptor
public class ButtonDescriptor
The ButtonDescriptor is an intermediary class and its primary purpose is to serve as a
super-class with basic implementations for some methods for the TaskActionDescriptor and TaskToolDescriptor classes.
| Field Summary | |
|---|---|
protected java.lang.String |
defaultImage
The default image URL for the button. |
protected boolean |
disabled
If true, the button will be disabled in the task UI |
protected java.lang.String |
disabledImage
The disabled image URL for the button. |
protected java.lang.String |
hoverImage
The hover image URL for the button. |
static java.lang.String |
IMAGE_RENDERER_TYPE
The image-only renderer type. |
static java.lang.String |
IMAGEANDTEXT_RENDERER_TYPE
The image-and-text renderer type. |
protected java.lang.String |
rendererType
The renderer type of this parameter. |
protected java.lang.String |
selectedImage
The selected image URL for the button. |
protected boolean |
showLoadingImage
If true, a loading image will be displayed while the action / tool is being processed. |
protected java.lang.String |
style
The CSS style to be applied to the button. |
protected java.lang.String |
styleClass
The CSS style class to be applied to the button. |
static java.lang.String |
TEXT_RENDERER_TYPE
The text-only renderer type. |
protected java.lang.String |
toolTip
The tooltip text for the button. |
| Constructor Summary | |
|---|---|
ButtonDescriptor()
|
|
| Method Summary | |
|---|---|
protected void |
generateButtonXML(org.w3c.dom.Element element)
Generates the XML content for this button. |
java.lang.String |
getDefaultImage()
Returns the default image URL for the button |
java.lang.String |
getDisabledImage()
Returns the disabled image URL for the button |
java.lang.String |
getHoverImage()
Returns the hover image URL for the button |
java.lang.String |
getRendererType()
Returns the renderer type of this parameter |
java.lang.String |
getSelectedImage()
Returns the selected image URL for the button |
java.lang.String |
getStyle()
Returns the CSS style to be applied to the button |
java.lang.String |
getStyleClass()
Returns the CSS style class to be applied to the button |
java.lang.String |
getToolTip()
Returns the tooltip text for the button |
boolean |
isDisabled()
If true, the button will be disabled in the task UI |
boolean |
isShowLoadingImage()
If true, a loading image will be displayed while the action / tool is being processed |
void |
setDefaultImage(java.lang.String defaultImage)
Sets the default image URL for the button |
void |
setDisabled(boolean disabled)
If set to true, the button will be disabled in the task UI |
void |
setDisabledImage(java.lang.String disabledImage)
Returns the disabled image URL for the button |
void |
setHoverImage(java.lang.String hoverImage)
Sets the hover image URL for the button |
void |
setRendererType(java.lang.String rendererType)
Sets the renderer type of this parameter |
void |
setSelectedImage(java.lang.String selectedImage)
Sets the selected image URL for the button |
void |
setShowLoadingImage(boolean showLoadingImage)
If set to true, a loading image will be displayed while the action / tool is being processed |
void |
setStyle(java.lang.String style)
Sets the CSS style to be applied to the button |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS style class to be applied to the button |
void |
setToolTip(java.lang.String toolTip)
Sets the tooltip text for the button |
| Methods inherited from class java.beans.FeatureDescriptor |
|---|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
| 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 IMAGEANDTEXT_RENDERER_TYPE
public static final java.lang.String TEXT_RENDERER_TYPE
public static final java.lang.String IMAGE_RENDERER_TYPE
protected java.lang.String style
protected java.lang.String styleClass
protected java.lang.String toolTip
protected java.lang.String defaultImage
protected java.lang.String hoverImage
protected java.lang.String selectedImage
protected java.lang.String disabledImage
protected boolean disabled
true, the button will be disabled in the task UI
protected boolean showLoadingImage
true, a loading image will be displayed while the action / tool is being processed.
protected java.lang.String rendererType
TEXT_RENDERER_TYPE
| Constructor Detail |
|---|
public ButtonDescriptor()
| Method Detail |
|---|
protected void generateButtonXML(org.w3c.dom.Element element)
Generates the XML content for this button. Sub-classes can call this method to generate the basic XML content for the button.
element - the XML Element for the contentpublic java.lang.String getStyle()
public void setStyle(java.lang.String style)
style - the CSS style to be applied to the buttonpublic java.lang.String getStyleClass()
public void setStyleClass(java.lang.String styleClass)
styleClass - the CSS style class to be applied to the buttonpublic java.lang.String getToolTip()
public void setToolTip(java.lang.String toolTip)
toolTip - the tooltip text for the buttonpublic java.lang.String getDefaultImage()
public void setDefaultImage(java.lang.String defaultImage)
defaultImage - the default image URL for the buttonpublic java.lang.String getHoverImage()
public void setHoverImage(java.lang.String hoverImage)
hoverImage - the hover image URL for the buttonpublic java.lang.String getSelectedImage()
public void setSelectedImage(java.lang.String selectedImage)
selectedImage - the selected image URL for the buttonpublic java.lang.String getDisabledImage()
public void setDisabledImage(java.lang.String disabledImage)
disabledImage - the disabled image URL for the buttonpublic boolean isDisabled()
true, the button will be disabled in the task UI
true, the button will be disabled in the task UIpublic void setDisabled(boolean disabled)
true, the button will be disabled in the task UI
disabled - if true, the button will be disabled in the task UIpublic boolean isShowLoadingImage()
true, a loading image will be displayed while the action / tool is being processed
true, a loading image will be displayed while the action / tool is being processedpublic void setShowLoadingImage(boolean showLoadingImage)
true, a loading image will be displayed while the action / tool is being processed
showLoadingImage - if true, a loading image will be displayed while the action / tool is being processedpublic java.lang.String getRendererType()
public void setRendererType(java.lang.String rendererType)
rendererType - the renderer type of this parameter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||