Class AnimatedButton
Object
|
+--AnimatedButton
- class
AnimatedButton
Represents an Animated Button. This class wraps an HTML IMG
element with the
following attributes. Four images should be supplied for Normal, Mouse Over,
Mouse Down and Disabled modes of the button.
<img
src="button/images/normal.gif"
mo:type="AnimatedButton" mo:needsInit="true"
mo:props="
normalSource : 'button/images/normal.gif',
mouseOverSource: 'button/images/mouseover.gif',
mouseDownSource: 'button/images/mousedown.gif',
disabledSource : 'button/images/disabled.gif'
"
/>
Defined in Buttons.js
Field Summary |
HTMLELement |
img
The HTML IMG element object |
Object |
isAnimatedButton
|
Object |
props
AnimatedButton Properties Object. |
Method Summary |
void
|
base(node)
|
void
|
setDisabled(value)
Sets the disabled status of this Button object.
|
img
HTMLELement img
The HTML IMG
element object
isAnimatedButton
Object isAnimatedButton
props
Object props
AnimatedButton Properties Object.
normalSource | The image source for the "normal" mode of this button |
mouseOverSource | The image source for the "mouseOver" mode of this button |
mouseDownSource | The image source for the "mouseDown" mode of this button |
disabledSource | The image source for the "disabled" mode of this button |
isDisabled | Denotes that this button is not functional |
AnimatedButton
AnimatedButton(node)
Parameters:
node
- the DOM Element node that is wrapped by this object
base
void base(node)
Parameters:
node
- the DOM Element node that is wrapped by this object
setDisabled
void setDisabled(value)
Sets the disabled status of this Button object.
Parameters:
value
- The boolean value, either true
or false
.
Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by
JSDoc on Mon Sep 29 14:52:55 2008