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
Method Summary |
void
|
base(node)
|
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
isTabButtonAnimated
Object isTabButtonAnimated
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".
base
void base(node)
Parameters:
node
- the DOM Element node that is marked as Tab Button by means of setting its "mo:type" attribute to a value that has the prefix "TabButton". This means the name of the class that extends this class must start "TabButton" i.e. "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 - 2008, MOR YAZILIM
Documentation generated by
JSDoc on Mon Sep 29 14:52:55 2008