public class Model implements IsSerializable(Code)
Models are generic data structures that notify listeners when
changed. The structure allows a form of 'introspection' as all property names
and values can be queried and retrieved at runtime.
All events fired by the model will bubble to all parents.
Model objects implement Serializable and can therefore
be used with GWT RPC. A model's children are not marked transient and will be
passed in remote procedure calls.
Returns a proprty value as a String by simplying calling toString on the
value. Subclasses should override to provide more specific behavior.
Parameters: name - the property name the String value
Inserts a child to the model and fires an insert event.
Parameters: child - the child to be inserted Parameters: index - the location to insert the child