dynapi.gui.HTMLComponent - Quick Reference
Constructor
- HTMLComponent(css)
- ...
Events
[none]
Design Properties
- backCol
- Base color for component
- foreCol
- Foreground (or text) color for component
- sndOnClick
- Plays a FlashSound target & frame when the onclick event is
triggered. For example, when the HTMLButton is clicked and the sndOnClick
property is to /click@start, the component will play the
click sound located at target "/click" and at frame
"start".
- sndOnMouseover
- Plays a FlashSound target & frame when the onmouseover event is
triggered
- sndOnMouseout
- Plays a FlashSound target & frame when the onmouseout event is
triggered
- sndOnChange
- Plays a FlashSound target & frame when the onchange event is
triggered
- sndOnKeypress
- Plays a FlashSound target & frame when the onkeypress event is
triggered
Public Methods
- allowEvent()
- This is allow an event generated by the html element to be executed.
- cancelEvent()
- Cancels the event generated by the html element.
- getOuterHTML()
- Returns both inner and outer html for the component
- getElm()
- Returns the components elements
- getCss()
- Returns the component's style sheet object
- playSound(target)
- Uses the FSO for generating sounds for specific events
- setFlashSound(fs)
- Used to set the FlashSound Object (FSO) for the selected component
Private Methods
- HC
- Reference to the HTMLComponent object
- FSO
- FlashSound Object
- _inlineEvents
- ...
- _assignElm()
- ....
- _createInserted()
- ...
- _generateInlineEvents(htc)
- ...
- _e(evt,elm,args)
- Component Event Handler
- _ePlaySnd(evt)
- Component Sound Event Handler
Static Methods
- HTMLComponent.pixel
- Pixel Image object
- HTMLComponent.buildLayer(id,attribs,html)
- ...
- HTMLComponent.getLayerById(id,doc)
- ...
- HTMLComponent.writeStyle(s)
- ...
- HTMLComponent._lyrSetLocation
- ...
- HTMLComponent._lyrSetVisible
- ...
- HTMLComponent.setFlashSound(fs)
- Used to set the FlashSound Object (FSO) for all HTMLComponents
-