Class TMFString
Unit
Declaration
type TMFString = class(TX3DMultField)
Description
X3D field with a list of values.
Hierarchy
- TObject
 - TPersistent
 - TX3DFileItem
 - TX3DFieldOrEvent
 - TX3DField
 - TX3DMultField
 - TMFString
 
Overview
Methods
![]()  | 
constructor Create(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: String; const InitialContent: array of string); | 
![]()  | 
constructor CreateUndefined(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: String); override; | 
![]()  | 
destructor Destroy; override; | 
![]()  | 
function FastEqualsValue(SecondValue: TX3DField): boolean; override; | 
![]()  | 
procedure ParseValue(Lexer: TX3DLexer; Reader: TX3DReader); override; | 
![]()  | 
class function X3DType: String; override; | 
![]()  | 
class function CreateEvent(const AParentNode: TX3DFileItem; const AName: String; const AInEvent: boolean): TX3DEvent; override; | 
![]()  | 
procedure ParseXMLAttribute(const AttributeValue: String; Reader: TX3DReader); override; | 
![]()  | 
function SaveToXmlValue: TSaveToXmlMethod; override; | 
![]()  | 
procedure Assign(Source: TPersistent); override; | 
![]()  | 
procedure AssignValue(Source: TX3DField); override; | 
![]()  | 
procedure AssignDefaultValueFromValue; override; | 
![]()  | 
procedure UnassignDefaultValue; override; | 
![]()  | 
function Equals(SecondValue: TX3DField): boolean; override; | 
![]()  | 
function EqualsDefaultValue: boolean; override; | 
![]()  | 
procedure Send(const AValue: array of string); overload; | 
![]()  | 
procedure Send(const AValue: TCastleStringList); overload; | 
Properties
![]()  | 
property Items: TCastleStringList read FItems write SetItems; | 
![]()  | 
property ItemsSafe[Index:Integer]: String read GetItemsSafe write SetItemsSafe; | 
Description
Methods
![]()  | 
constructor Create(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: String; const InitialContent: array of string); | 
![]()  | 
constructor CreateUndefined(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: String); override; | 
![]()  | 
destructor Destroy; override; | 
![]()  | 
function FastEqualsValue(SecondValue: TX3DField): boolean; override; | 
![]()  | 
procedure ParseValue(Lexer: TX3DLexer; Reader: TX3DReader); override; | 
| 
 Parse MF field. This class handles parsing fully, usually no need to override this more in descendants. It uses TSingleField.Parse method.  | |
![]()  | 
class function X3DType: String; override; | 
![]()  | 
class function CreateEvent(const AParentNode: TX3DFileItem; const AName: String; const AInEvent: boolean): TX3DEvent; override; | 
![]()  | 
procedure ParseXMLAttribute(const AttributeValue: String; Reader: TX3DReader); override; | 
![]()  | 
function SaveToXmlValue: TSaveToXmlMethod; override; | 
![]()  | 
procedure Assign(Source: TPersistent); override; | 
| 
 Copy another field value, default value and other properties.  | |
![]()  | 
procedure AssignValue(Source: TX3DField); override; | 
![]()  | 
procedure AssignDefaultValueFromValue; override; | 
![]()  | 
procedure UnassignDefaultValue; override; | 
![]()  | 
function Equals(SecondValue: TX3DField): boolean; override; | 
| 
 Checks equality between this and SecondValue field. In addition to inherited(Equals), this checks the actual contents of the items. Note that floating-point values are compared with some tolerance for errors by this method.  | |
![]()  | 
function EqualsDefaultValue: boolean; override; | 
![]()  | 
procedure Send(const AValue: array of string); overload; | 
| 
 Set the field's value in a correct way (by sending X3D event, or at least notifying the parent scene).  | |
![]()  | 
procedure Send(const AValue: TCastleStringList); overload; | 
Properties
![]()  | 
property Items: TCastleStringList read FItems write SetItems; | 
![]()  | 
property ItemsSafe[Index:Integer]: String read GetItemsSafe write SetItemsSafe; | 
Generated by PasDoc 0.16.0.
