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; }
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'>/**
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)
24 Ext.define('Ext.layout.container.boxOverflow.None', {
26 alternateClassName: 'Ext.layout.boxOverflow.None',
28 constructor: function(layout, config) {
30 Ext.apply(this, config || {});
33 handleOverflow: Ext.emptyFn,
35 clearOverflow: Ext.emptyFn,
37 onRemove: Ext.emptyFn,
39 <span id='Ext-layout-container-boxOverflow-None-method-getItem'> /**
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
45 getItem: function(item) {
46 return this.layout.owner.getComponent(item);