Class TinyMCE_Layer

Object
   |
   +--TinyMCE_Layer

class TinyMCE_Layer

Defined in TinyMCE_Layer.class.js


Constructor Summary
TinyMCE_Layer (<string> id, <boolean> bm)
            Constructor for the TinyMCE Layer.
 
Method Summary
 HTMLElement create(<string> n, <string> c, <HTMLElement> p)
           Creates a element for the layer based on the id and specified name.
 Object getAbsPosition(<DOMElement> n)
           Returns the absolute x, y cordinate of the specified node.
 HTMLElement getBlocker()
           Returns the blocker DOM element, this is a invisible iframe.
 HTMLElement getElement()
           Returns the DOM element that the layer is binded to.
 void hide()
           Hides the layer.
 boolean isVisible()
           Returns true/false if the layer is visible or not.
 void moveBy(<int> x, <int> y)
           Moves the layer relative in pixels.
 void moveRelativeTo(<HTMLElement> re, <string> p)
           Moves the layer relative to the specified HTML element.
 void moveTo(<int> x, <int> y)
           Moves the layer absolute in pixels.
 int parseInt(<string> s)
           Parses a int value this method will return 0 if the string is empty.
 void resizeBy(<int> w, <int> h)
           Resizes the layer by the specified relative width and height.
 void resizeTo(<int> w, <int> h)
           Resizes the layer to the specified width and height.
 void setBlockMode(<boolean> s)
           Sets the block mode.
 void show()
           Shows the layer.
 void updateBlocker()
           Updates the select/iframe/flash blocker this will also block the caret in Firefox.

Constructor Detail

TinyMCE_Layer

TinyMCE_Layer(<string> id, <boolean> bm)

Method Detail

create

HTMLElement create(<string> n, <string> c, <HTMLElement> p)

getAbsPosition

Object getAbsPosition(<DOMElement> n)

getBlocker

HTMLElement getBlocker()

getElement

HTMLElement getElement()

hide

void hide()

isVisible

boolean isVisible()

moveBy

void moveBy(<int> x, <int> y)

moveRelativeTo

void moveRelativeTo(<HTMLElement> re, <string> p)

moveTo

void moveTo(<int> x, <int> y)

parseInt

int parseInt(<string> s)

resizeBy

void resizeBy(<int> w, <int> h)

resizeTo

void resizeTo(<int> w, <int> h)

setBlockMode

void setBlockMode(<boolean> s)

show

void show()

updateBlocker

void updateBlocker()


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