Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / source / None.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5   <title>The source code</title>
6   <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
7   <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
8   <style type="text/css">
9     .highlight { display: block; background-color: #ddd; }
10   </style>
11   <script type="text/javascript">
12     function highlight() {
13       document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
14     }
15   </script>
16 </head>
17 <body onload="prettyPrint(); highlight();">
18   <pre class="prettyprint lang-js"><span id='Ext-layout-container-boxOverflow-None'>/**
19 </span> * @private
20  * Base class for Box Layout overflow handlers. These specialized classes are invoked when a Box Layout
21  * (either an HBox or a VBox) has child items that are either too wide (for HBox) or too tall (for VBox)
22  * for its container.
23  */
24 Ext.define('Ext.layout.container.boxOverflow.None', {
25     
26     alternateClassName: 'Ext.layout.boxOverflow.None',
27     
28     constructor: function(layout, config) {
29         this.layout = layout;
30         Ext.apply(this, config || {});
31     },
32
33     handleOverflow: Ext.emptyFn,
34
35     clearOverflow: Ext.emptyFn,
36     
37     onRemove: Ext.emptyFn,
38
39 <span id='Ext-layout-container-boxOverflow-None-method-getItem'>    /**
40 </span>     * @private
41      * Normalizes an item reference, string id or numerical index into a reference to the item
42      * @param {Ext.Component/String/Number} item The item reference, id or index
43      * @return {Ext.Component} The item
44      */
45     getItem: function(item) {
46         return this.layout.owner.getComponent(item);
47     },
48     
49     onRemove: Ext.emptyFn
50 });</pre>
51 </body>
52 </html>