MoreMotion Face API

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.
 
Constructor Summary
TabButtonAnimated(node)
           
 
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.
 
Methods inherited from class TabButton
setCaption, getTabControl, findParentTabNode
 

Field Detail

img

HTMLELement img

props

Object props

Constructor Detail

TabButtonAnimated

TabButtonAnimated(node)

Method Detail

deselect

void deselect()

init

void init()

mouseDown

void mouseDown()

mouseOut

void mouseOut()

mouseOver

void mouseOver()

mouseUp

void mouseUp()

select

void select()

setDisabled

void setDisabled(value)

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011