GEOS SDK TechDocs
|
|
|
4 GenDynamicListClass
|
5.1 GenBooleanGroup Instance Data
GenBooleanGroupClass
provides a list of items (GenBoolean objects) that may be individually set regardless of the state of other items in the list. The GenBooleanGroup is similar in behavior to a non-exclusive GenItemGroup in that each item may be selected independently of other selections. Unlike a non-exclusive GenItemGroup, however, GenBooleanGroup also allows your application to keep track of individual states for each item.
The GenBooleanGroup uses a word of data (16 bits) to keep track of the various states of its GenBoolean children. As a result, the maximum number of children allowed for a GenBooleanGroup object is 16. If you need non-exclusive behavior but have more than 16 children, you should either split the children between several GenBooleanGroups or use a non-exclusive GenItemGroup (or GenDynamicList).
GenBooleanClass
is the basic item class for the
GenBooleanGroupClass
. It contains an entry that is set on or off. For example, a menu of font styles might have many entries such as "bold" or "italic," each of which could be on or off, independent of each other. Each of those entries should be represented as a GenBoolean object.
GEOS SDK TechDocs
|
|
|
4 GenDynamicListClass
|
5.1 GenBooleanGroup Instance Data