<observes> |
|||||||||||||||
The <observes> element can be made a child of any node that wants to observe a broadcaster:
The observes element's attributes further specify what part of the broadcaster is being observed.
|
|||||||||||||||
element | |||||||||||||||
Description
The element attribute names the element that the parent node is observing.Syntax <observes element="broadcaster id" />Example <menuitem value="Cut">Notes In the example above, a broadcaster with the id "cut_node" is being observed by the menuitem element.
|
|||||||||||||||
attribute | |||||||||||||||
Description
The attribute attribute names the particular broadcaster attributes that are being observed.Syntax <observes element="broadcaster id" attribute="attribute name" />Example <menuitem value="Cut">Notes When attribute is not used, all of the attributes of the identified broadcaster are observed. In the example above, the disabled attribute of a broadcaster with the id "cut_node" is being observed by the menuitem. When disabled on the broadcaster is set to true, then the menuitem is automatically disabled. |
|||||||||||||||
mapto | |||||||||||||||
Description
XXX may not be implemented.Syntax <observes mapto="event listener on observing node" />Example Notes |
|||||||||||||||
event | |||||||||||||||
Description
XXX may not be implemented.Syntax <observes event="event to observe" />Example Notes |