Class StandardValueDescriptorAttributes
IValueDescriptor.getAttributes() and
IFileListDescriptor.getAttributes().- Since:
- 8.5.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStandard values for message content attributes, such asVALUE_DESCRIPTOR_ATTR_LABEL_CONTENT.static final classStandard values for message type attributes, such asVALUE_DESCRIPTOR_ATTR_LABEL_TYPE.static final classStandard values for theVALUE_DESCRIPTOR_ATTR_UI_TYPEattribute. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(type:String).static final Stringstatic final String(type:Object[]).static final Stringstatic final String(type:String).static final String(type:Object[]).static final Stringstatic final String(type:String).static final Stringstatic final String(type:Object[]).static final Stringstatic final String(type:IMessageLocalizerorIBoundMessageLocalizer).static final String(type:String, one ofStandardValueDescriptorAttributes.ValueDescriptorAttributeUiType).static final String(type:Boolean). -
Method Summary
-
Field Details
-
VALUE_DESCRIPTOR_ATTR_DESCRIPTION
-
VALUE_DESCRIPTOR_ATTR_DESCRIPTION_PARAMETERS
(type:Object[]).Key for the message parameters of the
description. Can be used to interpolate the message when thedescription typeis set tomessage key. Inside the message, the first parameter can be accessed via{0}, the second via{1}, and so on.- See Also:
-
VALUE_DESCRIPTOR_ATTR_DESCRIPTION_CONTENT
(type:String, one ofStandardValueDescriptorAttributes.ValueDescriptorAttributeContentType).Key for the content of the descriptions of the value. Controls whether the description is plain text or HTML.
- See Also:
-
VALUE_DESCRIPTOR_ATTR_DESCRIPTION_TYPE
(type:String, one ofStandardValueDescriptorAttributes.ValueDescriptorAttributeMessageType).Key for the type of the descriptions of the value. Controls how the description should be interpreted, either literally or as a message key. Default depends on the context where the value descriptor is used.
- See Also:
-
VALUE_DESCRIPTOR_ATTR_DISCRIMINATOR_LABEL
(type:String).Key for the discriminator label of the value, applicable to the children of union value descriptors. The display name of the discriminator value. It can be either a localized message or an I18N key that will be resolved at runtime.
- See Also:
-
VALUE_DESCRIPTOR_ATTR_DISCRIMINATOR_LABEL_PARAMETERS
(type:Object[]).Key for the message parameters of the
discriminator label. Can be used to interpolate the message when thelabel typeis set tomessage key. Inside the message, the first parameter can be accessed via{0}, the second via{1}, and so on.- See Also:
-
VALUE_DESCRIPTOR_ATTR_DISCRIMINATOR_LABEL_TYPE
(type:String, one ofStandardValueDescriptorAttributes.ValueDescriptorAttributeMessageType).Key for the type of the discriminator label of the value. Controls how the label should be interpreted, either literally or as a message key. Default depends on the context where the value descriptor is used.
- See Also:
-
VALUE_DESCRIPTOR_ATTR_LABEL
-
VALUE_DESCRIPTOR_ATTR_LABEL_CONTENT
(type:String, one ofStandardValueDescriptorAttributes.ValueDescriptorAttributeContentType).Key for the content of the descriptions of the value. Controls whether the label is plain text or HTML.
- See Also:
-
VALUE_DESCRIPTOR_ATTR_LABEL_PARAMETERS
(type:Object[]).Key for the message parameters of the
label. Can be used to interpolate the message when thelabel typeis set tomessage key. Inside the message, the first parameter can be accessed via{0}, the second via{1}, and so on.- See Also:
-
VALUE_DESCRIPTOR_ATTR_LABEL_TYPE
(type:String, one ofStandardValueDescriptorAttributes.ValueDescriptorAttributeMessageType).Key for the type of the label of the value. Controls how the label should be interpreted, either literally or as a message key. Default depends on the context where the value descriptor is used.
- See Also:
-
VALUE_DESCRIPTOR_ATTR_LOCALIZER
(type:IMessageLocalizerorIBoundMessageLocalizer).Key for the localizer to use for localizing messages such as
VALUE_DESCRIPTOR_ATTR_LABELandVALUE_DESCRIPTOR_ATTR_DESCRIPTION. This is an override, if not given, a default is used. Once set, the localizer inherits to all child value descriptors.- See Also:
-
VALUE_DESCRIPTOR_ATTR_UI_TYPE
(type:String, one ofStandardValueDescriptorAttributes.ValueDescriptorAttributeUiType).Key for the UI type hint. When generating a user interface for editing or displaying the value, this hint can be used to determine the appropriate control or widget to use.
- See Also:
-
VALUE_DESCRIPTOR_FC_PLACEHOLDER
-