@Target(value={}) @Retention(value=RUNTIME) public @interface Option
Select.options()
set
See documentation on
Select componentModifier and Type | Required Element and Description |
---|---|
String |
text
Maps to the
text attribute of this Granite UI component's node. |
String |
value
Maps to the
value attribute of this Granite UI component's node. |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
disabled
When set to true, maps to the
disabled attribute of this Granite UI component's node. |
String |
icon
When set to a non-blank string, maps to the
icon attribute of this Granite UI component's node |
boolean |
selected
When set to true, maps to the
selected attribute of this Granite UI component's node. |
String |
statusIcon
When set to a non-blank string, maps to the
statusIcon attribute of this Granite UI component's node |
String |
statusText
When set to a non-blank string, maps to the
statusText attribute of this Granite UI component's node. |
StatusVariant |
statusVariant
When set to a non-blank string, maps to the
statusVariant attribute of this Granite UI component's node |
public abstract String text
text
attribute of this Granite UI component's node.
Used to define the text displayed beside the option boxpublic abstract String value
value
attribute of this Granite UI component's node.
Used to define the value to be stored when this option is checkedpublic abstract boolean disabled
disabled
attribute of this Granite UI component's node.
Defines that the current option is shown in the disabled statepublic abstract String icon
icon
attribute of this Granite UI component's nodepublic abstract boolean selected
selected
attribute of this Granite UI component's node.
Defines that the current option is selected by defaultpublic abstract String statusIcon
statusIcon
attribute of this Granite UI component's nodepublic abstract String statusText
statusText
attribute of this Granite UI component's node.public abstract StatusVariant statusVariant
statusVariant
attribute of this Granite UI component's nodeStatusVariant
Copyright © 2024 Exadel, Inc.. All rights reserved.