@ProviderType public final class ButtonComponent extends FieldComponent
FieldComponent.ClientLibraryType| Constructor and Description |
|---|
ButtonComponent() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.api.resource.Resource |
buildComponentResource()
If your component needs child nodes then override this method, call the
superclass implementation, and then use addChildren to add additional
nodes to it.
|
String |
getActionConfigName() |
String |
getAutocomplete() |
String |
getCommand() |
String |
getComment() |
String |
getFormId() |
String |
getIcon() |
String |
getIconSize() |
String |
getText() |
String |
getTrackingElement() |
String |
getTrackingFeature() |
String |
getType() |
String |
getVariant() |
void |
init() |
boolean |
isActive() |
boolean |
isBlock() |
boolean |
isDisabled() |
boolean |
isHideText() |
void |
setActionConfigName(String actionConfigName) |
void |
setActive(boolean active) |
void |
setAutocomplete(String autocomplete) |
void |
setBlock(boolean block) |
void |
setCommand(String command) |
void |
setComment(String comment) |
void |
setDisabled(boolean disabled) |
void |
setFormId(String formId) |
void |
setHideText(boolean hideText) |
void |
setIcon(String icon) |
void |
setIconSize(String iconSize) |
void |
setText(String text) |
void |
setTrackingElement(String trackingElement) |
void |
setTrackingFeature(String trackingFeature) |
void |
setType(String type) |
void |
setVariant(String variant) |
addClientLibraries, addClientLibraries, addClientLibraries, addClientLibrary, getAccessibleObject, getBooleanOption, getCategory, getClientLibraryCategories, getComponentMetadata, getField, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getResourceSuperType, getResourceType, hasOption, purgeEmptyMetadata, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setuppublic void init()
init in class FieldComponentpublic org.apache.sling.api.resource.Resource buildComponentResource()
FieldComponentbuildComponentResource in class FieldComponentpublic String getActionConfigName()
public void setActionConfigName(String actionConfigName)
actionConfigName - the actionConfigName to setpublic boolean isActive()
public void setActive(boolean active)
active - the active to setpublic String getAutocomplete()
public void setAutocomplete(String autocomplete)
autocomplete - the autocomplete to setpublic boolean isBlock()
public void setBlock(boolean block)
block - the block to setpublic String getCommand()
public void setCommand(String command)
command - the command to setpublic String getComment()
public void setComment(String comment)
comment - the comment to setpublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled - the disabled to setpublic String getFormId()
public void setFormId(String formId)
formId - the formId to setpublic boolean isHideText()
public void setHideText(boolean hideText)
hideText - the hideText to setpublic String getIcon()
public void setIcon(String icon)
icon - the icon to setpublic String getIconSize()
public void setIconSize(String iconSize)
iconSize - the iconSize to setpublic String getText()
public void setText(String text)
text - the text to setpublic String getTrackingFeature()
public void setTrackingFeature(String trackingFeature)
trackingFeature - the trackingFeature to setpublic String getTrackingElement()
public void setTrackingElement(String trackingElement)
trackingElement - the trackingElement to setpublic String getType()
public void setType(String type)
type - the type to setpublic String getVariant()
public void setVariant(String variant)
variant - the variant to setCopyright © 2013–2020 Adobe. All rights reserved.