Class TinyMCE_Control

Object
   |
   +--TinyMCE_Control

class TinyMCE_Control

Defined in TinyMCE_Control.class.js


Field Summary
 Object cleanup
          
 Object hasMouseMoved
          
 Object isTinyMCE_Control
          
 Object plugins
          
 Object selection
          
 Object settings
          
 Object shortcuts
          
 Object undoRedo
          
 Object undoRedoLevel
          
 
Constructor Summary
TinyMCE_Control (<Array> settings)
            This is the TinyMCE editor control instance class.
 
Method Summary
 void addPlugin(<string> n, p)
           Adds a plugin to the editor instance.
 boolean addShortcut(<string> m, <Object> k, <string> d, <string> cmd, <boolean> ui, <Object> va)
           Adds a keyboard shortcut to a specific command.
 void autoResetDesignMode()
           Auto resets the design mode of the document if it gets lost.
 Object execCommand(<string> command, <boolean> user_interface, <mixed> value)
           Executes a command on the current instance.
 HTMLElement getBody()
           Returns the body element of a editor instance.
 DOMDocument getDoc()
           Returns the DOM document of a editor instance.
 HTMLElement getFocusElement()
           Returns the currently selected element.
 DOMRange getRng()
           Returns the browsers selections first range instance.
 DOMSelection getSel()
           Returns the browsers selection instance.
 Window getWin()
           Returns the window of a editor instance.
 boolean handleShortcut(<DOMEvent> e)
           Executes shortcuts based on the event information.
 boolean hasPlugin(<string> n)
           Returns true/false if the instance has the current plugin available.
 boolean isDirty()
           Returns true/false if the editor instance is dirty or not.
 boolean isHidden()
           Returns if the instance is hidden or not.
 boolean queryCommandState(<string> c)
           Returns a command specific state, for example if bold is enabled or not.
 mixed queryCommandValue(<string> c)
           Returns a command specific value, for example the current font size.
 void repaint()
           Repaints the editarea in Gecko browsers.
 void setBaseHREF(<string> u)
           Sets the base href url of the current document instance.
 void switchSettings()
           Switches the global TinyMCE settings to the current instance settings.

Field Detail

cleanup

Object cleanup

hasMouseMoved

Object hasMouseMoved

isTinyMCE_Control

Object isTinyMCE_Control

plugins

Object plugins

selection

Object selection

settings

Object settings

shortcuts

Object shortcuts

undoRedo

Object undoRedo

undoRedoLevel

Object undoRedoLevel

Constructor Detail

TinyMCE_Control

TinyMCE_Control(<Array> settings)

Method Detail

addPlugin

void addPlugin(<string> n, p)

addShortcut

boolean addShortcut(<string> m, <Object> k, <string> d, <string> cmd, <boolean> ui, <Object> va)

autoResetDesignMode

void autoResetDesignMode()

execCommand

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

getBody

HTMLElement getBody()

getDoc

DOMDocument getDoc()

getFocusElement

HTMLElement getFocusElement()

getRng

DOMRange getRng()

getSel

DOMSelection getSel()

getWin

Window getWin()

handleShortcut

boolean handleShortcut(<DOMEvent> e)

hasPlugin

boolean hasPlugin(<string> n)

isDirty

boolean isDirty()

isHidden

boolean isHidden()

queryCommandState

boolean queryCommandState(<string> c)

queryCommandValue

mixed queryCommandValue(<string> c)

repaint

void repaint()

setBaseHREF

void setBaseHREF(<string> u)

switchSettings

void switchSettings()


Documentation generated by JSDoc on Fri Feb 24 13:38:20 2006