string |
CSS_SIMPLEDIALOG
Constant representing the default CSS class used for a SimpleDialog
|
string |
ICON_ALARM
Constant for the standard network icon for alarm
|
string |
ICON_BLOCK
Constant for the standard network icon for a blocking action
|
string |
ICON_HELP
Constant for the standard network icon for help
|
string |
ICON_INFO
Constant for the standard network icon for info
|
string |
ICON_TIP
Constant for the standard network icon for a tip
|
string |
ICON_WARN
Constant for the standard network icon for warn
|
Class YAHOO.widget.SimpleDialog
Object | +--YAHOO.widget.SimpleDialog
class
YAHOO.widget.SimpleDialog
Field Summary [top]
Constructor Summary [top]
YAHOO.widget.SimpleDialog
Copyright (c) 2006, Yahoo!
Method Summary [top]
void |
configIcon
(type,args,obj)
Fired when the "icon" property is set.
|
void |
configText
(type,args,obj)
Fired when the "text" property is set.
|
void |
init
(<string> <Element> el, <object> userConfig)
The SimpleDialog initialization method, which is executed for SimpleDialog and all of its subclasses.
|
void |
initDefaultConfig
()
Initializes the class's configurable properties which can be changed using the SimpleDialog's Config object (cfg).
|
void |
registerForm
()
Prepares the SimpleDialog's internal FORM object, creating one if one is not currently present, and adding the value hidden field.
|
string |
toString
()
Returns a string representation of the object.
|
Field Detail [top]
CSS_SIMPLEDIALOG
string
CSS_SIMPLEDIALOG
Constant representing the default CSS class used for a SimpleDialog
ICON_ALARM
string
ICON_ALARM
Constant for the standard network icon for alarm
ICON_BLOCK
string
ICON_BLOCK
Constant for the standard network icon for a blocking action
ICON_HELP
string
ICON_HELP
Constant for the standard network icon for help
ICON_INFO
string
ICON_INFO
Constant for the standard network icon for info
ICON_TIP
string
ICON_TIP
Constant for the standard network icon for a tip
ICON_WARN
string
ICON_WARN
Constant for the standard network icon for warn
Constructor Detail [top]
YAHOO.widget.SimpleDialog
YAHOO.widget.SimpleDialog
()
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
- Parameters:
-
el
- The element ID representing the SimpleDialog OR -
el
- The element representing the SimpleDialog -
userConfig
- The configuration object literal containing the configuration that should be set for this SimpleDialog. See configuration documentation for more details.
Method Detail [top]
configIcon
void
configIcon
(type,args,obj)
Fired when the "icon" property is set.
HASH(0x1defe70)
configText
void
configText
(type,args,obj)
Fired when the "text" property is set.
HASH(0x1dad144)
init
void
init
(<string> <Element> el, <object> userConfig)
The SimpleDialog initialization method, which is executed for SimpleDialog and all of its subclasses. This method is automatically called by the constructor, and sets up all DOM references for pre-existing markup, and creates required markup if it is not already present.
- Parameters:
-
el
- The element ID representing the SimpleDialog OR -
el
- The element representing the SimpleDialog -
userConfig
- The configuration object literal containing the configuration that should be set for this SimpleDialog. See configuration documentation for more details.
initDefaultConfig
void
initDefaultConfig
()
Initializes the class's configurable properties which can be changed using the SimpleDialog's Config object (cfg).
HASH(0x1dad588)
registerForm
void
registerForm
()
Prepares the SimpleDialog's internal FORM object, creating one if one is not currently present, and adding the value hidden field.
HASH(0x1dad768)
toString
string
toString
()
Returns a string representation of the object.
HASH(0x1dadc54)