Class YAHOO.ext.BasicDialog.Button
Package: | YAHOO.ext |
Class: | BasicDialog.Button |
Extends: | Object |
Defined In: | BasicDialog.js |
Button class returned by BasicDialog.addButton()
Public Properties
This class has no public properties.
Public Methods
|
disable() : void |
BasicDialog.Button |
Disable this button |
|
enable() : void |
BasicDialog.Button |
Enable this button |
|
focus() : void |
BasicDialog.Button |
Focus the button |
|
getEl() : YAHOO.ext.Element |
BasicDialog.Button |
Returns the buttons element |
|
hide() : void |
BasicDialog.Button |
Hide this button |
|
setHandler(Function handler , [Object scope ]) : void |
BasicDialog.Button |
Sets this buttons click handler |
|
setText(String text ) : void |
BasicDialog.Button |
Set this buttons text |
|
setVisible(Boolean visible ) : void |
BasicDialog.Button |
Convenience function for boolean show/hide |
|
show() : void |
BasicDialog.Button |
Show this button |
Public Events
This class has no public events.
Method Details
disable
public function disable()
This method is defined by BasicDialog.Button.
enable
public function enable()
This method is defined by BasicDialog.Button.
focus
public function focus()
This method is defined by BasicDialog.Button.
getEl
public function getEl()
Returns the buttons element
This method is defined by BasicDialog.Button.
hide
public function hide()
This method is defined by BasicDialog.Button.
setHandler
public function setHandler(Function handler
, [Object scope
])
Sets this buttons click handler
This method is defined by BasicDialog.Button.
setText
public function setText(String text
)
This method is defined by BasicDialog.Button.
setVisible
public function setVisible(Boolean visible
)
Convenience function for boolean show/hide
This method is defined by BasicDialog.Button.
show
public function show()
This method is defined by BasicDialog.Button.