X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.form.CompositeField.html diff --git a/docs/output/Ext.form.CompositeField.html b/docs/output/Ext.form.CompositeField.html index 0e1878e9..4c34bf92 100644 --- a/docs/output/Ext.form.CompositeField.html +++ b/docs/output/Ext.form.CompositeField.html @@ -1,4 +1,8 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Field
        CompositeField

Class Ext.form.CompositeField

Package:Ext.form
Defined In:CompositeField.js
Class:CompositeField
Extends:Field
Composite field allowing a number of form Fields to be rendered on the same row. The fields are rendered +
Observable
+  Component
+    BoxComponent
+      Field
+        CompositeField

Class Ext.form.CompositeField

Package:Ext.form
Defined In:CompositeField.js
Class:CompositeField
Extends:Field
Composite field allowing a number of form Fields to be rendered on the same row. The fields are rendered using an hbox layout internally, so all of the normal HBox layout config items are available. Example usage:
 {
@@ -106,7 +110,7 @@ which assigns a value by default:
 To configure the above Class with an extra CSS class append to the default.  For example,
 for BoxLayout (Hbox and Vbox):
ctCls: 'x-box-layout-ct custom-class'

Component data : Mixed
The initial set of data to apply to the tpl to -update the content area of the Component.
Component disabled : Boolean
True to disable the field (defaults to false). +update the content area of the Component.
Component defaults : Object
Any default properties to assign to the child fields.
CompositeField disabled : Boolean
True to disable the field (defaults to false). Be aware that conformant with the <a href="http://www.w3.org/TR/html40...
True to disable the field (defaults to false).

Be aware that conformant with the HTML specification, disabled Fields will not be submitted.

Field disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component fieldClass : String
The default CSS class for the field (defaults to 'x-form-field')
Field fieldLabel : String
The label text to display next to this Component (defaults to ''). @@ -234,7 +238,7 @@ avoiding potential conflicts with getComponent('p1'); // not the same as Ext.getCmp() p2 = p1.ownerCt.getComponent('p2'); // reference via a sibling

Also see id and ref.

-

Note: to access the container of an item see ownerCt.

Component labelSeparator : String
The separator to display after the text of each +

Note: to access the container of an item see ownerCt.

Component labelConnector : String
The string to use when joining segments of the built label together (defaults to ', ')
CompositeField labelSeparator : String
The separator to display after the text of each fieldLabel. This property may be configured at various levels. The o...

The separator to display after the text of each fieldLabel. This property may be configured at various levels. @@ -635,7 +639,12 @@ Or a shorthand syntax:
scope: this });

Returns:
  • void
Observable 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 buildCombinedErrorMessageArray errors ) + 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.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.Component
    this
Component buildCombinedErrorMessageArray errors ) : String
Takes an object containing error messages for contained fields, returning a combined error string (defaults to just p...
Takes an object containing error messages for contained fields, returning a combined error @@ -701,9 +710,11 @@ access the required target more quickly.

: 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).

@@ -810,7 +821,7 @@ of the field. Note: disab...
Returns whether or not the f validating the processed value of the field. Note: disabled fields are ignored.
Parameters:
  • preventMark : Boolean
    True to disable marking the field invalid
Returns:
  • Boolean
    True if the value is valid, else false
Field 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 @@ -822,7 +833,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 markInvalid[String msg] ) : void
Display an error message associated with this field, using msgTarget to determine how to