X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/output/Ext.menu.DateMenu.html diff --git a/docs/output/Ext.menu.DateMenu.html b/docs/output/Ext.menu.DateMenu.html index 62591528..503b58ea 100644 --- a/docs/output/Ext.menu.DateMenu.html +++ b/docs/output/Ext.menu.DateMenu.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Container
        Menu
          DateMenu

Class Ext.menu.DateMenu

Package:Ext.menu
Defined In:DateMenu.js
Class:DateMenu
Extends:Menu

A menu containing an Ext.DatePicker Component.

+
Observable
  Component
    BoxComponent
      Container
        Menu
          DateMenu

Class Ext.menu.DateMenu

Package:Ext.menu
Defined In:DateMenu.js
Class:DateMenu
Extends:Menu

A menu containing an Ext.DatePicker Component.

Notes:

  • Although not listed here, the constructor for this class accepts all of the configuration options of Ext.DatePicker.
  • @@ -734,12 +734,12 @@ Or a shorthand syntax:
    : Ext.menu.Item
    Creates a new Ext.menu.TextItem with the supplied text and adds it to the menu
    Creates a new Ext.menu.TextItem with the supplied text and adds it to the menu
    Parameters:
    • text : String
      The text to display in the menu item
    Returns:
    • Ext.menu.Item
      The menu item that was added
    Menu applyToMarkupString/HTMLElement el ) : - void
    Apply this component to existing markup that is valid. With this function, no call to render() is required.
    Apply this component to existing markup that is valid. With this function, no call to render() is required.
    Parameters:
    • el : String/HTMLElement
    Returns:
    • void
    Component bubbleFunction fn[Object scope][Array args] ) + void
    Apply this component to existing markup that is valid. With this function, no call to render() is required.
    Apply this component to existing markup that is valid. With this function, no call to render() is required.
    Parameters:
    • el : String/HTMLElement
    Returns:
    • void
    Component bubbleFunction fn[Object scope][Array args] ) : - Ext.Container
    Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...
    Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of + Ext.Component
    Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...
    Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of function call will be the scope provided or the current component. The arguments to the function will be the args provided or the current component. If the function returns false at any point, -the bubble is stopped.
    Parameters:
    • fn : Function
      The function to call
    • scope : Object
      (optional) The scope of the function (defaults to current node)
    • args : Array
      (optional) The args to call the function with (default to passing the current component)
    Returns:
    • Ext.Container
      this
    Container cascadeFunction fn[Object scope][Array args] ) +the bubble is stopped.
    Parameters:
    • fn : Function
      The function to call
    • scope : Object
      (optional) The scope of the function (defaults to current node)
    • args : Array
      (optional) The args to call the function with (default to passing the current component)
    Returns:
    • Ext.Component
      this
    Component cascadeFunction fn[Object scope][Array args] ) : Ext.Container
    Cascades down the component/container heirarchy from this component (called first), calling the specified function wi...
    Cascades down the component/container heirarchy from this component (called first), calling the specified function with each component. The scope (this) of @@ -812,9 +812,11 @@ the default), or true to check whether this Component is directly of the specifi : Ext.Container
    Find a container above this component at any level by a custom function. If the passed function returns true, the con...
    Find a container above this component at any level by a custom function. If the passed function returns -true, the container will be returned.
    Parameters:
    • fn : Function
      The custom function to call with the arguments (container, this component).
    Returns:
    • Ext.Container
      The first Container for which the custom function returns true
    Component findParentByTypeString/Class xtype ) +true, the container will be returned.
    Parameters:
    • fn : Function
      The custom function to call with the arguments (container, this component).
    Returns:
    • Ext.Container
      The first Container for which the custom function returns true
    Component findParentByTypeString/Ext.Component/Class xtype[Boolean shallow] ) : - Ext.Container
    Find a container above this component at any level by xtype or class
    Find a container above this component at any level by xtype or class
    Parameters:
    • xtype : String/Class
      The xtype string for a component, or the class of the component directly
    Returns:
    • Ext.Container
      The first Container which matches the given xtype or class
    Component fireEventString eventNameObject... args ) + Ext.Container
    Find a container above this component at any level by xtype or class
    Find a container above this component at any level by xtype or class
    Parameters:
    • xtype : String/Ext.Component/Class
      The xtype to check for this Component. Note that the the component can either be an instance +or a component class:
    • shallow : Boolean
      (optional) False to check whether this Component is descended from the xtype (this is +the default), or true to check whether this Component is directly of the specified xtype.
    Returns:
    • Ext.Container
      The first Container which matches the given xtype or class
    Component fireEventString eventNameObject... args ) : Boolean
    Fires the specified event with the passed parameters (minus the event name). An event may be set to bubble up an Obse...

    Fires the specified event with the passed parameters (minus the event name).

    @@ -932,7 +934,7 @@ property to the registered type of the Component wanted.

    For a list of all available xtypes, see Ext.Component.
Returns:
  • Ext.Component
    component The Component (or config object) that was inserted with the Container's default config values applied.
Container isVisible() : - Boolean
Returns true if this component is visible.
Returns true if this component is visible.
Parameters:
  • None.
Returns:
  • Boolean
    True if this component is visible, false otherwise.
Component isXTypeString xtype[Boolean shallow] ) + Boolean
Returns true if this component is visible.
Returns true if this component is visible.
Parameters:
  • None.
Returns:
  • Boolean
    True if this component is visible, false otherwise.
Component isXTypeString/Ext.Component/Class xtype[Boolean shallow] ) : Boolean
Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended from th...

Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended @@ -944,7 +946,11 @@ to participate in determination of inherited xtypes.

var t = new Ext.form.TextField();
 var isText = t.isXType('textfield');        // true
 var isBoxSubclass = t.isXType('box');       // true, descended from BoxComponent
-var isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance
Parameters:
  • xtype : String
    The xtype to check for this Component
  • shallow : Boolean
    (optional) False to check whether this Component is descended from the xtype (this is +var isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance
    Parameters:
    • xtype : String/Ext.Component/Class
      The xtype to check for this Component. Note that the the component can either be an instance +or a component class: +
      var c = new Ext.Component();
      +console.log(c.isXType(c));
      +console.log(c.isXType(Ext.Component));
    • shallow : Boolean
      (optional) False to check whether this Component is descended from the xtype (this is the default), or true to check whether this Component is directly of the specified xtype.
    Returns:
    • Boolean
      True if this component descends from the specified xtype, false otherwise.
Component monObservable|Element itemObject|String enameFunction fnObject scopeObject opt ) : void
Adds listeners to any Observable object (or Elements) which are automatically removed when this Component