@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface AnchorButton
<a>
) that is styled like a buttonModifier and Type | Required Element and Description |
---|---|
String |
href
Maps to the
href attribute of this Granite UI component's node |
String |
text
Maps to the body text of the element of this Granite UI component's node
|
Modifier and Type | Optional Element and Description |
---|---|
String |
actionConfigName
When set to a non-blank string, maps to the
actionConfigName attribute of this Granite UI component's node. |
boolean |
block
Maps to the
block attribute of this Granite UI component's node. |
String |
command
When set to a non-blank string, maps to the
command attribute of this Granite UI component's node. |
boolean |
hideText
When set to true, visually hides the text.
|
String |
hrefI18n
Maps to the
href attribute of this Granite UI component's node. |
String |
icon
Maps to the icon name of this Granite UI component's node
|
Size |
iconSize
Maps to the size of the icon of this Granite UI component's node
|
LinkCheckerVariant |
linkChecker
Maps to the
x-cq-linkchecker attribute of this Granite UI component's node |
Size |
size
Maps to the size of the button of this Granite UI component's node.
|
String |
target
Maps to the target attribute of this Granite UI component's node
|
ElementVariant |
variant
Maps to the
variant attribute of this Granite UI component's node |
public abstract String href
href
attribute of this Granite UI component's nodepublic abstract String text
public abstract String actionConfigName
actionConfigName
attribute of this Granite UI component's node.
Used to define standard definitions of command, icon and textpublic abstract boolean block
block
attribute of this Granite UI component's node.
Used to ensure the button is rendered as a block elementpublic abstract String command
command
attribute of this Granite UI component's node.
Used to define keyboard shortcut for the action. Overrides actionConfigName
valuepublic abstract boolean hideText
public abstract String hrefI18n
href
attribute of this Granite UI component's node.
This is usually used to produce different value based on localepublic abstract String icon
public abstract LinkCheckerVariant linkChecker
x-cq-linkchecker
attribute of this Granite UI component's nodeLinkCheckerVariant
valuespublic abstract String target
public abstract ElementVariant variant
variant
attribute of this Granite UI component's nodeElementVariant
valuesElementVariant
Copyright © 2022 Exadel, Inc.. All rights reserved.