X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/output/Ext.layout.container.Anchor.js diff --git a/docs/output/Ext.layout.container.Anchor.js b/docs/output/Ext.layout.container.Anchor.js index e8d9ca09..66e13eca 100644 --- a/docs/output/Ext.layout.container.Anchor.js +++ b/docs/output/Ext.layout.container.Anchor.js @@ -1,175 +1,258 @@ Ext.data.JsonP.Ext_layout_container_Anchor({ - "tagname": "class", - "name": "Ext.layout.container.Anchor", - "doc": "

This is a layout that enables anchoring of contained elements relative to the container's dimensions.\nIf the container is resized, all anchored items are automatically rerendered according to their\nanchor rules.

\n\n

This class is intended to be extended or created via the layout: 'anchor' Ext.layout.container.AbstractContainer.layout\nconfig, and should generally not need to be created directly via the new keyword.

\n\n

AnchorLayout does not have any direct config options (other than inherited ones). By default,\nAnchorLayout will calculate anchor measurements based on the size of the container itself. However, the\ncontainer using the AnchorLayout can supply an anchoring-specific config property of anchorSize.\nIf anchorSize is specifed, the layout will use it as a virtual container for the purposes of calculating\nanchor measurements based on it instead, allowing the container to be sized independently of the anchoring\nlogic if necessary.

\n\n

\"Ext.layout.container.Anchor

\n\n

For example:

\n\n
Ext.create('Ext.Panel', {\n    width: 500,\n    height: 400,\n    title: \"AnchorLayout Panel\",\n    layout: 'anchor',\n    renderTo: Ext.getBody(),\n    items: [{\n        xtype: 'panel',\n        title: '75% Width and 20% Height',\n        anchor: '75% 20%'\n    },{\n        xtype: 'panel',\n        title: 'Offset -300 Width & -200 Height',\n        anchor: '-300 -200'     \n    },{\n        xtype: 'panel',\n        title: 'Mixed Offset and Percent',\n        anchor: '-250 20%'\n    }]\n});\n
\n", - "extends": "Ext.layout.container.Container", - "mixins": [ + "allMixins": [ ], - "alternateClassNames": [ - "Ext.layout.AnchorLayout" - ], - "xtype": null, - "author": null, + "deprecated": null, "docauthor": null, - "singleton": false, - "private": false, - "cfg": [ - { - "tagname": "cfg", - "name": "anchor", - "member": "Ext.layout.container.Anchor", - "type": "String", - "doc": "

This configuation option is to be applied to child items of a container managed by\nthis layout (ie. configured with layout:'anchor').

\n\n\n
\n\n\n\n\n

This value is what tells the layout how an item should be anchored to the container. items\nadded to an AnchorLayout accept an anchoring-specific config property of anchor which is a string\ncontaining two values: the horizontal anchor value and the vertical anchor value (for example, '100% 50%').\nThe following types of anchor values are supported:

\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/layout/container/Anchor.js", - "linenr": 54, - "html_filename": "Anchor.html", - "href": "Anchor.html#Ext-layout-container-Anchor-cfg-anchor", - "shortDoc": "This configuation option is to be applied to child items of a container managed by\nthis layout (ie. configured with l..." - }, - { - "tagname": "cfg", - "name": "bindToOwnerCtComponent", - "member": "Ext.layout.container.AbstractContainer", - "type": "Boolean", - "doc": "

Flag to notify the ownerCt Component on afterLayout of a change

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/layout/container/AbstractContainer.js", - "linenr": 24, - "html_filename": "AbstractContainer2.html", - "href": "AbstractContainer2.html#Ext-layout-container-AbstractContainer-cfg-bindToOwnerCtComponent" - }, - { - "tagname": "cfg", - "name": "bindToOwnerCtContainer", - "member": "Ext.layout.container.AbstractContainer", - "type": "Boolean", - "doc": "

Flag to notify the ownerCt Container on afterLayout of a change

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/layout/container/AbstractContainer.js", - "linenr": 30, - "html_filename": "AbstractContainer2.html", - "href": "AbstractContainer2.html#Ext-layout-container-AbstractContainer-cfg-bindToOwnerCtContainer" - }, - { - "tagname": "cfg", - "name": "defaultAnchor", - "member": "Ext.layout.container.Anchor", - "type": "String", - "doc": "

default anchor for all child container items applied if no anchor or specific width is set on the child item. Defaults to '100%'.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/layout/container/Anchor.js", - "linenr": 104, - "html_filename": "Anchor.html", - "href": "Anchor.html#Ext-layout-container-Anchor-cfg-defaultAnchor", - "shortDoc": "default anchor for all child container items applied if no anchor or specific width is set on the child item. Defaul..." - }, - { - "tagname": "cfg", - "name": "itemCls", - "member": "Ext.layout.container.AbstractContainer", - "type": "String", - "doc": "

An optional extra CSS class that will be added to the container. This can be useful for adding\ncustomized styles to the container or any of its children using standard CSS rules. See\nExt.Component.ctCls also.

\n\n\n

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/layout/container/AbstractContainer.js", - "linenr": 36, - "html_filename": "AbstractContainer2.html", - "href": "AbstractContainer2.html#Ext-layout-container-AbstractContainer-cfg-itemCls", - "shortDoc": "An optional extra CSS class that will be added to the container. This can be useful for adding\ncustomized styles to t..." - } - ], - "method": [ - { - "tagname": "method", - "name": "getLayoutItems", - "member": "Ext.layout.container.AbstractContainer", - "doc": "

Returns an array of child components either for a render phase (Performed in the beforeLayout method of the layout's\nbase class), or the layout phase (onLayout).

\n\n", - "params": [ + "members": { + "cfg": [ + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Anchor.html#Ext-layout-container-Anchor-cfg-anchor", + "shortDoc": "This configuation option is to be applied to child items of a container managed by\nthis layout (ie. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Anchor.js", + "private": false, + "name": "anchor", + "owner": "Ext.layout.container.Anchor", + "doc": "

This configuation option is to be applied to child items of a container managed by\nthis layout (ie. configured with layout:'anchor').

\n\n\n
\n\n\n\n\n

This value is what tells the layout how an item should be anchored to the container. items\nadded to an AnchorLayout accept an anchoring-specific config property of anchor which is a string\ncontaining two values: the horizontal anchor value and the vertical anchor value (for example, '100% 50%').\nThe following types of anchor values are supported:

\n\n", + "linenr": 54, + "html_filename": "Anchor.html" + }, + { + "type": "Boolean", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-cfg-bindToOwnerCtComponent", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js", + "private": false, + "name": "bindToOwnerCtComponent", + "owner": "Ext.layout.container.AbstractContainer", + "doc": "

Flag to notify the ownerCt Component on afterLayout of a change

\n", + "linenr": 17, + "html_filename": "AbstractContainer.html" + }, + { + "type": "Boolean", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-cfg-bindToOwnerCtContainer", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js", + "private": false, + "name": "bindToOwnerCtContainer", + "owner": "Ext.layout.container.AbstractContainer", + "doc": "

Flag to notify the ownerCt Container on afterLayout of a change

\n", + "linenr": 23, + "html_filename": "AbstractContainer.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Anchor.html#Ext-layout-container-Anchor-cfg-defaultAnchor", + "shortDoc": "Default anchor for all child container items applied if no anchor or specific width is set on the child item. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Anchor.js", + "private": false, + "name": "defaultAnchor", + "owner": "Ext.layout.container.Anchor", + "doc": "

Default anchor for all child container items applied if no anchor or specific width is set on the child item. Defaults to '100%'.

\n", + "linenr": 104, + "html_filename": "Anchor.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-cfg-itemCls", + "shortDoc": "An optional extra CSS class that will be added to the container. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js", + "private": false, + "name": "itemCls", + "owner": "Ext.layout.container.AbstractContainer", + "doc": "

An optional extra CSS class that will be added to the container. This can be useful for adding\ncustomized styles to the container or any of its children using standard CSS rules. See\nExt.Component.ctCls also.

\n\n\n

\n", + "linenr": 29, + "html_filename": "AbstractContainer.html" + } + ], + "method": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-method-getLayoutItems", + "shortDoc": "Returns an array of child components either for a render phase (Performed in the beforeLayout method of the layout's\n...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js", + "private": false, + "params": [ - ], - "return": { - "type": "Array", - "doc": "

of child components

\n" + ], + "name": "getLayoutItems", + "owner": "Ext.layout.container.AbstractContainer", + "doc": "

Returns an array of child components either for a render phase (Performed in the beforeLayout method of the layout's\nbase class), or the layout phase (onLayout).

\n\n", + "linenr": 49, + "return": { + "type": "Array", + "doc": "

of child components

\n" + }, + "html_filename": "AbstractContainer.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/layout/container/AbstractContainer.js", - "linenr": 87, - "html_filename": "AbstractContainer2.html", - "href": "AbstractContainer2.html#Ext-layout-container-AbstractContainer-method-getLayoutItems", - "shortDoc": "Returns an array of child components either for a render phase (Performed in the beforeLayout method of the layout's\n..." - }, - { - "tagname": "method", - "name": "getRenderTarget", - "member": "Ext.layout.container.AbstractContainer", - "doc": "

Returns the element into which rendering must take place. Defaults to the owner Container's Ext.AbstractComponent.targetEl.

\n\n\n

May be overridden in layout managers which implement an inner element.

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-method-getRenderTarget", + "shortDoc": "Returns the element into which rendering must take place. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js", + "private": false, + "params": [ - ], - "return": { - "type": "Ext.core.Element", - "doc": "\n" + ], + "name": "getRenderTarget", + "owner": "Ext.layout.container.AbstractContainer", + "doc": "

Returns the element into which rendering must take place. Defaults to the owner Container's Ext.AbstractComponent.targetEl.

\n\n\n

May be overridden in layout managers which implement an inner element.

\n", + "linenr": 68, + "return": { + "type": "Ext.core.Element", + "doc": "\n" + }, + "html_filename": "AbstractContainer.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/layout/container/AbstractContainer.js", - "linenr": 106, - "html_filename": "AbstractContainer2.html", - "href": "AbstractContainer2.html#Ext-layout-container-AbstractContainer-method-getRenderTarget", - "shortDoc": "Returns the element into which rendering must take place. Defaults to the owner Container's Ext.AbstractComponent.tar..." - }, - { - "tagname": "method", - "name": "getTarget", - "member": "Ext.layout.container.AbstractContainer", - "doc": "

Returns the owner component's resize element.

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": true, + "tagname": "method", + "href": "Container.html#Ext-layout-container-Container-method-getRenderedItems", + "shortDoc": "Returns all items that are rendered ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Container.js", + "private": false, + "params": [ - ], - "return": { - "type": "Ext.core.Element", - "doc": "\n" + ], + "name": "getRenderedItems", + "owner": "Ext.layout.container.Container", + "doc": "

Returns all items that are rendered

\n", + "linenr": 53, + "return": { + "type": "Array", + "doc": "

All matching items

\n" + }, + "html_filename": "Container.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/layout/container/AbstractContainer.js", - "linenr": 99, - "html_filename": "AbstractContainer2.html", - "href": "AbstractContainer2.html#Ext-layout-container-AbstractContainer-method-getTarget", - "shortDoc": "

Returns the owner component's resize element.

\n" - } - ], - "property": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-method-getTarget", + "shortDoc": "Returns the owner component's resize element. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js", + "private": false, + "params": [ - ], - "event": [ + ], + "name": "getTarget", + "owner": "Ext.layout.container.AbstractContainer", + "doc": "

Returns the owner component's resize element.

\n", + "linenr": 61, + "return": { + "type": "Ext.core.Element", + "doc": "\n" + }, + "html_filename": "AbstractContainer.html" + }, + { + "deprecated": null, + "alias": null, + "protected": true, + "tagname": "method", + "href": "Container.html#Ext-layout-container-Container-method-getVisibleItems", + "shortDoc": "Returns all items that are both rendered and visible ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Container.js", + "private": false, + "params": [ - ], - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/layout/container/Anchor.js", - "linenr": 1, - "html_filename": "Anchor.html", - "href": "Anchor.html#Ext-layout-container-Anchor", - "cssVar": [ + ], + "name": "getVisibleItems", + "owner": "Ext.layout.container.Container", + "doc": "

Returns all items that are both rendered and visible

\n", + "linenr": 76, + "return": { + "type": "Array", + "doc": "

All matching items

\n" + }, + "html_filename": "Container.html" + } + ], + "property": [ - ], - "cssMixin": [ + ], + "cssVar": [ - ], - "component": false, + ], + "cssMixin": [ + + ], + "event": [ + + ] + }, + "singleton": false, + "alias": null, "superclasses": [ "Ext.layout.Layout", "Ext.layout.container.AbstractContainer", "Ext.layout.container.Container" ], + "protected": false, + "tagname": "class", + "mixins": [ + + ], + "href": "Anchor.html#Ext-layout-container-Anchor", "subclasses": [ "Ext.layout.container.Absolute" ], + "static": false, + "author": null, + "component": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Anchor.js", + "private": false, + "alternateClassNames": [ + "Ext.layout.AnchorLayout" + ], + "name": "Ext.layout.container.Anchor", + "doc": "

This is a layout that enables anchoring of contained elements relative to the container's dimensions.\nIf the container is resized, all anchored items are automatically rerendered according to their\nanchor rules.

\n\n

This class is intended to be extended or created via the layout: 'anchor' Ext.layout.container.AbstractContainer.layout\nconfig, and should generally not need to be created directly via the new keyword.

\n\n

AnchorLayout does not have any direct config options (other than inherited ones). By default,\nAnchorLayout will calculate anchor measurements based on the size of the container itself. However, the\ncontainer using the AnchorLayout can supply an anchoring-specific config property of anchorSize.\nIf anchorSize is specifed, the layout will use it as a virtual container for the purposes of calculating\nanchor measurements based on it instead, allowing the container to be sized independently of the anchoring\nlogic if necessary.

\n\n

\"Ext.layout.container.Anchor

\n\n

For example:

\n\n
Ext.create('Ext.Panel', {\n    width: 500,\n    height: 400,\n    title: \"AnchorLayout Panel\",\n    layout: 'anchor',\n    renderTo: Ext.getBody(),\n    items: [{\n        xtype: 'panel',\n        title: '75% Width and 20% Height',\n        anchor: '75% 20%'\n    },{\n        xtype: 'panel',\n        title: 'Offset -300 Width & -200 Height',\n        anchor: '-300 -200'     \n    },{\n        xtype: 'panel',\n        title: 'Mixed Offset and Percent',\n        anchor: '-250 20%'\n    }]\n});\n
\n", "mixedInto": [ ], - "allMixins": [ + "linenr": 1, + "xtypes": [ - ] + ], + "html_filename": "Anchor.html", + "extends": "Ext.layout.container.Container" }); \ No newline at end of file