Class Index | File Index

Classes


Class RXBuild.UI.Dialog

The RXBuild.UI.Dialog displays a YUI dialog with a text area or provided HTMLElement as main content, and configurable verbs
Defined in: ui_dialog_extensions.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new instance of TextAreaDialog
Field Summary
Field Attributes Field Name and Description
 
The YUI close/cancel button - used internally.
 
The YUI ok button - used internally.
 
The YUI dialog - used internally.
 
The name of the div element that this item provided to YUI
 
The dynamically create text area - used internally.
Method Summary
Method Attributes Method Name and Description
 
show(headerHTML, defaultText, verbs, callback, callbackContext)
Displays modally the dialog box with the provided header, text and buttons.
Class Detail
RXBuild.UI.Dialog(divName)
Creates a new instance of TextAreaDialog
Parameters:
{String} divName
The name of the div element that this item will provide to YUI
Field Detail
{YAHOO.widget.Button} _btnCancel
The YUI close/cancel button - used internally.

{YAHOO.widget.Button} _btnOk
The YUI ok button - used internally.

{YAHOO.widget.Dialog} dialog
The YUI dialog - used internally.

{String} divName
The name of the div element that this item provided to YUI

{HTMLTextArea} textBox
The dynamically create text area - used internally.
Method Detail
show(headerHTML, defaultText, verbs, callback, callbackContext)
Displays modally the dialog box with the provided header, text and buttons.
Parameters:
{String} headerHTML
HTML content to display in the header of the dialog
{String|HTMLElement} defaultText
The main content to display in the dialogs body initially
{String[]|String} verbs
Optional. An array of labels to put on the OK and Cancel buttons (respectively)
{Function} callback
Optional. The method to call when the user validates the dialog.
{object} callbackContext
Optional. The object to scope before calling callback

Documentation generated by JsDoc Toolkit 2.0.2 on Mon May 02 2016 20:27:57 GMT+0200 (CEST)