Yahoo! UI Library

editor  2.3.0

Yahoo! UI Library > editor > YAHOO.widget.EditorWindow

Show Private Show Protected

Class YAHOO.widget.EditorWindow

Class to hold Window information between uses. We use the same panel to show the windows, so using this will allow you to configure a window before it is shown. This is what you pass to Editor.openWindow();. These parameters will not take effect until the openWindow() is called in the editor.

Properties

Methods

setBody

void setBody ( str )
Sets the body for the window.
Parameters:
str <String/HTMLElement> The string or DOM reference to be used as the windows body.
Returns: void

setFooter

void setFooter ( str )
Sets the footer for the window.
Parameters:
str <String/HTMLElement> The string or DOM reference to be used as the windows footer.
Returns: void

setHeader

void setHeader ( str )
Sets the header for the window.
Parameters:
str <String/HTMLElement> The string or DOM reference to be used as the windows header.
Returns: void

toString

String toString ( )
Returns a string representing the EditorWindow.
Returns: String


Copyright © 2007 Yahoo! Inc. All rights reserved.