|
MoreMotion Face API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--TabButton
Base class for Tab Button classes. A Tab Button class should extend this class and override its
abstract methods.
Defined in Tabs.js
Field Summary | |
Object |
isTabButton
|
Constructor Summary | |
TabButton(node)
|
Method Summary | |
void
|
base(node)
|
void
|
deselect()
Abstract method that is called when the button looses the selection. |
TabControl
|
getTabControl()
Returns the TabControl that this button resides in |
void
|
mouseDown()
Abstract method that is called when the mouse button is pressed down on the button element. |
void
|
mouseOut()
Abstract method that is called when the mouse moves out from the button element. |
void
|
mouseOver()
Abstract method that is called when the mouse moves over to the button element. |
void
|
mouseUp()
Abstract method. |
void
|
select()
Abstract method that is called when the button element is clicked. |
void
|
setCaption(caption)
Abstract method that is called to set a caption to the button. |
Field Detail |
Object isTabButton
Constructor Detail |
TabButton(node)
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".
Method Detail |
void base(node)
node
- the DOM Element node that is wrapped by this object
void deselect()
TabControl getTabControl()
void mouseDown()
void mouseOut()
void mouseOver()
void mouseUp()
void select()
void setCaption(caption)
|
MoreMotion Face API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |