X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..b37ceabb82336ee82757cd32efe353cfab8ec267:/docs/output/Ext.Layer.html diff --git a/docs/output/Ext.Layer.html b/docs/output/Ext.Layer.html index a9bc8455..460b677f 100644 --- a/docs/output/Ext.Layer.html +++ b/docs/output/Ext.Layer.html @@ -463,7 +463,12 @@ Sizing of the document body is handled at the adapter level which handles specia : Array
Gets the current position of the element based on page coordinates. Element must be part of the DOM tree to have pag...
Gets the current position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
Parameters:
  • None.
Returns:
  • Array
    The XY position of the element
Element getY() : - Number
Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have p...
Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
Parameters:
  • None.
Returns:
  • Number
    The Y position of the element
Element hasClassString className ) + Number
Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have p...
Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
Parameters:
  • None.
Returns:
  • Number
    The Y position of the element
Element handleErrorObject/Error e ) + : + void
Framework-wide error-handler. Developers can override this method to provide +custom exception-handling. Framework e...
Framework-wide error-handler. Developers can override this method to provide +custom exception-handling. Framework errors will often extend from the base +Ext.Error class.
Parameters:
  • e : Object/Error
    The thrown exception object.
Returns:
  • void
Element hasClassString className ) : Boolean
Checks if the specified CSS class exists on this element's DOM node.
Checks if the specified CSS class exists on this element's DOM node.
Parameters:
  • className : String
    The CSS class to check for
Returns:
  • Boolean
    True if the class exists, else false
Element hide[Boolean/Object animate] ) : @@ -495,15 +500,17 @@ Sizing of the document body is handled at the adapter level which handles specia : Boolean
Returns true if this element is masked
Returns true if this element is masked
Parameters:
  • None.
Returns:
  • Boolean
Element isScrollable() : - Boolean
Returns true if this element is scrollable.
Returns true if this element is scrollable.
Parameters:
  • None.
Returns:
  • Boolean
Element isVisible[Boolean deep] ) + Boolean
Returns true if this element is scrollable.
Returns true if this element is scrollable.
Parameters:
  • None.
Returns:
  • Boolean
Element isVisible() : - Boolean
Checks whether the element is currently visible using both visibility and display properties.
Checks whether the element is currently visible using both visibility and display properties.
Parameters:
  • deep : Boolean
    (optional) True to walk the dom and see if parent elements are hidden (defaults to false)
Returns:
  • Boolean
    True if the element is currently visible, else false
Element last[String selector][Boolean returnDom] ) + Boolean
Checks whether the element is currently visible using both visibility and display properties.
Checks whether the element is currently visible using both visibility and display properties.
Parameters:
  • None.
Returns:
  • Boolean
    True if the element is currently visible, else false
Element last[String selector][Boolean returnDom] ) : - Ext.Element/HTMLElement
Gets the last child, skipping text nodes
Gets the last child, skipping text nodes
Parameters:
  • selector : String
    (optional) Find the previous sibling that matches the passed simple selector
  • returnDom : Boolean
    (optional) True to return a raw dom node instead of an Ext.Element
Returns:
  • Ext.Element/HTMLElement
    The last child or null
Element load() + Ext.Element/HTMLElement
Gets the last child, skipping text nodes
Gets the last child, skipping text nodes
Parameters:
  • selector : String
    (optional) Find the previous sibling that matches the passed simple selector
  • returnDom : Boolean
    (optional) True to return a raw dom node instead of an Ext.Element
Returns:
  • Ext.Element/HTMLElement
    The last child or null
Element loadMixed options. ) : - Ext.Element
Direct access to the Updater Ext.Updater.update method. The method takes the same object -parameter as Ext.Updater.upd...
Direct access to the Updater Ext.Updater.update method. The method takes the same object -parameter as Ext.Updater.update
Parameters:
  • None.
Returns:
  • Ext.Element
    this
Element mask[String msg][String msgCls] ) + Ext.Element
Updates the <a href="http://developer.mozilla.org/en/DOM/element.innerHTML">innerHTML of this Element +from a specifie...

Updates the innerHTML of this Element +from a specified URL. Note that this is subject to the Same Origin Policy

+

Updating innerHTML of an element will not execute embedded <script> elements. This is a browser restriction.

Parameters:
  • options. : Mixed
    Either a sring containing the URL from which to load the HTML, or an Ext.Ajax.request options object specifying +exactly how to request the HTML.
Returns:
  • Ext.Element
    this
