@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface DialogField
Modifier and Type | Optional Element and Description |
---|---|
String |
description
When set to a non-blank string, maps to the
fieldDescription attribute of this dialog component's node. |
boolean |
disabled
Maps to the
disabled attribute of this Granite UI component's node |
String |
label
When set to a non-blank string, maps to the
fieldLabel attribute of this dialog component's node. |
String |
name
Used to define
name attribute value for this Granite UI dialog component. |
int |
ranking
Used to order dialog components in the Granite UI interface.
|
boolean |
renderHidden
Maps to the
renderHidden attribute of this dialog component's node. |
boolean |
required
Maps to the
required attribute of this Granite UI component's node |
String[] |
validation
Maps to the
validation attribute of this Granite UI component's node |
String |
wrapperClass
When set to a non-blank string, maps to the
wrapperClass attribute of this dialog component's node. |
public abstract String description
fieldDescription
attribute of this dialog component's node.
Used to define helper text for this dialog componentpublic abstract boolean disabled
disabled
attribute of this Granite UI component's nodepublic abstract String label
fieldLabel
attribute of this dialog component's node.
Used to define a label displayed beside this dialog componentpublic abstract String name
name
attribute value for this Granite UI dialog component.
If not set, the name of the annotated field or method will be usedpublic abstract int ranking
public abstract boolean renderHidden
renderHidden
attribute of this dialog component's node.
If set to true, the hidden
attribute is added to the HTML element that wraps up the current component,
so that the component is hidden together with its label and description. Has no effect if a wrapper element is not
rendered (e.g. when neither label nor description is specified)public abstract boolean required
required
attribute of this Granite UI component's nodepublic abstract String[] validation
validation
attribute of this Granite UI component's nodepublic abstract String wrapperClass
wrapperClass
attribute of this dialog component's node.
Used to specify a CSS class for the wrapper elementCopyright © 2022 Exadel, Inc.. All rights reserved.