Class | tinyMCEPopup |
Type | Singleton |
Method | Defined By |
---|---|
alert(t:String, cb:function, s:Object):void
[static] Creates a alert dialog.
|
tinyMCEPopup |
close():void
[static] Closes the current window.
|
tinyMCEPopup |
confirm(t:String, cb:function, s:Object):void
[static] Creates a confirm dialog.
|
tinyMCEPopup |
execCommand(cmd:String, ui:Boolean, val:Object, a:Object):void
[static] Executed a command on editor that opened the dialog/popup.
|
tinyMCEPopup |
executeOnLoad(s:String):void
[static] Will executed the specified string when the page has been loaded.
|
tinyMCEPopup |
getLang(n:String, dv:String):String
[static] Returns a language item by key.
|
tinyMCEPopup |
getParam(n:String, dv:String):String
[static] Returns a editor parameter/config option value.
|
tinyMCEPopup |
getWin():Window
[static] Returns the reference to the parent window that opened the dialog.
|
tinyMCEPopup |
getWindowArg(n:String, dv:String):String
[static] Returns a window argument/parameter by name.
|
tinyMCEPopup |
init():void
[static] Initializes the popup this will be called automatically.
|
tinyMCEPopup |
openBrowser(element_id:string, type:string, option:string):void
[static] Opens a filebrowser/imagebrowser this will set the output value from the browser as a value on the specified element.
|
tinyMCEPopup |
pickColor(e:DOMEvent, element_id:string):void
[static] Executes a color picker on the specified element id.
|
tinyMCEPopup |
requireLangPack():void
[static] Loads a specific dialog language pack.
|
tinyMCEPopup |
resizeToInnerSize():void
[static] Resizes the dialog to the inner size of the window.
|
tinyMCEPopup |
restoreSelection():void
[static] Restores any stored selection.
|
tinyMCEPopup |
storeSelection():void
[static] Stores the current editor selection for later restoration.
|
tinyMCEPopup |
Event | Defined By |
---|---|
[static] Fires when the popup is initialized.
|
tinyMCEPopup |
public static
function alert(t:String, cb:function, s:Object):void
t:String | Title for the new alert dialog. |
cb:function | Callback function to be executed after the user has selected ok. |
s:Object | Optional scope to execute the callback in. |
public static
function close():void
public static
function confirm(t:String, cb:function, s:Object):void
t:String | Title for the new confirm dialog. |
cb:function | Callback function to be executed after the user has selected ok or cancel. |
s:Object | Optional scope to execute the callback in. |
public static
function execCommand(cmd:String, ui:Boolean, val:Object, a:Object):void
cmd:String | Command to execute. |
ui:Boolean | Optional boolean value if the UI for the command should be presented or not. |
val:Object | Optional value to pass with the comman like an URL. |
a:Object | Optional arguments object. |
public static
function executeOnLoad(s:String):void
s:String | String to evalutate on init. |
public static
function getLang(n:String, dv:String):String
n:String | Language item like mydialog.something. |
dv:String | Optional default value to return. |
public static
function getParam(n:String, dv:String):String
n:String | Name of the editor config option to retrive. |
dv:String | Optional default value to return. |
public static
function getWin():Window
public static
function getWindowArg(n:String, dv:String):String
n:String | Name of the window argument to retrive. |
dv:String | Optional default value to return. |
public static
function init():void
public static
function openBrowser(element_id:string, type:string, option:string):void
element_id:string | Id of the element to set value in. |
type:string | Type of browser to open image/file/flash. |
option:string | Option name to get the file_broswer_callback function name from. |
public static
function pickColor(e:DOMEvent, element_id:string):void
e:DOMEvent | DOM event object. |
element_id:string | Element id to be filled with the color value from the picker. |
public static
function requireLangPack():void
_dlg.js lang pack file.
public static
function resizeToInnerSize():void
public static
function restoreSelection():void
public static
function storeSelection():void