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 (Init)
- 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:
- CND - needed in a Class (e.g. Contents attribute of
Window class is Needed at Init time and so it is IND)
- G2N - the attribute is Mixed but when it is read or notified, it
becomes a Number (e.g. Active attribute of List class may be specified at
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)