Class mozile.gui.htmlToolbar.Button

Object
   |
   +--mozile.gui.htmlToolbar.Button
Direct Known Subclasses:
mozile.gui.htmlToolbar.Menu, mozile.gui.htmlToolbar.MenuItem

class 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

command

mozile.edit.Command command

element

Element element

image

Object image

menu

Object menu

parent

mozile.edit.Command parent

type

String type

Constructor Detail

mozile.gui.htmlToolbar.Button

mozile.gui.htmlToolbar.Button()

Method Detail

getPosition

Void getPosition()

isActive

Boolean isActive(<Event> event)

isAvailable

Boolean isAvailable(<Event> event)

press

Void press(<Event> event)


Documentation generated by JSDoc on Wed Feb 20 13:25:28 2008