|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--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()
Method Detail |
void close()
void execCommand(<string> command, <boolean> user_interface, <mixed> value)
command
- Command name to execute, for example mceLink or Bold.
user_interface
- True/false state if a UI (dialog) should be presented or not.
value
- Optional command value, this can be anything.
void executeOnLoad(<string> str)
str
- String to evaluate on load.
Object getWindowArg(<string> name, <string> default_value)
name
- Argument name to retrive.
default_value
- Optional default value to assign if the argument wasn't set.
void init()
void onLoad()
void openBrowser(<string> element_id, <string> type, <string> option)
element_id
- Id of the element to set value in.
type
- Type of browser to open image/file/flash.
option
- Option name to get the file_broswer_callback function name from.
void pickColor(<DOMEvent> e, <string> element_id)
e
- DOM event object.
element_id
- Element id to be filled with the color value from the picker.
void resizeToContent()
void resizeToInnerSize()
void restoreSelection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |