Class TabButtonAnimated
Object
|
+--TabButton
|
+--TabButtonAnimated
- class
TabButtonAnimated
- extends TabButton
Represents an Animated Tab Button.
This class wraps an HTML IMG element with the
following attributes. Five images should be supplied for Normal, Mouse Over,
Mouse Down, Selected and Disabled modes of the button.
Defined in Tabs.js
|
Field Summary |
HTMLELement |
img
The HTML IMG element object |
Object |
props
TabButtonAnimated Properties Object. |
|
Method Summary |
void
|
deselect()
Removes the "selected tab" image and makes the "normal image" visible
|
void
|
init()
Initializes this TabButton and loads all the used image elements
|
void
|
mouseDown()
Makes the "mousedown image" visible
|
void
|
mouseOut()
Makes the "normal image" visible
|
void
|
mouseOver()
Makes the "mouseover image" visible
|
void
|
mouseUp()
Swithes to the associated tab related to this button
|
void
|
select()
Marks this tab as the selected tab and makes the "selected image" visible
|
void
|
setDisabled(value)
Sets the disabled status of this Button object.
|
img
HTMLELement img
The HTML IMG element object
props
Object props
TabButtonAnimated 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 |
| selectedSource | The image source for the "selected" mode of this button |
| disabledSource | The image source for the "disabled" mode of this button |
| isDisabled | Flag denotes that the AnmatedTabButton associated with this button is disabled and visible. |
TabButtonAnimated
TabButtonAnimated(node)
Parameters:
node - the DOM Element node that is marked as a Tab Button by means of "mo:type" attribute with a value of "TabButtonAnimated".
deselect
void deselect()
Removes the "selected tab" image and makes the "normal image" visible
init
void init()
Initializes this TabButton and loads all the used image elements
mouseDown
void mouseDown()
Makes the "mousedown image" visible
mouseOut
void mouseOut()
Makes the "normal image" visible
mouseOver
void mouseOver()
Makes the "mouseover image" visible
mouseUp
void mouseUp()
Swithes to the associated tab related to this button
select
void select()
Marks this tab as the selected tab and makes the "selected image" visible
setDisabled
void setDisabled(value)
Sets the disabled status of this Button object.
Parameters:
value - The boolean value, either true or false.
Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by
JSDoc on Fri Mar 4 11:53:29 2011