@Retention(value=CLASS) @Target(value=TYPE) public @interface Widget
Modifier and Type | Required Element and Description |
---|---|
Class<? extends Annotation> |
annotationClass
The stacked annotation which will be used to indicate that a field is to
be populated by a Dialog Widget of this type.
|
Class<? extends AbstractWidgetMaker> |
makerClass
The class responsible for making instances of the annotated Widget Class.
|
String |
xtype
The xtype which will be rendered to the Dialog for a field populated by a
Dialog Widget of this type.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
featureFlag
Feature flag which can be configured in a POMs additionalFeatures configuration
indicating the inclusion of this widget in the widget registry during dialog rendering.
|
int |
ranking
Used in the rare cases where multiple annotations will be stacked under a
DialogField
annotation. |
public abstract Class<? extends Annotation> annotationClass
The stacked annotation which will be used to indicate that a field is to
be populated by a Dialog Widget of this type. This would be the
annotation stacked under the
DialogField
annotation on a given Component field.
The annotationClass list may be left empty in which case the Widget ties together an xtype and WidgetMaker directly. The annotationClass list may not contain more than one Annotation class.
public abstract Class<? extends AbstractWidgetMaker> makerClass
public abstract String xtype
public abstract int ranking
DialogField
annotation. In such cases, ranking indicates which annotation will be
used in looking up an appropriate Widget type and Maker for the field in
question. A Widget with a higher ranking will take precedence over one
with a lower ranking. In the case of equal ranking values behavior can
not be guaranteed.public abstract String featureFlag
Copyright © 2019 ICF Olson. All rights reserved.