Package overit.geocall.ui
Annotation Interface Component.ConfigurableAttribute
- Enclosing class:
Component
@Target(TYPE)
@Retention(RUNTIME)
@Repeatable(ConfigurableAttributes.class)
@Documented
public static @interface Component.ConfigurableAttribute
Annotation used to define a
It is possible to define the name, the label, the
UIProperty for a specific Component. The UI Attributes defined will be
showed into the configurability panel to allow the user to configure the graphical representation for the Component It is possible to define the name, the label, the
DataType, the children (if you want to manage the attribute as a lookup)
the properties for the attribute (for example fullsize="true" if you want that the attribute will be displayed in fullsize mode into the configurability panel)
and declare if the attribute is allowed for the static fields or not.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefine one or more attribute that the component must ignore form its parent.
The value specified in this annotation must be related to thename()attribute for theComponent.ConfigurableAttributeannotation defined into the parent objectstatic @interfaceDefine that the components must ignore all the parent attributes.static @interfacestatic @interface -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanGets if the attribute is allowed for the static fields or not.booleanGets if the attribute overridden the parent attributeThe properties defined for the attribute (for example fullsize="true" if you want that the attribute will be displayed in fullsize mode into the configurability panel)The type of the attributeThe list of the children for the attribute (if you want to manage the attribute as a lookup)
-
Element Details
-
name
String nameThe name that identifies the attribute- Returns:
- The name that identifies the attribute
-
label
String labelThe Label that will be showed for the attribute- Returns:
- The Label that will be showed for the attribute
-
type
String typeThe type of the attribute- Returns:
- The type of the attribute
- Default:
"STRING"
-
values
The list of the children for the attribute (if you want to manage the attribute as a lookup)- Returns:
- The list of the children for the attribute
- Default:
{}
-
properties
Component.ConfigurableAttribute.Property[] propertiesThe properties defined for the attribute (for example fullsize="true" if you want that the attribute will be displayed in fullsize mode into the configurability panel)- Returns:
- The properties defined for the attribute
- Default:
{}
-
onlyExtended
boolean onlyExtendedGets if the attribute is allowed for the static fields or not.- Returns:
trueif the attribute is not allowed for the static fields,falseotherwise
- Default:
false
-
overrideParent
boolean overrideParentGets if the attribute overridden the parent attribute- Returns:
trueif the attribute overridden the parent attribute,falseotherwise
- Default:
false
-