Castle Game Engine: X3DFields: Class TSFStringEnum

# Class TSFStringEnum
Description | Hierarchy | Fields | Methods | Properties
## Unit X3DFields ## Declaration `type TSFStringEnum = class(TSFString)` ## Description String field that contains a value from a specified set. This wraps a commonly used VRML/X3D construct where SFString field is used to hold values from some limited set, thus emulating an "enumerated" field. Access the EnumValue to get / set the field value as an integer, which is an index to ValueNames array. ## Hierarchy TPersistent TNonRefCountedInterfacedPersistent TX3DFileItem TX3DFieldOrEvent TX3DField TX3DSingleField TSFString TSFStringEnum ## Overview ### Methods
| `procedure SetValue(const NewValue: string); override;`
| `procedure SetDefaultValue(const NewDefaultValue: string); override;`
| `class function ExposedEventsFieldClass: TX3DFieldClass; override;`
| `constructor Create(AParentNode: TX3DFileItem; const AName: string; const AEnumNames: array of string; const AValue: Integer);`
| `destructor Destroy; override;`
| `procedure SendEnumValue(const NewValue: Integer);`
### Properties
| `property EnumValue: Integer read FEnumValue write SetEnumValue;`
| `property DefaultEnumValue: Integer read FDefaultEnumValue write SetDefaultEnumValue;`
## Description ### Methods
| `procedure SetValue(const NewValue: string); override;`
| `procedure SetDefaultValue(const NewDefaultValue: string); override;`
| `class function ExposedEventsFieldClass: TX3DFieldClass; override;`
| `constructor Create(AParentNode: TX3DFileItem; const AName: string; const AEnumNames: array of string; const AValue: Integer);`
| `destructor Destroy; override;`
| `procedure SendEnumValue(const NewValue: Integer);`
### Properties
| `property EnumValue: Integer read FEnumValue write SetEnumValue;`
| `property DefaultEnumValue: Integer read FDefaultEnumValue write SetDefaultEnumValue;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:13