Difference between revisions of "Gadget"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (Yvonne.milne moved page Visage Application Framework - Gadget to Gadget without leaving a redirect) |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
+ | |||
====Properties==== | ====Properties==== | ||
Line 11: | Line 13: | ||
|Caption | |Caption | ||
|RW | |RW | ||
− | | | + | |Character |
− | | | + | |Text displayed in caption |
|- | |- | ||
|} | |} | ||
Line 25: | Line 27: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | | | + | |AddObject |
− | | | + | |existing as Object | newobject as Character, class as Character |
− | | | + | |Add an existing object or a new object, in which case the object's class must also be specified and optionally its caption |
|- | |- | ||
− | | | + | |RemoveObject |
− | | | + | |existing as Object |
− | | | + | |Remove the specified object |
|- | |- | ||
|} | |} |
Revision as of 12:33, 21 December 2012
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
This class supports the Common properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Caption | RW | Character | Text displayed in caption |
Methods
This class supports the Common methods plus the following:
Method | Args | Description |
---|---|---|
AddObject | existing as Object | newobject as Character, class as Character | Add an existing object or a new object, in which case the object's class must also be specified and optionally its caption |
RemoveObject | existing as Object | Remove the specified object |
Events
This class supports the Common events plus the following:
Event | Args | Description |
---|