|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--mozile.gui.htmlToolbar.Button
Defined in htmlToolbar.js
| Field Summary | |
mozile.edit.Command |
command
The command that owns this button. |
Element |
element
The button's element. |
Object |
image
|
Object |
menu
|
mozile.edit.Command |
parent
The button or menu that this command belongs to, if any. |
String |
type
The type of this object. |
| Constructor Summary | |
mozile.gui.htmlToolbar.Button
()
Creates a button for a command. |
|
| Method Summary | |
Void
|
getPosition()
Get the position of the button. |
Boolean
|
isActive(<Event> event)
Determine if the command is active. |
Boolean
|
isAvailable(<Event> event)
Determine if the command is available. |
Void
|
press(<Event> event)
Activate the button. |
| Field Detail |
mozile.edit.Command command
Element element
Object image
Object menu
mozile.edit.Command parent
String type
| Constructor Detail |
mozile.gui.htmlToolbar.Button()
command -
| Method Detail |
Void getPosition()
Boolean isActive(<Event> event)
event - Optional. The current event.
Boolean isAvailable(<Event> event)
event - Optional. The current event.
Void press(<Event> event)
event - The event object which caused the button press.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||