Package io.jmix.flowui.kit.meta
Annotation Interface StudioProperty
-
Nested Class Summary
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionProperty category.Specifies tag that Studio will use when setting a CDATA value (iftype
equalsStudioPropertyType.CDATA
).Fully-qualified name of property classString[]
Specifies component tags that will be taken into account when searching for a reference (iftype
equalsStudioPropertyType.COMPONENT_REF
)Describes an application property or an element whose default property value should be used as the default value for the current property.String[]
boolean
Specifies name of the type parameter for the component that is provided by the property.
The actual class for the type parameter can be resolved for the following property types:StudioPropertyType.ENTITY_CLASS
,StudioPropertyType.ENUM_CLASS
,StudioPropertyType.COMPONENT_REF
,StudioPropertyType.PROPERTY_REF
,StudioPropertyType.DATA_CONTAINER_REF
,StudioPropertyType.COLLECTION_DATA_CONTAINER_REF
boolean
Use as type for injected field.
-
Element Details
-
xmlAttribute
String xmlAttribute -
type
StudioPropertyType type
-
-
-
classFqn
String classFqnFully-qualified name of property class- Default:
- ""
-
category
String categoryProperty category.- See Also:
- Default:
- "Other"
-
required
boolean required- Default:
- false
-
defaultValue
String defaultValue- Default:
- ""
-
defaultValueRef
String defaultValueRefDescribes an application property or an element whose default property value should be used as the default value for the current property. Supported syntax:-
parent:someParentProperty
Example: parent:sortable
-
application_property:someApplicationProperty
Example: application_property:jmix.ui.component.default-trim-enabled
- Default:
- ""
-
-
initialValue
String initialValue- Default:
- ""
-
options
String[] options- Default:
- {}
-
setMethod
String setMethod- Default:
- ""
-
setParameterFqn
String setParameterFqn- Default:
- ""
-
addMethod
String addMethod- Default:
- ""
-
addParameterFqn
String addParameterFqn- Default:
- ""
-
removeMethod
String removeMethod- Default:
- ""
-
removeParameterFqn
String removeParameterFqn- Default:
- ""
-
typeParameter
String typeParameterSpecifies name of the type parameter for the component that is provided by the property.
The actual class for the type parameter can be resolved for the following property types:StudioPropertyType.ENTITY_CLASS
,StudioPropertyType.ENUM_CLASS
,StudioPropertyType.COMPONENT_REF
,StudioPropertyType.PROPERTY_REF
,StudioPropertyType.DATA_CONTAINER_REF
,StudioPropertyType.COLLECTION_DATA_CONTAINER_REF
- Returns:
- name of the type parameter
- Default:
- ""
-
useAsInjectionType
boolean useAsInjectionTypeUse as type for injected field. Xml attribute value must be a valid class fqn.- Default:
- false
-
componentRefTags
String[] componentRefTagsSpecifies component tags that will be taken into account when searching for a reference (iftype
equalsStudioPropertyType.COMPONENT_REF
)- Default:
- {}
-
cdataWrapperTag
String cdataWrapperTagSpecifies tag that Studio will use when setting a CDATA value (iftype
equalsStudioPropertyType.CDATA
). By default, CDATA value will be set inside component tag (as nested subtag without tag name).- Default:
- ""
-