complexType "simplePropertyType"

Namespace: | http://www.nokia.com/sdt/emf/component
Content: | empty, 13 attributes
Defined: | globally within component.xsd, see XML source
Used: | at 1 location

XML Representation Summary
<...
| category | = | xsd:string
| default | = | xsd:string
| descriptionKey | = | xsd:string
| displayName | = | xsd:string
| editorClass | = | xsd:string
| extendWithEnum | = | xsd:string
| helpKey | = | xsd:string
| maxValue | = | xsd:string
| minValue | = | xsd:string
| name | = | xsd:string
| readOnly | = | xsd:boolean : "false"
| resettable | = | xsd:boolean : "true"
| type | = | ("void" | "boolean" | "integer" | "float" | "string" | "localizedString" | "uniqueName")
/>

Known Usage Locations

- As direct type of elements (1):
  property

Annotation
Concrete type used for basic properties.
Type Definition Detail

Type Derivation Summary abstractPropertyType simplePropertyType (extension)

XML Source

<xsd:complexType name="simplePropertyType"> <xsd:annotation> <xsd:documentation>Concrete type used for basic properties.</xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="abstractPropertyType"> <xsd:attribute name="type" type="propertyDataType" use="required"> <xsd:annotation> <xsd:documentation>Selects the data type of the property.</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="default" type="xsd:string"> <xsd:annotation> <xsd:documentation> A default value for the property. Must be a string convertible to the particular property type. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="minValue" type="xsd:string"> <xsd:annotation> <xsd:documentation> Optional minimum value constraint. Applies only to integers and floats. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="maxValue" type="xsd:string"> <xsd:annotation> <xsd:documentation> Optional maximum value constraint. Applies only to integers and floats. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="extendWithEnum" type="xsd:string"> <xsd:annotation> <xsd:documentation> Optional extension of the enum with the enums provided by an enimPropertyDeclaration. If the value of the property matches any in an extension enumProperty's 'value' attribute, the 'displayValue' will be shown as the current value in the property sheet. Additionally, the editor for the value (if not overridden with a custom editorClass) will be a combo that allows typing in the literal value or selecting one of the extended enums. <p> The 'value' of each of the extending enums must match the type being extended, or else the attempt to set the value to that enum will fail. Note that this means that it is useless to extend booleans (since all extensions must map to 'true' or 'false'). </p> </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType>

Attribute Detail
category

  The category grouping to be used in the property sheet.
  If this value matches the key of a known group then the localized name is looked up within the Symbian component provider. Otherwise it is treated like a
  potentially localized string, i.e. if it is %-prefixed a string is looked up in the properties file.
  The special value of "hidden" will cause the property to be filtered from the property sheet.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

default

  A default value for the property. Must be a string convertible to the
  particular property type.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="default" type="xsd:string"> <xsd:annotation> <xsd:documentation> A default value for the property. Must be a string convertible to the particular property type. </xsd:documentation> </xsd:annotation> </xsd:attribute>

descriptionKey

  A property key to descriptive text for the property to be displayed in the status bar
  when the property is selected in the property sheet.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

displayName

  The property name to be display in the user interface. Can contain spaces and other characters.
  This value should be localized.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

editorClass

  The fully qualified name of a class implementing com.nokia.sdt.component.property.IPropertyEditorFactory.
  This allows Java code to provide a label provider, cell editor, and validator for the property.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

extendWithEnum

  Optional extension of the enum with the enums provided by an enimPropertyDeclaration.
  If the value of the property matches any in an extension enumProperty's 'value' attribute, the 'displayValue' will be shown
  as the current value in the property sheet. Additionally, the editor for the value (if not overridden with
  a custom editorClass) will be a combo that allows typing in the literal value or selecting one of
  the extended enums.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="extendWithEnum" type="xsd:string"> <xsd:annotation> <xsd:documentation> Optional extension of the enum with the enums provided by an enimPropertyDeclaration. If the value of the property matches any in an extension enumProperty's 'value' attribute, the 'displayValue' will be shown as the current value in the property sheet. Additionally, the editor for the value (if not overridden with a custom editorClass) will be a combo that allows typing in the literal value or selecting one of the extended enums. <p> The 'value' of each of the extending enums must match the type being extended, or else the attempt to set the value to that enum will fail. Note that this means that it is useless to extend booleans (since all extensions must map to 'true' or 'false'). </p> </xsd:documentation> </xsd:annotation> </xsd:attribute>

helpKey

  A key to more detailed help for the property.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

maxValue

  Optional maximum value constraint. Applies only to integers and floats.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="maxValue" type="xsd:string"> <xsd:annotation> <xsd:documentation> Optional maximum value constraint. Applies only to integers and floats. </xsd:documentation> </xsd:annotation> </xsd:attribute>

minValue

  Optional minimum value constraint. Applies only to integers and floats.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="minValue" type="xsd:string"> <xsd:annotation> <xsd:documentation> Optional minimum value constraint. Applies only to integers and floats. </xsd:documentation> </xsd:annotation> </xsd:attribute>

name

  The internal name for the property. It must be unique within the component and its base
  components. Since it may be used as an identifier in scripts it should be a legal JavaScript identifier.

  Type: | xsd:string
  Use: | required
  Defined: | locally, within abstractPropertyType complexType

readOnly

  If true the property will be read-only in the property sheet.

  Type: | xsd:boolean
  Use: | optional
  Default: | "false"
  Defined: | locally, within abstractPropertyType complexType

resettable

  If false the reset button will be disabled, inhibiting the user from reverting to the default value

  Type: | xsd:boolean
  Use: | optional
  Default: | "true"
  Defined: | locally, within abstractPropertyType complexType

type

  Selects the data type of the property.

  Type: | propertyDataType
  Use: | required
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="type" type="propertyDataType" use="required"> <xsd:annotation> <xsd:documentation>Selects the data type of the property.</xsd:documentation> </xsd:annotation> </xsd:attribute>