Element mask[String msg][String msgCls] ) : Element
Puts a mask over this element to disable user interaction. Requires core.css. This method can only be applied to elem...
Puts a mask over this element to disable user interaction. Requires core.css. @@ -570,14 +577,11 @@ within this element's scrollable range.
Param was scrolled as far as it could go.
Element scrollIntoView[Mixed container][Boolean hscroll] ) : Ext.Element
Scrolls this element into view within the passed container.
Scrolls this element into view within the passed container.
Parameters:
  • container : Mixed
    (optional) The container element to scroll (defaults to document.body). Should be a -string (id), dom node, or Ext.Element.
  • hscroll : Boolean
    (optional) False to disable horizontal scroll (defaults to true)
Returns:
  • Ext.Element
    this
Element scrollToString sideNumber value[Boolean/Object animate] ) +string (id), dom node, or Ext.Element.
  • hscroll : Boolean
    (optional) False to disable horizontal scroll (defaults to true)
  • Returns:Element scrollToString sideNumber value ) : - Element
    Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it ...
    Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
    Parameters:
    • side : String
      Either "left" for scrollLeft values or "top" for scrollTop values.
    • value : Number
      The new scroll value
    • animate : Boolean/Object
      (optional) true for the default animation or a standard Element animation config object
    Returns:
    • Element
      this
    Element selectString/Array selector[Boolean unique][HTMLElement/String root] ) + Element
    Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it ...
    Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
    Parameters:
    • side : String
      Either "left" for scrollLeft values or "top" for scrollTop values.
    • value : Number
      The new scroll value.
    Returns:
    • Element
      this
    Element selectString selector ) : - CompositeElementLite/CompositeElement
    Selects elements based on the passed CSS selector to enable Element methods -to be applied to many related elements in...
    Selects elements based on the passed CSS selector to enable Element methods -to be applied to many related elements in one statement through the returned CompositeElement or -CompositeElementLite object.
    Parameters:
    • selector : String/Array
      The CSS selector or an array of elements
    • unique : Boolean
      (optional) true to create a unique Ext.Element for each element (defaults to a shared flyweight object)
    • root : HTMLElement/String
      (optional) The root element of the query or id of the root
    Returns:
    • CompositeElementLite/CompositeElement
    Element setObject o[Boolean useSet] ) + CompositeElement/CompositeElementLite
    Creates a Ext.CompositeElement for child nodes based on the passed CSS selector (the selector should not contain an i...
    Creates a Ext.CompositeElement for child nodes based on the passed CSS selector (the selector should not contain an id).
    Parameters:
    • selector : String
      The CSS selector
    Returns:
    • CompositeElement/CompositeElementLite
      The composite element
    Element setObject o[Boolean useSet] ) : Ext.Element
    Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)
    Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)
    Parameters:
    • o : Object
      The object with the attributes
    • useSet : Boolean
      (optional) false to override the default setAttribute to use expandos.
    Returns:
    • Ext.Element
      this
    Element setBottomString bottom ) : @@ -688,9 +692,9 @@ then this must refer to the same object.Returns:
    Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first...
    Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child). This is a shortcut for findParentNode() that always returns an Ext.Element.
    Parameters:
    • selector : String
      The simple selector to test
    • maxDepth : Number/Mixed
      (optional) The max depth to - search as a number or element (defaults to 10 || document.body)
    Returns:
    • Ext.Element
      The matching DOM node (or null if no match was found)
    Element updateString html[Boolean loadScripts][Function callback] ) + search as a number or element (defaults to 10 || document.body)Returns:Element updateString html ) : - Ext.Element
    Update the innerHTML of this element, optionally searching for and processing scripts
    Update the innerHTML of this element, optionally searching for and processing scripts
    Parameters:
    • html : String
      The new HTML
    • loadScripts : Boolean
      (optional) True to look for and process scripts (defaults to false)
    • callback : Function
      (optional) For async script loading you can be notified when the update completes
    Returns:
    • Ext.Element
      this
    Element wrap[Object config][Boolean returnDom] ) + Ext.Element
    Update the innerHTML of this element
    Update the innerHTML of this element
    Parameters:
    • html : String
      The new HTML
    Returns:
    • Ext.Element
      this
    Element wrap[Object config][Boolean returnDom] ) : HTMLElement/Element
    Creates and wraps this element with another element
    Creates and wraps this element with another element
    Parameters:
    • config : Object
      (optional) DomHelper element config object for the wrapper element or null for an empty div
    • returnDom : Boolean
      (optional) True to return the raw DOM element instead of Ext.Element
    Returns:
    • HTMLElement/Element
      The newly created wrapper element
    Element

    Public Events

    EventDefined By