Class TinyMCE_Popup

Object
   |
   +--TinyMCE_Popup

class TinyMCE_Popup

Defined in TinyMCE_Popup.class.js


Constructor Summary
TinyMCE_Popup ()
            Constructor for the popup class.
 
Method Summary
 void close()
           Closes the current window.
 void execCommand(<string> command, <boolean> user_interface, <mixed> value)
           Executes the specific command on the parent instance that opened the window.
 void executeOnLoad(<string> str)
           Executes the specified string onload.
 Object getWindowArg(<string> name, <string> default_value)
           Returns a window argument, window arguments can be passed from a plugin to a window by using the tinyMCE.openWindow function.
 void init()
           Initializes the TinyMCE Popup class.
 void onLoad()
           Gets executed when the window has finished loading it's contents.
 void openBrowser(<string> element_id, <string> type, <string> option)
           Opens a filebrowser/imagebrowser this will set the output value from the browser as a value on the specified element.
 void pickColor(<DOMEvent> e, <string> element_id)
           Executes a color picker on the specified element id.
 void resizeToContent()
           Resizes the current window to the dimensions of the body.
 void resizeToInnerSize()
           Resizes the current window to it's inner body size.
 void restoreSelection()
           Restores the selection back to the one stored after executing a command.

Constructor Detail

TinyMCE_Popup

TinyMCE_Popup()

Method Detail

close

void close()

execCommand

void execCommand(<string> command, <boolean> user_interface, <mixed> value)

executeOnLoad

void executeOnLoad(<string> str)

getWindowArg

Object getWindowArg(<string> name, <string> default_value)

init

void init()

onLoad

void onLoad()

openBrowser

void openBrowser(<string> element_id, <string> type, <string> option)

pickColor

void pickColor(<DOMEvent> e, <string> element_id)

resizeToContent

void resizeToContent()

resizeToInnerSize

void resizeToInnerSize()

restoreSelection

void restoreSelection()


Documentation generated by JSDoc on Wed Mar 22 13:20:28 2006