Class TSFStringEnum
Unit
X3DFields
Declaration
type TSFStringEnum = class(TSFString)
Description
X3D field that contains a value from a specified set. This represents 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
Overview
Methods
Properties
 |
property EnumValue: Integer
read FEnumValue write SetEnumValue; |
 |
property DefaultEnumValue: Integer
read FDefaultEnumValue write SetDefaultEnumValue; |
Description
Methods
 |
constructor Create(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: string; const AEnumNames: PConstantStringArray; const AEnumNamesCount: Cardinal; const AValue: Integer); |
|
 |
procedure SendEnumValue(const NewValue: Integer); |
|
Properties
 |
property EnumValue: Integer
read FEnumValue write SetEnumValue; |
|
 |
property DefaultEnumValue: Integer
read FDefaultEnumValue write SetDefaultEnumValue; |
|
Generated by PasDoc 0.16.0.