Attributes define the properties of an object.
Any class defines its own attributes.
The class of an attribute defines in which
context it can be used:
- I - the attribute can be used at object creation time
- S - the attribute can be set
- G - the attribute can be read (got)
- N - the attribute is notified by the object
An attribute may be in more than a class, e.g.
ACTIVATE attribute of Window class is ISGN: it can be used at
Init-time, set, read and it is notified by RxMUI.
The type of an attribute defines its format:
- S - the attribute is a String
- N - the attribute is a Number
- M - the attribute is Mixed : it can be set as a
string or a number
- C - the attribute is a Char (a S with len 1)
- B - the attribute is a Boolean (it is N too)
Other properties are:
- ND - needed in a context (e.g. CONTENTS attribute of
Window class is needed at Init time and so it is
IND)
- G2N - the attribute is a S(tring) but when it is read or
notified, it becomes a N(umber) (e.g. ACTIVE attribute of
List class may be specified ad Init or Set time as a
string or a number - it is Mixed - but when it is read or
notified it is always a number, so it is a G2N)