Difference between revisions of "QuestionGroupTree class"
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{CGscriptClass_Template | |
+ | |Name=<nowiki>QuestionGroupTree</nowiki> | ||
+ | |Description=<nowiki>A question group in questionnaire.</nowiki> | ||
+ | |InheritsFrom=object|Methods= | ||
+ | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}} | ||
+ | |Properties= | ||
+ | {{CGscriptProperties_Template|ReturnType=Array of strings|Name=<nowiki>AllQuestions</nowiki>|HasGetter=1|Description=<nowiki>Labels of all questions in this group</nowiki>}} | ||
+ | {{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>Count</nowiki>|HasGetter=1|Description=<nowiki>How many children in this group</nowiki>}} | ||
+ | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>GroupName</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Name of question group</nowiki>}} | ||
+ | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>IsLeaf</nowiki>|HasGetter=1|Description=<nowiki>Check if it is leaf group or not</nowiki>}} | ||
+ | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>The name of the type of object.</nowiki>}} | ||
+ | {{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>SelectCount</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>How many child items will be used for Sequence_Command_RandomizedSelect or Sequence_Command_RotateSelect</nowiki>}} | ||
+ | {{CGscriptProperties_Template|ReturnType=SequenceCommand constant|Name=<nowiki>SequenceCommand</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Which kind of this group is it, use constant Sequence_Command_xxx</nowiki>}} | ||
+ | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>SequenceType</nowiki>|HasGetter=1|Description=<nowiki>Respent SequenceCommand as string</nowiki>}} | ||
+ | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} | ||
+ | }} |
Latest revision as of 10:46, 25 April 2022
QuestionGroupTree
A question group in questionnaire.
Parent class
Inherits from object
Methods
- (From object) string ToString() - The string representation of the object.
Properties
- Array of string AllQuestions { get; } - Labels of all questions in this group
- int Count { get; } - How many children in this group
- string GroupName { get; set; } - Name of question group
- bool IsLeaf { get; } - Check if it is leaf group or not
- (From object) string ObjectTypeName { get; } - The name of the type of object.
- number SelectCount { get; set; } - How many child items will be used for Sequence_Command_RandomizedSelect or Sequence_Command_RotateSelect
- SequenceCommand constant SequenceCommand { get; set; } - Which kind of this group is it, use constant Sequence_Command_xxx
- string SequenceType { get; } - Respent SequenceCommand as string
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.