4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>The source code</title>
6 <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
7 <script type="text/javascript" src="../prettify/prettify.js"></script>
8 <style type="text/css">
9 .highlight { display: block; background-color: #ddd; }
11 <script type="text/javascript">
12 function highlight() {
13 document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
17 <body onload="prettyPrint(); highlight();">
18 <pre class="prettyprint lang-js"><span id='Ext-layout-container-boxOverflow-None'>/**
19 </span> * @class Ext.layout.container.boxOverflow.None
22 * Base class for Box Layout overflow handlers. These specialized classes are invoked when a Box Layout
23 * (either an HBox or a VBox) has child items that are either too wide (for HBox) or too tall (for VBox)
26 Ext.define('Ext.layout.container.boxOverflow.None', {
28 alternateClassName: 'Ext.layout.boxOverflow.None',
30 constructor: function(layout, config) {
32 Ext.apply(this, config || {});
35 handleOverflow: Ext.emptyFn,
37 clearOverflow: Ext.emptyFn,
39 onRemove: Ext.emptyFn,
41 <span id='Ext-layout-container-boxOverflow-None-method-getItem'> /**
43 * Normalizes an item reference, string id or numerical index into a reference to the item
44 * @param {Ext.Component|String|Number} item The item reference, id or index
45 * @return {Ext.Component} The item
47 getItem: function(item) {
48 return this.layout.owner.getComponent(item);