Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 aperonnet 1
        <div class="body-wrap">
2
        <div class="top-tools">
3
            <a class="inner-link" href="#Ext.Viewport-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4
            <a class="inner-link" href="#Ext.Viewport-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5
            <a class="inner-link" href="#Ext.Viewport-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6
                            <a class="inner-link" href="#Ext.Viewport-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7
                        <a class="bookmark" href="../docs/?class=Ext.Viewport"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8
        </div>
9
                <div class="inheritance res-block">
10
<pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11
  <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a>
12
    <img src="resources/elbow-end.gif"/><a ext:cls="Ext.BoxComponent" ext:member="" href="output/Ext.BoxComponent.html">BoxComponent</a>
13
      <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Container" ext:member="" href="output/Ext.Container.html">Container</a>
14
        <img src="resources/elbow-end.gif"/>Viewport</pre></div>
15
                <h1>Class Ext.Viewport</h1>
16
        <table cellspacing="0">
17
            <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
18
            <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/widgets/Viewport.js" target="_blank">Viewport.js</a></td></tr>
19
            <tr><td class="label">Class:</td><td class="hd-info">Viewport</td></tr>
20
                                    <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.Container" ext:member="" href="output/Ext.Container.html">Container</a></td></tr>
21
                    </table>
22
        <div class="description">
23
            A specialized container representing the viewable application area (the browser viewport).
24
<p> The Viewport renders itself to the document body, and automatically sizes itself to the size of
25
the browser viewport and manages window resizing. There may only be one Viewport created
26
in a page. Inner layouts are available by virtue of the fact that all <a ext:cls="Ext.Panel" href="output/Ext.Panel.html">Panel</a>s
27
added to the Viewport, either through its <a ext:cls="Ext.Viewport" ext:member="items" href="output/Ext.Viewport.html#items">items</a>, or through the items, or the <a ext:cls="Ext.Viewport" ext:member="add" href="output/Ext.Viewport.html#add">add</a>
28
method of any of its child Panels may themselves have a layout.</p>
29
<p>The Viewport does not provide scrolling, so child Panels within the Viewport should provide
30
for scrolling if needed using the <a ext:cls="Ext.Viewport" ext:member="autoScroll" href="output/Ext.Viewport.html#autoScroll">autoScroll</a> config.</p>
31
Example showing a classic application border layout :<pre><code>new Ext.Viewport({
32
    layout: <em>'border'</em>,
33
    defaults: {
34
        activeItem: 0
35
    },
36
    items: [{
37
        region: <em>'north'</em>,
38
        html: <em>'&lt;h1 class="x-panel-header">Page Title&lt;/h1>'</em>,
39
        autoHeight: true,
40
        border: false,
41
        margins: <em>'0 0 5 0'</em>
42
    }, {
43
        region: <em>'west'</em>,
44
        collapsible: true,
45
        title: <em>'Navigation'</em>,
46
        xtype: <em>'treepanel'</em>,
47
        width: 200,
48
        autoScroll: true,
49
        split: true,
50
        loader: <b>new</b> Ext.tree.TreeLoader(),
51
        root: <b>new</b> Ext.tree.AsyncTreeNode({
52
            expanded: true,
53
            children: [{
54
                text: <em>'Menu Option 1'</em>,
55
                leaf: true
56
            }, {
57
                text: <em>'Menu Option 2'</em>,
58
                leaf: true
59
            }, {
60
                text: <em>'Menu Option 3'</em>,
61
                leaf: true
62
            }]
63
        }),
64
        rootVisible: false,
65
        listeners: {
66
            click: <b>function</b>(n) {
67
                Ext.Msg.alert(<em>'Navigation Tree Click'</em>, <em>'You clicked: "'</em> + n.attributes.text + <em>'"'</em>);
68
            }
69
        }
70
    }, {
71
        region: <em>'center'</em>,
72
        xtype: <em>'tabpanel'</em>,
73
        items: {
74
            title: <em>'Default Tab'</em>,
75
            html: <em>'The first tab\'</em>s content. Others may be added dynamically'
76
        }
77
    }, {
78
        region: <em>'south'</em>,
79
        title: <em>'Information'</em>,
80
        collapsible: true,
81
        html: <em>'Information goes here'</em>,
82
        split: true,
83
        height: 100,
84
        minHeight: 100
85
    }]
86
});</code></pre>        </div>
87
 
88
        <div class="hr"></div>
89
                <a id="Ext.Viewport-configs"></a>
90
        <h2>Config Options</h2>
91
        <table cellspacing="0" class="member-table">
92
            <tr>
93
                <th class="sig-header" colspan="2">Config Options</th>
94
                <th class="msource-header">Defined By</th>
95
            </tr>
96
                <tr class="config-row inherited expandable">
97
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
98
        <td class="sig">
99
        <a id="Ext.Viewport-activeItem"></a>
100
            <b>activeItem</b> : String/Number            <div class="mdesc">
101
                        <div class="short">A string component id or the numeric index of the component that should be initially activated within the container's...</div>
102
            <div class="long">
103
                A string component id or the numeric index of the component that should be initially activated within the container's layout on render. For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first item in the container's collection). activeItem only applies to layout styles that can display items one at a time (like <a ext:cls="Ext.layout.Accordion" href="output/Ext.layout.Accordion.html">Ext.layout.Accordion</a>, <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a> and <a ext:cls="Ext.layout.FitLayout" href="output/Ext.layout.FitLayout.html">Ext.layout.FitLayout</a>). Related to <a ext:cls="Ext.layout.ContainerLayout" ext:member="activeItem" href="output/Ext.layout.ContainerLayout.html#activeItem">Ext.layout.ContainerLayout.activeItem</a>.            </div>
104
                        </div>
105
        </td>
106
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#activeItem" href="output/Ext.Container.html#activeItem">Container</a></td>
107
    </tr>
108
        <tr class="config-row inherited alt expandable">
109
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
110
        <td class="sig">
111
        <a id="Ext.Viewport-autoDestroy"></a>
112
            <b>autoDestroy</b> : Boolean            <div class="mdesc">
113
                        <div class="short">If true the container will automatically destroy any contained component that is removed from it, else destruction mu...</div>
114
            <div class="long">
115
                If true the container will automatically destroy any contained component that is removed from it, else destruction must be handled manually (defaults to true).            </div>
116
                        </div>
117
        </td>
118
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#autoDestroy" href="output/Ext.Container.html#autoDestroy">Container</a></td>
119
    </tr>
120
        <tr class="config-row inherited expandable">
121
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
122
        <td class="sig">
123
        <a id="Ext.Viewport-autoEl"></a>
124
            <b>autoEl</b> : String/Object            <div class="mdesc">
125
                        <div class="short">A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inlin...</div>
126
            <div class="long">
127
                A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inline via JSON. It should not be used for higher level components which already create their own elements. Example usage: <pre><code>{xtype:<em>'box'</em>, autoEl: <em>'div'</em>, cls:<em>'my-class'</em>}
128
{xtype:<em>'box'</em>, autoEl: {tag:<em>'blockquote'</em>, html:<em>'autoEl is cool!'</em>}} // <b>with</b> DomHelper</code></pre>            </div>
129
                        </div>
130
        </td>
131
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>
132
    </tr>
133
        <tr class="config-row inherited alt expandable">
134
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
135
        <td class="sig">
136
        <a id="Ext.Viewport-autoShow"></a>
137
            <b>autoShow</b> : Boolean            <div class="mdesc">
138
                        <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div>
139
            <div class="long">
140
                True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false).            </div>
141
                        </div>
142
        </td>
143
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
144
    </tr>
145
        <tr class="config-row inherited expandable">
146
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
147
        <td class="sig">
148
        <a id="Ext.Viewport-bufferResize"></a>
149
            <b>bufferResize</b> : Boolean/Number            <div class="mdesc">
150
                        <div class="short">When set to true (100 milliseconds) or a number of milliseconds, the layout assigned for this container will buffer t...</div>
151
            <div class="long">
152
                When set to true (100 milliseconds) or a number of milliseconds, the layout assigned for this container will buffer the frequency it calculates and does a re-layout of components. This is useful for heavy containers or containers with a large amount of sub components that frequent calls to layout are expensive.            </div>
153
                        </div>
154
        </td>
155
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#bufferResize" href="output/Ext.Container.html#bufferResize">Container</a></td>
156
    </tr>
157
        <tr class="config-row inherited alt expandable">
158
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
159
        <td class="sig">
160
        <a id="Ext.Viewport-cls"></a>
161
            <b>cls</b> : String            <div class="mdesc">
162
                        <div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div>
163
            <div class="long">
164
                An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules.            </div>
165
                        </div>
166
        </td>
167
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
168
    </tr>
169
        <tr class="config-row inherited expandable">
170
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
171
        <td class="sig">
172
        <a id="Ext.Viewport-ctCls"></a>
173
            <b>ctCls</b> : String            <div class="mdesc">
174
                        <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>
175
            <div class="long">
176
                An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules.            </div>
177
                        </div>
178
        </td>
179
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
180
    </tr>
181
        <tr class="config-row inherited alt">
182
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
183
        <td class="sig">
184
        <a id="Ext.Viewport-defaultType"></a>
185
            <b>defaultType</b> : String            <div class="mdesc">
186
                            The default type of container represented by this object as registered in <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a> (defaults to 'panel').                        </div>
187
        </td>
188
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#defaultType" href="output/Ext.Container.html#defaultType">Container</a></td>
189
    </tr>
190
        <tr class="config-row inherited expandable">
191
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
192
        <td class="sig">
193
        <a id="Ext.Viewport-defaults"></a>
194
            <b>defaults</b> : Object            <div class="mdesc">
195
                        <div class="short">A config object that will be applied to all components added to this container either via the items config or via the...</div>
196
            <div class="long">
197
                A config object that will be applied to all components added to this container either via the <a ext:cls="Ext.Container" ext:member="items" href="output/Ext.Container.html#items">items</a> config or via the <a ext:cls="Ext.Container" ext:member="add" href="output/Ext.Container.html#add">add</a> or <a ext:cls="Ext.Container" ext:member="insert" href="output/Ext.Container.html#insert">insert</a> methods. The defaults config can contain any number of name/value property pairs to be added to each item, and should be valid for the types of items being added to the container. For example, to automatically apply padding to the body of each of a set of contained <a ext:cls="Ext.Panel" href="output/Ext.Panel.html">Ext.Panel</a> items, you could pass: defaults: {bodyStyle:'padding:15px'}.            </div>
198
                        </div>
199
        </td>
200
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#defaults" href="output/Ext.Container.html#defaults">Container</a></td>
201
    </tr>
202
        <tr class="config-row inherited alt">
203
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
204
        <td class="sig">
205
        <a id="Ext.Viewport-disabledClass"></a>
206
            <b>disabledClass</b> : String            <div class="mdesc">
207
                            CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>
208
        </td>
209
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
210
    </tr>
211
        <tr class="config-row inherited expandable">
212
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
213
        <td class="sig">
214
        <a id="Ext.Viewport-hideBorders"></a>
215
            <b>hideBorders</b> : Boolean            <div class="mdesc">
216
                        <div class="short">True to hide the borders of each contained component, false to defer to the component's existing border settings (def...</div>
217
            <div class="long">
218
                True to hide the borders of each contained component, false to defer to the component's existing border settings (defaults to false).            </div>
219
                        </div>
220
        </td>
221
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#hideBorders" href="output/Ext.Container.html#hideBorders">Container</a></td>
222
    </tr>
223
        <tr class="config-row inherited alt expandable">
224
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
225
        <td class="sig">
226
        <a id="Ext.Viewport-hideMode"></a>
227
            <b>hideMode</b> : String            <div class="mdesc">
228
                        <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
229
            <div class="long">
230
                How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".            </div>
231
                        </div>
232
        </td>
233
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
234
    </tr>
235
        <tr class="config-row inherited">
236
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
237
        <td class="sig">
238
        <a id="Ext.Viewport-id"></a>
239
            <b>id</b> : String            <div class="mdesc">
240
                            The unique id of this component (defaults to an auto-assigned id).                        </div>
241
        </td>
242
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
243
    </tr>
244
        <tr class="config-row inherited alt expandable">
245
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
246
        <td class="sig">
247
        <a id="Ext.Viewport-items"></a>
248
            <b>items</b> : Mixed            <div class="mdesc">
249
                        <div class="short">A single item, or an array of child Components to be added to this container. Each item can be any type of object bas...</div>
250
            <div class="long">
251
                A single item, or an array of child Components to be added to this container. Each item can be any type of object based on <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>.<br><br> Component config objects may also be specified in order to avoid the overhead of constructing a real Component object if lazy rendering might mean that the added Component will not be rendered immediately. To take advantage of this "lazy instantiation", set the <a ext:cls="Ext.Component" ext:member="xtype" href="output/Ext.Component.html#xtype">Ext.Component.xtype</a> config property to the registered type of the Component wanted.<br><br> For a list of all available xtypes, see <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>. If a single item is being passed, it should be passed directly as an object reference (e.g., items: {...}). Multiple items should be passed as an array of objects (e.g., items: [{...}, {...}]).            </div>
252
                        </div>
253
        </td>
254
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#items" href="output/Ext.Container.html#items">Container</a></td>
255
    </tr>
256
        <tr class="config-row inherited expandable">
257
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
258
        <td class="sig">
259
        <a id="Ext.Viewport-layout"></a>
260
            <b>layout</b> : String            <div class="mdesc">
261
                        <div class="short">The layout type to be used in this container. If not specified, a default Ext.layout.ContainerLayout will be created ...</div>
262
            <div class="long">
263
                The layout type to be used in this container. If not specified, a default <a ext:cls="Ext.layout.ContainerLayout" href="output/Ext.layout.ContainerLayout.html">Ext.layout.ContainerLayout</a> will be created and used. Valid values are: accordion, anchor, border, card, column, fit, form and table. Specific config values for the chosen layout type can be specified using <a ext:cls="Ext.Container" ext:member="layoutConfig" href="output/Ext.Container.html#layoutConfig">layoutConfig</a>.            </div>
264
                        </div>
265
        </td>
266
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#layout" href="output/Ext.Container.html#layout">Container</a></td>
267
    </tr>
268
        <tr class="config-row inherited alt expandable">
269
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
270
        <td class="sig">
271
        <a id="Ext.Viewport-layoutConfig"></a>
272
            <b>layoutConfig</b> : Object            <div class="mdesc">
273
                        <div class="short">This is a config object containing properties specific to the chosen layout (to be used in conjunction with the layou...</div>
274
            <div class="long">
275
                This is a config object containing properties specific to the chosen layout (to be used in conjunction with the <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> config value). For complete details regarding the valid config options for each layout type, see the layout class corresponding to the type specified:<ul class="mdetail-params"> <li><a ext:cls="Ext.layout.Accordion" href="output/Ext.layout.Accordion.html">Ext.layout.Accordion</a></li> <li><a ext:cls="Ext.layout.AnchorLayout" href="output/Ext.layout.AnchorLayout.html">Ext.layout.AnchorLayout</a></li> <li><a ext:cls="Ext.layout.BorderLayout" href="output/Ext.layout.BorderLayout.html">Ext.layout.BorderLayout</a></li> <li><a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a></li> <li><a ext:cls="Ext.layout.ColumnLayout" href="output/Ext.layout.ColumnLayout.html">Ext.layout.ColumnLayout</a></li> <li><a ext:cls="Ext.layout.FitLayout" href="output/Ext.layout.FitLayout.html">Ext.layout.FitLayout</a></li> <li><a ext:cls="Ext.layout.FormLayout" href="output/Ext.layout.FormLayout.html">Ext.layout.FormLayout</a></li> <li><a ext:cls="Ext.layout.TableLayout" href="output/Ext.layout.TableLayout.html">Ext.layout.TableLayout</a></li></ul>            </div>
276
                        </div>
277
        </td>
278
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#layoutConfig" href="output/Ext.Container.html#layoutConfig">Container</a></td>
279
    </tr>
280
        <tr class="config-row inherited expandable">
281
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
282
        <td class="sig">
283
        <a id="Ext.Viewport-listeners"></a>
284
            <b>listeners</b> : Object            <div class="mdesc">
285
                        <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
286
            <div class="long">
287
                A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once.            </div>
288
                        </div>
289
        </td>
290
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
291
    </tr>
292
        <tr class="config-row inherited alt expandable">
293
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
294
        <td class="sig">
295
        <a id="Ext.Viewport-monitorResize"></a>
296
            <b>monitorResize</b> : Boolean            <div class="mdesc">
297
                        <div class="short">True to automatically monitor window resize events to handle anything that is sensitive to the current size of the vi...</div>
298
            <div class="long">
299
                True to automatically monitor window resize events to handle anything that is sensitive to the current size of the viewport. This value is typically managed by the chosen <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> and should not need to be set manually.            </div>
300
                        </div>
301
        </td>
302
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#monitorResize" href="output/Ext.Container.html#monitorResize">Container</a></td>
303
    </tr>
304
        <tr class="config-row inherited">
305
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
306
        <td class="sig">
307
        <a id="Ext.Viewport-pageX"></a>
308
            <b>pageX</b> : Number            <div class="mdesc">
309
                            The page level x coordinate for this component if contained within a positioning container.                        </div>
310
        </td>
311
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageX" href="output/Ext.BoxComponent.html#pageX">BoxComponent</a></td>
312
    </tr>
313
        <tr class="config-row inherited alt">
314
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
315
        <td class="sig">
316
        <a id="Ext.Viewport-pageY"></a>
317
            <b>pageY</b> : Number            <div class="mdesc">
318
                            The page level y coordinate for this component if contained within a positioning container.                        </div>
319
        </td>
320
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageY" href="output/Ext.BoxComponent.html#pageY">BoxComponent</a></td>
321
    </tr>
322
        <tr class="config-row inherited expandable">
323
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
324
        <td class="sig">
325
        <a id="Ext.Viewport-plugins"></a>
326
            <b>plugins</b> : Object/Array            <div class="mdesc">
327
                        <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
328
            <div class="long">
329
                An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality.            </div>
330
                        </div>
331
        </td>
332
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
333
    </tr>
334
        <tr class="config-row inherited alt expandable">
335
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
336
        <td class="sig">
337
        <a id="Ext.Viewport-stateEvents"></a>
338
            <b>stateEvents</b> : Array            <div class="mdesc">
339
                        <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>
340
            <div class="long">
341
                An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>
342
                        </div>
343
        </td>
344
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
345
    </tr>
346
        <tr class="config-row inherited expandable">
347
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
348
        <td class="sig">
349
        <a id="Ext.Viewport-stateId"></a>
350
            <b>stateId</b> : String            <div class="mdesc">
351
                        <div class="short">The unique id for this component to use for state management purposes (defaults to the component id). See stateful fo...</div>
352
            <div class="long">
353
                The unique id for this component to use for state management purposes (defaults to the component id). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>
354
                        </div>
355
        </td>
356
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
357
    </tr>
358
        <tr class="config-row inherited alt expandable">
359
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
360
        <td class="sig">
361
        <a id="Ext.Viewport-stateful"></a>
362
            <b>stateful</b> : Boolean            <div class="mdesc">
363
                        <div class="short">A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startu...</div>
364
            <div class="long">
365
                A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup.<p> For state saving to work, the state manager's provider must have been set to an implementation of <a ext:cls="Ext.state.Provider" href="output/Ext.state.Provider.html">Ext.state.Provider</a> which overrides the <a ext:cls="Ext.state.Provider" ext:member="set" href="output/Ext.state.Provider.html#set">set</a> and <a ext:cls="Ext.state.Provider" ext:member="get" href="output/Ext.state.Provider.html#get">get</a> methods to save and recall name/value pairs. A built-in implementation, <a ext:cls="Ext.state.CookieProvider" href="output/Ext.state.CookieProvider.html">Ext.state.CookieProvider</a> is available.</p> <p>To set the state provider for the current page:</p> <pre><code>Ext.state.Manager.setProvider(<b>new</b> Ext.state.CookieProvider());</code></pre> <p>Components attempt to save state when one of the events listed in the <a ext:cls="Ext.Component" ext:member="stateEvents" href="output/Ext.Component.html#stateEvents">stateEvents</a> configuration fires.</p> <p>You can perform extra processing on state save and restore by attaching handlers to the <a ext:cls="Ext.Component" ext:member="beforestaterestore" href="output/Ext.Component.html#beforestaterestore">beforestaterestore</a>, <a ext:cls="staterestore" href="output/staterestore.html">staterestore</a>, <a ext:cls="beforestatesave" href="output/beforestatesave.html">beforestatesave</a> and <a ext:cls="statesave" href="output/statesave.html">statesave</a> events</p>            </div>
366
                        </div>
367
        </td>
368
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
369
    </tr>
370
        <tr class="config-row inherited expandable">
371
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
372
        <td class="sig">
373
        <a id="Ext.Viewport-style"></a>
374
            <b>style</b> : String            <div class="mdesc">
375
                        <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
376
            <div class="long">
377
                A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>.            </div>
378
                        </div>
379
        </td>
380
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
381
    </tr>
382
        <tr class="config-row inherited alt">
383
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
384
        <td class="sig">
385
        <a id="Ext.Viewport-x"></a>
386
            <b>x</b> : Number            <div class="mdesc">
387
                            The local x (left) coordinate for this component if contained within a positioning container.                        </div>
388
        </td>
389
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#x" href="output/Ext.BoxComponent.html#x">BoxComponent</a></td>
390
    </tr>
391
        <tr class="config-row inherited expandable">
392
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
393
        <td class="sig">
394
        <a id="Ext.Viewport-xtype"></a>
395
            <b>xtype</b> : String            <div class="mdesc">
396
                        <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
397
            <div class="long">
398
                The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering.            </div>
399
                        </div>
400
        </td>
401
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
402
    </tr>
403
        <tr class="config-row inherited alt">
404
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
405
        <td class="sig">
406
        <a id="Ext.Viewport-y"></a>
407
            <b>y</b> : Number            <div class="mdesc">
408
                            The local y (top) coordinate for this component if contained within a positioning container.                        </div>
409
        </td>
410
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#y" href="output/Ext.BoxComponent.html#y">BoxComponent</a></td>
411
    </tr>
412
            </table>
413
                <a id="Ext.Viewport-props"></a>
414
        <h2>Public Properties</h2>
415
                <table cellspacing="0" class="member-table">
416
            <tr>
417
                <th class="sig-header" colspan="2">Property</th>
418
                <th class="msource-header">Defined By</th>
419
            </tr>
420
                <tr class="property-row inherited">
421
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
422
        <td class="sig">
423
        <a id="Ext.Viewport-disabled"></a>
424
            <b>disabled</b> : Boolean            <div class="mdesc">
425
                            True if this component is disabled. Read-only.                        </div>
426
        </td>
427
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
428
    </tr>
429
        <tr class="property-row inherited alt">
430
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
431
        <td class="sig">
432
        <a id="Ext.Viewport-hidden"></a>
433
            <b>hidden</b> : Boolean            <div class="mdesc">
434
 
435
True if this component is hidden. Read-only.                        </div>
436
        </td>
437
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
438
    </tr>
439
        <tr class="property-row inherited">
440
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
441
        <td class="sig">
442
        <a id="Ext.Viewport-initialConfig"></a>
443
            <b>initialConfig</b> : Object            <div class="mdesc">
444
                            This Component's initial configuration specification. Read-only.                        </div>
445
        </td>
446
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
447
    </tr>
448
        <tr class="property-row inherited alt">
449
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
450
        <td class="sig">
451
        <a id="Ext.Viewport-items"></a>
452
            <b>items</b> : MixedCollection            <div class="mdesc">
453
                            The collection of components in this container as a <a ext:cls="Ext.util.MixedCollection" href="output/Ext.util.MixedCollection.html">Ext.util.MixedCollection</a>                        </div>
454
        </td>
455
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#items" href="output/Ext.Container.html#items">Container</a></td>
456
    </tr>
457
        <tr class="property-row inherited expandable">
458
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
459
        <td class="sig">
460
        <a id="Ext.Viewport-ownerCt"></a>
461
            <b>ownerCt</b> : Ext.Container            <div class="mdesc">
462
                        <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
463
the component is added to a...</div>
464
            <div class="long">
465
                The component's owner <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (defaults to undefined, and is set automatically when
466
the component is added to a container).  Read-only.            </div>
467
                        </div>
468
        </td>
469
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
470
    </tr>
471
        <tr class="property-row inherited alt">
472
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
473
        <td class="sig">
474
        <a id="Ext.Viewport-rendered"></a>
475
            <b>rendered</b> : Boolean            <div class="mdesc">
476
                            True if this component has been rendered. Read-only.                        </div>
477
        </td>
478
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
479
    </tr>
480
            </table>
481
                <a id="Ext.Viewport-methods"></a>
482
        <h2>Public Methods</h2>
483
                <table cellspacing="0" class="member-table">
484
            <tr>
485
                <th class="sig-header" colspan="2">Method</th>
486
                <th class="msource-header">Defined By</th>
487
            </tr>
488
                <tr class="method-row expandable">
489
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
490
        <td class="sig">
491
        <a id="Ext.Viewport-Viewport"></a>
492
            <b>Viewport</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">
493
                        <div class="short">Create a new Viewport</div>
494
            <div class="long">
495
                Create a new Viewport    <div class="mdetail-params">
496
        <strong>Parameters:</strong>
497
        <ul><li><code>config</code> : Object<div class="sub-desc">The config object</div></li>        </ul>
498
        <strong>Returns:</strong>
499
        <ul>
500
            <li><code></code></li>
501
        </ul>
502
    </div>
503
                </div>
504
                        </div>
505
        </td>
506
        <td class="msource">Viewport</td>
507
    </tr>
508
        <tr class="method-row inherited alt expandable">
509
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
510
        <td class="sig">
511
        <a id="Ext.Viewport-add"></a>
512
            <b>add</b>(&nbsp;<code>Ext.Component/Object component</code>&nbsp;) : Ext.Component            <div class="mdesc">
513
                        <div class="short">Adds a component to this container. Fires the beforeadd event before adding,
514
then fires the add event after the compo...</div>
515
            <div class="long">
516
                Adds a component to this container. Fires the beforeadd event before adding,
517
then fires the add event after the component has been added.  If the container is
518
already rendered when add is called, you may need to call <a ext:cls="Ext.Container" ext:member="doLayout" href="output/Ext.Container.html#doLayout">doLayout</a> to refresh
519
the view.  This is required so that you can add multiple child components if needed
520
while only refreshing the layout once.    <div class="mdetail-params">
521
        <strong>Parameters:</strong>
522
        <ul><li><code>component</code> : Ext.Component/Object<div class="sub-desc">The component to add.<br><br>
523
Ext uses lazy rendering, and will only render the added Component should
524
it become necessary.<br><br>
525
A Component config object may be passed in order to avoid the overhead of
526
constructing a real Component object if lazy rendering might mean that the
527
added Component will not be rendered immediately. To take advantage of this
528
"lazy instantiation", set the <a ext:cls="Ext.Component" ext:member="xtype" href="output/Ext.Component.html#xtype">Ext.Component.xtype</a> config property to
529
the registered type of the Component wanted.<br><br>
530
For a list of all available xtypes, see <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>.</div></li>        </ul>
531
        <strong>Returns:</strong>
532
        <ul>
533
            <li><code>Ext.Component</code><div class="sub-desc">component The Component (or config object) that was added with the Container's default config values applied.</div></li>
534
        </ul>
535
    </div>
536
                </div>
537
                        </div>
538
        </td>
539
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#add" href="output/Ext.Container.html#add">Container</a></td>
540
    </tr>
541
        <tr class="method-row inherited expandable">
542
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
543
        <td class="sig">
544
        <a id="Ext.Viewport-addClass"></a>
545
            <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
546
                        <div class="short">Adds a CSS class to the component's underlying element.</div>
547
            <div class="long">
548
                Adds a CSS class to the component's underlying element.    <div class="mdetail-params">
549
        <strong>Parameters:</strong>
550
        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>
551
        <strong>Returns:</strong>
552
        <ul>
553
            <li><code>void</code></li>
554
        </ul>
555
    </div>
556
                </div>
557
                        </div>
558
        </td>
559
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
560
    </tr>
561
        <tr class="method-row inherited alt expandable">
562
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
563
        <td class="sig">
564
        <a id="Ext.Viewport-addEvents"></a>
565
            <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">
566
                        <div class="short">Used to define events on this Observable</div>
567
            <div class="long">
568
                Used to define events on this Observable    <div class="mdetail-params">
569
        <strong>Parameters:</strong>
570
        <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>
571
        <strong>Returns:</strong>
572
        <ul>
573
            <li><code>void</code></li>
574
        </ul>
575
    </div>
576
                </div>
577
                        </div>
578
        </td>
579
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
580
    </tr>
581
        <tr class="method-row inherited expandable">
582
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
583
        <td class="sig">
584
        <a id="Ext.Viewport-addListener"></a>
585
            <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
586
                        <div class="short">Appends an event handler to this component</div>
587
            <div class="long">
588
                Appends an event handler to this component    <div class="mdetail-params">
589
        <strong>Parameters:</strong>
590
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
591
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
592
properties. This may contain any of the following properties:<ul>
593
<li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
594
<li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
595
<li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
596
<li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
597
by the specified number of milliseconds. If the event fires again within that time, the original
598
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
599
</ul><br>
600
<p>
601
<b>Combining Options</b><br>
602
Using the options argument, it is possible to combine different types of listeners:<br>
603
<br>
604
A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
605
<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
606
    single: true,
607
    delay: 100,
608
    forumId: 4
609
});</code></pre>
610
<p>
611
<b>Attaching multiple handlers in 1 call</b><br>
612
The method also allows for a single argument to be passed which is a config object containing properties
613
which specify multiple handlers.
614
<p>
615
<pre><code>foo.on({
616
    <em>'click'</em> : {
617
        fn: <b>this</b>.onClick,
618
        scope: <b>this</b>,
619
        delay: 100
620
    },
621
    <em>'mouseover'</em> : {
622
        fn: <b>this</b>.onMouseOver,
623
        scope: <b>this</b>
624
    },
625
    <em>'mouseout'</em> : {
626
        fn: <b>this</b>.onMouseOut,
627
        scope: <b>this</b>
628
    }
629
});</code></pre>
630
<p>
631
Or a shorthand syntax:<br>
632
<pre><code>foo.on({
633
    <em>'click'</em> : <b>this</b>.onClick,
634
    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
635
    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
636
     scope: <b>this</b>
637
});</code></pre></div></li>        </ul>
638
        <strong>Returns:</strong>
639
        <ul>
640
            <li><code>void</code></li>
641
        </ul>
642
    </div>
643
                </div>
644
                        </div>
645
        </td>
646
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
647
    </tr>
648
        <tr class="method-row inherited alt expandable">
649
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
650
        <td class="sig">
651
        <a id="Ext.Viewport-applyToMarkup"></a>
652
            <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">
653
                        <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
654
            <div class="long">
655
                Apply this component to existing markup that is valid. With this function, no call to render() is required.    <div class="mdetail-params">
656
        <strong>Parameters:</strong>
657
        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li>        </ul>
658
        <strong>Returns:</strong>
659
        <ul>
660
            <li><code>void</code></li>
661
        </ul>
662
    </div>
663
                </div>
664
                        </div>
665
        </td>
666
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
667
    </tr>
668
        <tr class="method-row inherited expandable">
669
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
670
        <td class="sig">
671
        <a id="Ext.Viewport-bubble"></a>
672
            <b>bubble</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span>&nbsp;) : void            <div class="mdesc">
673
                        <div class="short">Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...</div>
674
            <div class="long">
675
                Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (<i>this</i>) of
676
function call will be the scope provided or the current component. The arguments to the function
677
will be the args provided or the current component. If the function returns false at any point,
678
the bubble is stopped.    <div class="mdetail-params">
679
        <strong>Parameters:</strong>
680
        <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current component)</div></li>        </ul>
681
        <strong>Returns:</strong>
682
        <ul>
683
            <li><code>void</code></li>
684
        </ul>
685
    </div>
686
                </div>
687
                        </div>
688
        </td>
689
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#bubble" href="output/Ext.Container.html#bubble">Container</a></td>
690
    </tr>
691
        <tr class="method-row inherited alt expandable">
692
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
693
        <td class="sig">
694
        <a id="Ext.Viewport-cascade"></a>
695
            <b>cascade</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span>&nbsp;) : void            <div class="mdesc">
696
                        <div class="short">Cascades down the component/container heirarchy from this component (called first), calling the specified function wi...</div>
697
            <div class="long">
698
                Cascades down the component/container heirarchy from this component (called first), calling the specified function with
699
each component. The scope (<i>this</i>) of
700
function call will be the scope provided or the current component. The arguments to the function
701
will be the args provided or the current component. If the function returns false at any point,
702
the cascade is stopped on that branch.    <div class="mdetail-params">
703
        <strong>Parameters:</strong>
704
        <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current component)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (defaults to passing the current component)</div></li>        </ul>
705
        <strong>Returns:</strong>
706
        <ul>
707
            <li><code>void</code></li>
708
        </ul>
709
    </div>
710
                </div>
711
                        </div>
712
        </td>
713
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#cascade" href="output/Ext.Container.html#cascade">Container</a></td>
714
    </tr>
715
        <tr class="method-row inherited expandable">
716
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
717
        <td class="sig">
718
        <a id="Ext.Viewport-cloneConfig"></a>
719
            <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">
720
                        <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
721
            <div class="long">
722
                Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">
723
        <strong>Parameters:</strong>
724
        <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
725
An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>
726
        <strong>Returns:</strong>
727
        <ul>
728
            <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
729
        </ul>
730
    </div>
731
                </div>
732
                        </div>
733
        </td>
734
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
735
    </tr>
736
        <tr class="method-row inherited alt expandable">
737
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
738
        <td class="sig">
739
        <a id="Ext.Viewport-destroy"></a>
740
            <b>destroy</b>() : void            <div class="mdesc">
741
                        <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
742
removing the c...</div>
743
            <div class="long">
744
                Destroys this component by purging any event listeners, removing the component's element from the DOM,
745
removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
746
<a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
747
should usually not need to be called directly.    <div class="mdetail-params">
748
        <strong>Parameters:</strong>
749
        <ul><li>None.</li>        </ul>
750
        <strong>Returns:</strong>
751
        <ul>
752
            <li><code>void</code></li>
753
        </ul>
754
    </div>
755
                </div>
756
                        </div>
757
        </td>
758
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
759
    </tr>
760
        <tr class="method-row inherited expandable">
761
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
762
        <td class="sig">
763
        <a id="Ext.Viewport-disable"></a>
764
            <b>disable</b>() : Ext.Component            <div class="mdesc">
765
                        <div class="short">Disable this component.</div>
766
            <div class="long">
767
                Disable this component.    <div class="mdetail-params">
768
        <strong>Parameters:</strong>
769
        <ul><li>None.</li>        </ul>
770
        <strong>Returns:</strong>
771
        <ul>
772
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
773
        </ul>
774
    </div>
775
                </div>
776
                        </div>
777
        </td>
778
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
779
    </tr>
780
        <tr class="method-row inherited alt expandable">
781
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
782
        <td class="sig">
783
        <a id="Ext.Viewport-doLayout"></a>
784
            <b>doLayout</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">
785
                        <div class="short">Force this container's layout to be recalculated. A call to this function is required after adding a new component
786
to...</div>
787
            <div class="long">
788
                Force this container's layout to be recalculated. A call to this function is required after adding a new component
789
to an already rendered container, or possibly after changing sizing/position properties of child components.    <div class="mdetail-params">
790
        <strong>Parameters:</strong>
791
        <ul><li><code>shallow</code> : Boolean<div class="sub-desc">(optional) True to only calc the layout of this component, and let child components auto
792
calc layouts as required (defaults to false, which calls doLayout recursively for each subcontainer)</div></li>        </ul>
793
        <strong>Returns:</strong>
794
        <ul>
795
            <li><code>void</code></li>
796
        </ul>
797
    </div>
798
                </div>
799
                        </div>
800
        </td>
801
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#doLayout" href="output/Ext.Container.html#doLayout">Container</a></td>
802
    </tr>
803
        <tr class="method-row inherited expandable">
804
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
805
        <td class="sig">
806
        <a id="Ext.Viewport-enable"></a>
807
            <b>enable</b>() : Ext.Component            <div class="mdesc">
808
                        <div class="short">Enable this component.</div>
809
            <div class="long">
810
                Enable this component.    <div class="mdetail-params">
811
        <strong>Parameters:</strong>
812
        <ul><li>None.</li>        </ul>
813
        <strong>Returns:</strong>
814
        <ul>
815
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
816
        </ul>
817
    </div>
818
                </div>
819
                        </div>
820
        </td>
821
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
822
    </tr>
823
        <tr class="method-row inherited alt expandable">
824
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
825
        <td class="sig">
826
        <a id="Ext.Viewport-find"></a>
827
            <b>find</b>(&nbsp;<code>String prop</code>, <code>String value</code>&nbsp;) : Array            <div class="mdesc">
828
                        <div class="short">Find a component under this container at any level by property</div>
829
            <div class="long">
830
                Find a component under this container at any level by property    <div class="mdetail-params">
831
        <strong>Parameters:</strong>
832
        <ul><li><code>prop</code> : String<div class="sub-desc"></div></li><li><code>value</code> : String<div class="sub-desc"></div></li>        </ul>
833
        <strong>Returns:</strong>
834
        <ul>
835
            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
836
        </ul>
837
    </div>
838
                </div>
839
                        </div>
840
        </td>
841
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#find" href="output/Ext.Container.html#find">Container</a></td>
842
    </tr>
843
        <tr class="method-row inherited expandable">
844
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
845
        <td class="sig">
846
        <a id="Ext.Viewport-findBy"></a>
847
            <b>findBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array            <div class="mdesc">
848
                        <div class="short">Find a component under this container at any level by a custom function. If the passed function returns
849
true, the com...</div>
850
            <div class="long">
851
                Find a component under this container at any level by a custom function. If the passed function returns
852
true, the component will be included in the results. The passed function is called with the arguments (component, this container).    <div class="mdetail-params">
853
        <strong>Parameters:</strong>
854
        <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
855
        <strong>Returns:</strong>
856
        <ul>
857
            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
858
        </ul>
859
    </div>
860
                </div>
861
                        </div>
862
        </td>
863
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#findBy" href="output/Ext.Container.html#findBy">Container</a></td>
864
    </tr>
865
        <tr class="method-row inherited alt expandable">
866
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
867
        <td class="sig">
868
        <a id="Ext.Viewport-findById"></a>
869
            <b>findById</b>(&nbsp;<code>String id</code>&nbsp;) : Ext.Component            <div class="mdesc">
870
                        <div class="short">Find a component under this container at any level by id</div>
871
            <div class="long">
872
                Find a component under this container at any level by id    <div class="mdetail-params">
873
        <strong>Parameters:</strong>
874
        <ul><li><code>id</code> : String<div class="sub-desc"></div></li>        </ul>
875
        <strong>Returns:</strong>
876
        <ul>
877
            <li><code>Ext.Component</code></li>
878
        </ul>
879
    </div>
880
                </div>
881
                        </div>
882
        </td>
883
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#findById" href="output/Ext.Container.html#findById">Container</a></td>
884
    </tr>
885
        <tr class="method-row inherited expandable">
886
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
887
        <td class="sig">
888
        <a id="Ext.Viewport-findByType"></a>
889
            <b>findByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Array            <div class="mdesc">
890
                        <div class="short">Find a component under this container at any level by xtype or class</div>
891
            <div class="long">
892
                Find a component under this container at any level by xtype or class    <div class="mdetail-params">
893
        <strong>Parameters:</strong>
894
        <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li>        </ul>
895
        <strong>Returns:</strong>
896
        <ul>
897
            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
898
        </ul>
899
    </div>
900
                </div>
901
                        </div>
902
        </td>
903
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#findByType" href="output/Ext.Container.html#findByType">Container</a></td>
904
    </tr>
905
        <tr class="method-row inherited alt expandable">
906
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
907
        <td class="sig">
908
        <a id="Ext.Viewport-findParentBy"></a>
909
            <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array            <div class="mdesc">
910
                        <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
911
true, the con...</div>
912
            <div class="long">
913
                Find a container above this component at any level by a custom function. If the passed function returns
914
true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">
915
        <strong>Parameters:</strong>
916
        <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
917
        <strong>Returns:</strong>
918
        <ul>
919
            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
920
        </ul>
921
    </div>
922
                </div>
923
                        </div>
924
        </td>
925
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
926
    </tr>
927
        <tr class="method-row inherited expandable">
928
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
929
        <td class="sig">
930
        <a id="Ext.Viewport-findParentByType"></a>
931
            <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Container            <div class="mdesc">
932
                        <div class="short">Find a container above this component at any level by xtype or class</div>
933
            <div class="long">
934
                Find a container above this component at any level by xtype or class    <div class="mdetail-params">
935
        <strong>Parameters:</strong>
936
        <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li>        </ul>
937
        <strong>Returns:</strong>
938
        <ul>
939
            <li><code>Container</code><div class="sub-desc">The found container</div></li>
940
        </ul>
941
    </div>
942
                </div>
943
                        </div>
944
        </td>
945
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
946
    </tr>
947
        <tr class="method-row inherited alt expandable">
948
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
949
        <td class="sig">
950
        <a id="Ext.Viewport-fireEvent"></a>
951
            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">
952
                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
953
            <div class="long">
954
                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">
955
        <strong>Parameters:</strong>
956
        <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li>        </ul>
957
        <strong>Returns:</strong>
958
        <ul>
959
            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
960
        </ul>
961
    </div>
962
                </div>
963
                        </div>
964
        </td>
965
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
966
    </tr>
967
        <tr class="method-row inherited expandable">
968
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
969
        <td class="sig">
970
        <a id="Ext.Viewport-focus"></a>
971
            <b>focus</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span>&nbsp;) : Ext.Component            <div class="mdesc">
972
                        <div class="short">Try to focus this component.</div>
973
            <div class="long">
974
                Try to focus this component.    <div class="mdetail-params">
975
        <strong>Parameters:</strong>
976
        <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li>        </ul>
977
        <strong>Returns:</strong>
978
        <ul>
979
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
980
        </ul>
981
    </div>
982
                </div>
983
                        </div>
984
        </td>
985
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
986
    </tr>
987
        <tr class="method-row inherited alt expandable">
988
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
989
        <td class="sig">
990
        <a id="Ext.Viewport-getBox"></a>
991
            <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object            <div class="mdesc">
992
                        <div class="short">Gets the current box measurements of the component's underlying element.</div>
993
            <div class="long">
994
                Gets the current box measurements of the component's underlying element.    <div class="mdetail-params">
995
        <strong>Parameters:</strong>
996
        <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li>        </ul>
997
        <strong>Returns:</strong>
998
        <ul>
999
            <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
1000
        </ul>
1001
    </div>
1002
                </div>
1003
                        </div>
1004
        </td>
1005
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>
1006
    </tr>
1007
        <tr class="method-row inherited expandable">
1008
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1009
        <td class="sig">
1010
        <a id="Ext.Viewport-getComponent"></a>
1011
            <b>getComponent</b>(&nbsp;<code>String/Number id</code>&nbsp;) : Ext.Component            <div class="mdesc">
1012
                        <div class="short">Gets a direct child Component by id, or by index.</div>
1013
            <div class="long">
1014
                Gets a direct child Component by id, or by index.    <div class="mdetail-params">
1015
        <strong>Parameters:</strong>
1016
        <ul><li><code>id</code> : String/Number<div class="sub-desc">or index of child Component to return.</div></li>        </ul>
1017
        <strong>Returns:</strong>
1018
        <ul>
1019
            <li><code>Ext.Component</code></li>
1020
        </ul>
1021
    </div>
1022
                </div>
1023
                        </div>
1024
        </td>
1025
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#getComponent" href="output/Ext.Container.html#getComponent">Container</a></td>
1026
    </tr>
1027
        <tr class="method-row inherited alt expandable">
1028
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1029
        <td class="sig">
1030
        <a id="Ext.Viewport-getEl"></a>
1031
            <b>getEl</b>() : Ext.Element            <div class="mdesc">
1032
                        <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
1033
            <div class="long">
1034
                Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">
1035
        <strong>Parameters:</strong>
1036
        <ul><li>None.</li>        </ul>
1037
        <strong>Returns:</strong>
1038
        <ul>
1039
            <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
1040
        </ul>
1041
    </div>
1042
                </div>
1043
                        </div>
1044
        </td>
1045
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
1046
    </tr>
1047
        <tr class="method-row inherited expandable">
1048
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1049
        <td class="sig">
1050
        <a id="Ext.Viewport-getId"></a>
1051
            <b>getId</b>() : String            <div class="mdesc">
1052
                        <div class="short">Returns the id of this component.</div>
1053
            <div class="long">
1054
                Returns the id of this component.    <div class="mdetail-params">
1055
        <strong>Parameters:</strong>
1056
        <ul><li>None.</li>        </ul>
1057
        <strong>Returns:</strong>
1058
        <ul>
1059
            <li><code>String</code></li>
1060
        </ul>
1061
    </div>
1062
                </div>
1063
                        </div>
1064
        </td>
1065
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
1066
    </tr>
1067
        <tr class="method-row inherited alt expandable">
1068
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1069
        <td class="sig">
1070
        <a id="Ext.Viewport-getItemId"></a>
1071
            <b>getItemId</b>() : String            <div class="mdesc">
1072
                        <div class="short">Returns the item id of this component.</div>
1073
            <div class="long">
1074
                Returns the item id of this component.    <div class="mdetail-params">
1075
        <strong>Parameters:</strong>
1076
        <ul><li>None.</li>        </ul>
1077
        <strong>Returns:</strong>
1078
        <ul>
1079
            <li><code>String</code></li>
1080
        </ul>
1081
    </div>
1082
                </div>
1083
                        </div>
1084
        </td>
1085
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
1086
    </tr>
1087
        <tr class="method-row inherited expandable">
1088
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1089
        <td class="sig">
1090
        <a id="Ext.Viewport-getLayout"></a>
1091
            <b>getLayout</b>() : ContainerLayout            <div class="mdesc">
1092
                        <div class="short">Returns the layout currently in use by the container.  If the container does not currently have a layout
1093
set, a defau...</div>
1094
            <div class="long">
1095
                Returns the layout currently in use by the container.  If the container does not currently have a layout
1096
set, a default <a ext:cls="Ext.layout.ContainerLayout" href="output/Ext.layout.ContainerLayout.html">Ext.layout.ContainerLayout</a> will be created and set as the container's layout.    <div class="mdetail-params">
1097
        <strong>Parameters:</strong>
1098
        <ul><li>None.</li>        </ul>
1099
        <strong>Returns:</strong>
1100
        <ul>
1101
            <li><code>ContainerLayout</code><div class="sub-desc">layout The container's layout</div></li>
1102
        </ul>
1103
    </div>
1104
                </div>
1105
                        </div>
1106
        </td>
1107
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#getLayout" href="output/Ext.Container.html#getLayout">Container</a></td>
1108
    </tr>
1109
        <tr class="method-row inherited alt expandable">
1110
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1111
        <td class="sig">
1112
        <a id="Ext.Viewport-getPosition"></a>
1113
            <b>getPosition</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Array            <div class="mdesc">
1114
                        <div class="short">Gets the current XY position of the component's underlying element.</div>
1115
            <div class="long">
1116
                Gets the current XY position of the component's underlying element.    <div class="mdetail-params">
1117
        <strong>Parameters:</strong>
1118
        <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li>        </ul>
1119
        <strong>Returns:</strong>
1120
        <ul>
1121
            <li><code>Array</code><div class="sub-desc">The XY position of the element (e.g., [100, 200])</div></li>
1122
        </ul>
1123
    </div>
1124
                </div>
1125
                        </div>
1126
        </td>
1127
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getPosition" href="output/Ext.BoxComponent.html#getPosition">BoxComponent</a></td>
1128
    </tr>
1129
        <tr class="method-row inherited expandable">
1130
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1131
        <td class="sig">
1132
        <a id="Ext.Viewport-getSize"></a>
1133
            <b>getSize</b>() : Object            <div class="mdesc">
1134
                        <div class="short">Gets the current size of the component's underlying element.</div>
1135
            <div class="long">
1136
                Gets the current size of the component's underlying element.    <div class="mdetail-params">
1137
        <strong>Parameters:</strong>
1138
        <ul><li>None.</li>        </ul>
1139
        <strong>Returns:</strong>
1140
        <ul>
1141
            <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>
1142
        </ul>
1143
    </div>
1144
                </div>
1145
                        </div>
1146
        </td>
1147
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getSize" href="output/Ext.BoxComponent.html#getSize">BoxComponent</a></td>
1148
    </tr>
1149
        <tr class="method-row inherited alt expandable">
1150
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1151
        <td class="sig">
1152
        <a id="Ext.Viewport-getXType"></a>
1153
            <b>getXType</b>() : String            <div class="mdesc">
1154
                        <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
1155
available xtypes, see the Ex...</div>
1156
            <div class="long">
1157
                Gets the xtype for this component as registered with <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. For a list of all
1158
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1159
<pre><code>var t = <b>new</b> Ext.form.TextField();
1160
alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">
1161
        <strong>Parameters:</strong>
1162
        <ul><li>None.</li>        </ul>
1163
        <strong>Returns:</strong>
1164
        <ul>
1165
            <li><code>String</code><div class="sub-desc">The xtype</div></li>
1166
        </ul>
1167
    </div>
1168
                </div>
1169
                        </div>
1170
        </td>
1171
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
1172
    </tr>
1173
        <tr class="method-row inherited expandable">
1174
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1175
        <td class="sig">
1176
        <a id="Ext.Viewport-getXTypes"></a>
1177
            <b>getXTypes</b>() : String            <div class="mdesc">
1178
                        <div class="short">Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
1179
available xtypes, see the Ext...</div>
1180
            <div class="long">
1181
                Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
1182
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1183
<pre><code>
1184
var t = new Ext.form.TextField();
1185
alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">
1186
        <strong>Parameters:</strong>
1187
        <ul><li>None.</li>        </ul>
1188
        <strong>Returns:</strong>
1189
        <ul>
1190
            <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
1191
        </ul>
1192
    </div>
1193
                </div>
1194
                        </div>
1195
        </td>
1196
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
1197
    </tr>
1198
        <tr class="method-row inherited alt expandable">
1199
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1200
        <td class="sig">
1201
        <a id="Ext.Viewport-hasListener"></a>
1202
            <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">
1203
                        <div class="short">Checks to see if this object has any listeners for a specified event</div>
1204
            <div class="long">
1205
                Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">
1206
        <strong>Parameters:</strong>
1207
        <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>
1208
        <strong>Returns:</strong>
1209
        <ul>
1210
            <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
1211
        </ul>
1212
    </div>
1213
                </div>
1214
                        </div>
1215
        </td>
1216
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
1217
    </tr>
1218
        <tr class="method-row inherited expandable">
1219
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1220
        <td class="sig">
1221
        <a id="Ext.Viewport-hide"></a>
1222
            <b>hide</b>() : Ext.Component            <div class="mdesc">
1223
                        <div class="short">Hide this component.</div>
1224
            <div class="long">
1225
                Hide this component.    <div class="mdetail-params">
1226
        <strong>Parameters:</strong>
1227
        <ul><li>None.</li>        </ul>
1228
        <strong>Returns:</strong>
1229
        <ul>
1230
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1231
        </ul>
1232
    </div>
1233
                </div>
1234
                        </div>
1235
        </td>
1236
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
1237
    </tr>
1238
        <tr class="method-row alt expandable">
1239
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1240
        <td class="sig">
1241
        <a id="Ext.Viewport-initComponent"></a>
1242
            <b>initComponent</b>() : void            <div class="mdesc">
1243
                        <div class="short"></div>
1244
            <div class="long">
1245
                    <div class="mdetail-params">
1246
        <strong>Parameters:</strong>
1247
        <ul><li>None.</li>        </ul>
1248
        <strong>Returns:</strong>
1249
        <ul>
1250
            <li><code>void</code></li>
1251
        </ul>
1252
    </div>
1253
                </div>
1254
                        </div>
1255
        </td>
1256
        <td class="msource">Viewport</td>
1257
    </tr>
1258
        <tr class="method-row inherited expandable">
1259
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1260
        <td class="sig">
1261
        <a id="Ext.Viewport-insert"></a>
1262
            <b>insert</b>(&nbsp;<code>Number index</code>, <code>Ext.Component component</code>&nbsp;) : Ext.Component            <div class="mdesc">
1263
                        <div class="short">Inserts a Component into this Container at a specified index. Fires the
1264
beforeadd event before inserting, then fires ...</div>
1265
            <div class="long">
1266
                Inserts a Component into this Container at a specified index. Fires the
1267
beforeadd event before inserting, then fires the add event after the
1268
Component has been inserted.    <div class="mdetail-params">
1269
        <strong>Parameters:</strong>
1270
        <ul><li><code>index</code> : Number<div class="sub-desc">The index at which the Component will be inserted
1271
into the Container's items collection</div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The child Component to insert.<br><br>
1272
Ext uses lazy rendering, and will only render the inserted Component should
1273
it become necessary.<br><br>
1274
A Component config object may be passed in order to avoid the overhead of
1275
constructing a real Component object if lazy rendering might mean that the
1276
inserted Component will not be rendered immediately. To take advantage of
1277
this "lazy instantiation", set the <a ext:cls="Ext.Component" ext:member="xtype" href="output/Ext.Component.html#xtype">Ext.Component.xtype</a> config
1278
property to the registered type of the Component wanted.<br><br>
1279
For a list of all available xtypes, see <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>.</div></li>        </ul>
1280
        <strong>Returns:</strong>
1281
        <ul>
1282
            <li><code>Ext.Component</code><div class="sub-desc">component The Component (or config object) that was inserted with the Container's default config values applied.</div></li>
1283
        </ul>
1284
    </div>
1285
                </div>
1286
                        </div>
1287
        </td>
1288
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#insert" href="output/Ext.Container.html#insert">Container</a></td>
1289
    </tr>
1290
        <tr class="method-row inherited alt expandable">
1291
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1292
        <td class="sig">
1293
        <a id="Ext.Viewport-isVisible"></a>
1294
            <b>isVisible</b>() : void            <div class="mdesc">
1295
                        <div class="short">Returns true if this component is visible.</div>
1296
            <div class="long">
1297
                Returns true if this component is visible.    <div class="mdetail-params">
1298
        <strong>Parameters:</strong>
1299
        <ul><li>None.</li>        </ul>
1300
        <strong>Returns:</strong>
1301
        <ul>
1302
            <li><code>void</code></li>
1303
        </ul>
1304
    </div>
1305
                </div>
1306
                        </div>
1307
        </td>
1308
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
1309
    </tr>
1310
        <tr class="method-row inherited expandable">
1311
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1312
        <td class="sig">
1313
        <a id="Ext.Viewport-isXType"></a>
1314
            <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">
1315
                        <div class="short">Tests whether or not this component is of a specific xtype. This can test whether this component is descended
1316
from th...</div>
1317
            <div class="long">
1318
                Tests whether or not this component is of a specific xtype. This can test whether this component is descended
1319
from the xtype (default) or whether it is directly of the xtype specified (shallow = true). For a list of all
1320
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1321
<pre><code>var t = <b>new</b> Ext.form.TextField();
1322
<b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
1323
<b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
1324
<b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">
1325
        <strong>Parameters:</strong>
1326
        <ul><li><code>xtype</code> : String<div class="sub-desc">The xtype to check for this component</div></li><li><code>shallow</code> : Boolean<div class="sub-desc">(optional) False to check whether this component is descended from the xtype (this is
1327
the default), or true to check whether this component is directly of the specified xtype.</div></li>        </ul>
1328
        <strong>Returns:</strong>
1329
        <ul>
1330
            <li><code>void</code></li>
1331
        </ul>
1332
    </div>
1333
                </div>
1334
                        </div>
1335
        </td>
1336
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
1337
    </tr>
1338
        <tr class="method-row inherited alt expandable">
1339
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1340
        <td class="sig">
1341
        <a id="Ext.Viewport-on"></a>
1342
            <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
1343
                        <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1344
            <div class="long">
1345
                Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">
1346
        <strong>Parameters:</strong>
1347
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
1348
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
1349
        <strong>Returns:</strong>
1350
        <ul>
1351
            <li><code>void</code></li>
1352
        </ul>
1353
    </div>
1354
                </div>
1355
                        </div>
1356
        </td>
1357
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
1358
    </tr>
1359
        <tr class="method-row inherited expandable">
1360
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1361
        <td class="sig">
1362
        <a id="Ext.Viewport-purgeListeners"></a>
1363
            <b>purgeListeners</b>() : void            <div class="mdesc">
1364
                        <div class="short">Removes all listeners for this object</div>
1365
            <div class="long">
1366
                Removes all listeners for this object    <div class="mdetail-params">
1367
        <strong>Parameters:</strong>
1368
        <ul><li>None.</li>        </ul>
1369
        <strong>Returns:</strong>
1370
        <ul>
1371
            <li><code>void</code></li>
1372
        </ul>
1373
    </div>
1374
                </div>
1375
                        </div>
1376
        </td>
1377
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
1378
    </tr>
1379
        <tr class="method-row inherited alt expandable">
1380
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1381
        <td class="sig">
1382
        <a id="Ext.Viewport-remove"></a>
1383
            <b>remove</b>(&nbsp;<code>Component/String component</code>, <span class="optional" title="Optional">[<code>Boolean autoDestroy</code>]</span>&nbsp;) : void            <div class="mdesc">
1384
                        <div class="short">Removes a component from this container.  Fires the beforeremove event before removing, then fires
1385
the remove event a...</div>
1386
            <div class="long">
1387
                Removes a component from this container.  Fires the beforeremove event before removing, then fires
1388
the remove event after the component has been removed.    <div class="mdetail-params">
1389
        <strong>Parameters:</strong>
1390
        <ul><li><code>component</code> : Component/String<div class="sub-desc">The component reference or id to remove</div></li><li><code>autoDestroy</code> : Boolean<div class="sub-desc">(optional) True to automatically invoke the component's <a ext:cls="Ext.Component" ext:member="destroy" href="output/Ext.Component.html#destroy">Ext.Component.destroy</a> function</div></li>        </ul>
1391
        <strong>Returns:</strong>
1392
        <ul>
1393
            <li><code>void</code></li>
1394
        </ul>
1395
    </div>
1396
                </div>
1397
                        </div>
1398
        </td>
1399
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#remove" href="output/Ext.Container.html#remove">Container</a></td>
1400
    </tr>
1401
        <tr class="method-row inherited expandable">
1402
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1403
        <td class="sig">
1404
        <a id="Ext.Viewport-removeClass"></a>
1405
            <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
1406
                        <div class="short">Removes a CSS class from the component's underlying element.</div>
1407
            <div class="long">
1408
                Removes a CSS class from the component's underlying element.    <div class="mdetail-params">
1409
        <strong>Parameters:</strong>
1410
        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>
1411
        <strong>Returns:</strong>
1412
        <ul>
1413
            <li><code>void</code></li>
1414
        </ul>
1415
    </div>
1416
                </div>
1417
                        </div>
1418
        </td>
1419
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
1420
    </tr>
1421
        <tr class="method-row inherited alt expandable">
1422
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1423
        <td class="sig">
1424
        <a id="Ext.Viewport-removeListener"></a>
1425
            <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1426
                        <div class="short">Removes a listener</div>
1427
            <div class="long">
1428
                Removes a listener    <div class="mdetail-params">
1429
        <strong>Parameters:</strong>
1430
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>
1431
        <strong>Returns:</strong>
1432
        <ul>
1433
            <li><code>void</code></li>
1434
        </ul>
1435
    </div>
1436
                </div>
1437
                        </div>
1438
        </td>
1439
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
1440
    </tr>
1441
        <tr class="method-row inherited expandable">
1442
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1443
        <td class="sig">
1444
        <a id="Ext.Viewport-render"></a>
1445
            <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void            <div class="mdesc">
1446
                        <div class="short">If this is a lazy rendering component, render it to its container element.</div>
1447
            <div class="long">
1448
                If this is a lazy rendering component, render it to its container element.    <div class="mdetail-params">
1449
        <strong>Parameters:</strong>
1450
        <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The element this component should be rendered into. If it is being
1451
applied to existing markup, this should be left off.</div></li><li><code>position</code> : String/Number<div class="sub-desc">(optional) The element ID or DOM node index within the container <b>before</b>
1452
which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>
1453
        <strong>Returns:</strong>
1454
        <ul>
1455
            <li><code>void</code></li>
1456
        </ul>
1457
    </div>
1458
                </div>
1459
                        </div>
1460
        </td>
1461
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
1462
    </tr>
1463
        <tr class="method-row inherited alt expandable">
1464
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1465
        <td class="sig">
1466
        <a id="Ext.Viewport-resumeEvents"></a>
1467
            <b>resumeEvents</b>() : void            <div class="mdesc">
1468
                        <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
1469
            <div class="long">
1470
                Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)    <div class="mdetail-params">
1471
        <strong>Parameters:</strong>
1472
        <ul><li>None.</li>        </ul>
1473
        <strong>Returns:</strong>
1474
        <ul>
1475
            <li><code>void</code></li>
1476
        </ul>
1477
    </div>
1478
                </div>
1479
                        </div>
1480
        </td>
1481
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
1482
    </tr>
1483
        <tr class="method-row inherited expandable">
1484
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1485
        <td class="sig">
1486
        <a id="Ext.Viewport-setDisabled"></a>
1487
            <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void            <div class="mdesc">
1488
                        <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
1489
            <div class="long">
1490
                Convenience function for setting disabled/enabled by boolean.    <div class="mdetail-params">
1491
        <strong>Parameters:</strong>
1492
        <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li>        </ul>
1493
        <strong>Returns:</strong>
1494
        <ul>
1495
            <li><code>void</code></li>
1496
        </ul>
1497
    </div>
1498
                </div>
1499
                        </div>
1500
        </td>
1501
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
1502
    </tr>
1503
        <tr class="method-row inherited alt expandable">
1504
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1505
        <td class="sig">
1506
        <a id="Ext.Viewport-setHeight"></a>
1507
            <b>setHeight</b>(&nbsp;<code>Number height</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">
1508
                        <div class="short">Sets the height of the component.  This method fires the resize event.</div>
1509
            <div class="long">
1510
                Sets the height of the component.  This method fires the resize event.    <div class="mdetail-params">
1511
        <strong>Parameters:</strong>
1512
        <ul><li><code>height</code> : Number<div class="sub-desc">The new height to set</div></li>        </ul>
1513
        <strong>Returns:</strong>
1514
        <ul>
1515
            <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
1516
        </ul>
1517
    </div>
1518
                </div>
1519
                        </div>
1520
        </td>
1521
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setHeight" href="output/Ext.BoxComponent.html#setHeight">BoxComponent</a></td>
1522
    </tr>
1523
        <tr class="method-row inherited expandable">
1524
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1525
        <td class="sig">
1526
        <a id="Ext.Viewport-setPagePosition"></a>
1527
            <b>setPagePosition</b>(&nbsp;<code>Number x</code>, <code>Number y</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">
1528
                        <div class="short">Sets the page XY position of the component.  To set the left and top instead, use setPosition.
1529
This method fires the ...</div>
1530
            <div class="long">
1531
                Sets the page XY position of the component.  To set the left and top instead, use <a ext:cls="Ext.BoxComponent" ext:member="setPosition" href="output/Ext.BoxComponent.html#setPosition">setPosition</a>.
1532
This method fires the move event.    <div class="mdetail-params">
1533
        <strong>Parameters:</strong>
1534
        <ul><li><code>x</code> : Number<div class="sub-desc">The new x position</div></li><li><code>y</code> : Number<div class="sub-desc">The new y position</div></li>        </ul>
1535
        <strong>Returns:</strong>
1536
        <ul>
1537
            <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
1538
        </ul>
1539
    </div>
1540
                </div>
1541
                        </div>
1542
        </td>
1543
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">BoxComponent</a></td>
1544
    </tr>
1545
        <tr class="method-row inherited alt expandable">
1546
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1547
        <td class="sig">
1548
        <a id="Ext.Viewport-setPosition"></a>
1549
            <b>setPosition</b>(&nbsp;<code>Number left</code>, <code>Number top</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">
1550
                        <div class="short">Sets the left and top of the component.  To set the page XY position instead, use setPagePosition.
1551
This method fires ...</div>
1552
            <div class="long">
1553
                Sets the left and top of the component.  To set the page XY position instead, use <a ext:cls="Ext.BoxComponent" ext:member="setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">setPagePosition</a>.
1554
This method fires the move event.    <div class="mdetail-params">
1555
        <strong>Parameters:</strong>
1556
        <ul><li><code>left</code> : Number<div class="sub-desc">The new left</div></li><li><code>top</code> : Number<div class="sub-desc">The new top</div></li>        </ul>
1557
        <strong>Returns:</strong>
1558
        <ul>
1559
            <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
1560
        </ul>
1561
    </div>
1562
                </div>
1563
                        </div>
1564
        </td>
1565
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPosition" href="output/Ext.BoxComponent.html#setPosition">BoxComponent</a></td>
1566
    </tr>
1567
        <tr class="method-row inherited expandable">
1568
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1569
        <td class="sig">
1570
        <a id="Ext.Viewport-setSize"></a>
1571
            <b>setSize</b>(&nbsp;<code>Number/Object width</code>, <code>Number height</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">
1572
                        <div class="short">Sets the width and height of the component.  This method fires the resize event.  This method can accept
1573
either width...</div>
1574
            <div class="long">
1575
                Sets the width and height of the component.  This method fires the resize event.  This method can accept
1576
either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.    <div class="mdetail-params">
1577
        <strong>Parameters:</strong>
1578
        <ul><li><code>width</code> : Number/Object<div class="sub-desc">The new width to set, or a size object in the format {width, height}</div></li><li><code>height</code> : Number<div class="sub-desc">The new height to set (not required if a size object is passed as the first arg)</div></li>        </ul>
1579
        <strong>Returns:</strong>
1580
        <ul>
1581
            <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
1582
        </ul>
1583
    </div>
1584
                </div>
1585
                        </div>
1586
        </td>
1587
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setSize" href="output/Ext.BoxComponent.html#setSize">BoxComponent</a></td>
1588
    </tr>
1589
        <tr class="method-row inherited alt expandable">
1590
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1591
        <td class="sig">
1592
        <a id="Ext.Viewport-setVisible"></a>
1593
            <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">
1594
                        <div class="short">Convenience function to hide or show this component by boolean.</div>
1595
            <div class="long">
1596
                Convenience function to hide or show this component by boolean.    <div class="mdetail-params">
1597
        <strong>Parameters:</strong>
1598
        <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>
1599
        <strong>Returns:</strong>
1600
        <ul>
1601
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1602
        </ul>
1603
    </div>
1604
                </div>
1605
                        </div>
1606
        </td>
1607
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
1608
    </tr>
1609
        <tr class="method-row inherited expandable">
1610
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1611
        <td class="sig">
1612
        <a id="Ext.Viewport-setWidth"></a>
1613
            <b>setWidth</b>(&nbsp;<code>Number width</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">
1614
                        <div class="short">Sets the width of the component.  This method fires the resize event.</div>
1615
            <div class="long">
1616
                Sets the width of the component.  This method fires the resize event.    <div class="mdetail-params">
1617
        <strong>Parameters:</strong>
1618
        <ul><li><code>width</code> : Number<div class="sub-desc">The new width to set</div></li>        </ul>
1619
        <strong>Returns:</strong>
1620
        <ul>
1621
            <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
1622
        </ul>
1623
    </div>
1624
                </div>
1625
                        </div>
1626
        </td>
1627
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setWidth" href="output/Ext.BoxComponent.html#setWidth">BoxComponent</a></td>
1628
    </tr>
1629
        <tr class="method-row inherited alt expandable">
1630
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1631
        <td class="sig">
1632
        <a id="Ext.Viewport-show"></a>
1633
            <b>show</b>() : Ext.Component            <div class="mdesc">
1634
                        <div class="short">Show this component.</div>
1635
            <div class="long">
1636
                Show this component.    <div class="mdetail-params">
1637
        <strong>Parameters:</strong>
1638
        <ul><li>None.</li>        </ul>
1639
        <strong>Returns:</strong>
1640
        <ul>
1641
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1642
        </ul>
1643
    </div>
1644
                </div>
1645
                        </div>
1646
        </td>
1647
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
1648
    </tr>
1649
        <tr class="method-row inherited expandable">
1650
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1651
        <td class="sig">
1652
        <a id="Ext.Viewport-suspendEvents"></a>
1653
            <b>suspendEvents</b>() : void            <div class="mdesc">
1654
                        <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
1655
            <div class="long">
1656
                Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)    <div class="mdetail-params">
1657
        <strong>Parameters:</strong>
1658
        <ul><li>None.</li>        </ul>
1659
        <strong>Returns:</strong>
1660
        <ul>
1661
            <li><code>void</code></li>
1662
        </ul>
1663
    </div>
1664
                </div>
1665
                        </div>
1666
        </td>
1667
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
1668
    </tr>
1669
        <tr class="method-row inherited alt expandable">
1670
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1671
        <td class="sig">
1672
        <a id="Ext.Viewport-syncSize"></a>
1673
            <b>syncSize</b>() : Ext.BoxComponent            <div class="mdesc">
1674
                        <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
1675
            <div class="long">
1676
                Force the component's size to recalculate based on the underlying element's current height and width.    <div class="mdetail-params">
1677
        <strong>Parameters:</strong>
1678
        <ul><li>None.</li>        </ul>
1679
        <strong>Returns:</strong>
1680
        <ul>
1681
            <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
1682
        </ul>
1683
    </div>
1684
                </div>
1685
                        </div>
1686
        </td>
1687
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#syncSize" href="output/Ext.BoxComponent.html#syncSize">BoxComponent</a></td>
1688
    </tr>
1689
        <tr class="method-row inherited expandable">
1690
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1691
        <td class="sig">
1692
        <a id="Ext.Viewport-un"></a>
1693
            <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1694
                        <div class="short">Removes a listener (shorthand for removeListener)</div>
1695
            <div class="long">
1696
                Removes a listener (shorthand for removeListener)    <div class="mdetail-params">
1697
        <strong>Parameters:</strong>
1698
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>
1699
        <strong>Returns:</strong>
1700
        <ul>
1701
            <li><code>void</code></li>
1702
        </ul>
1703
    </div>
1704
                </div>
1705
                        </div>
1706
        </td>
1707
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
1708
    </tr>
1709
        <tr class="method-row inherited alt expandable">
1710
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1711
        <td class="sig">
1712
        <a id="Ext.Viewport-updateBox"></a>
1713
            <b>updateBox</b>(&nbsp;<code>Object box</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">
1714
                        <div class="short">Sets the current box measurements of the component's underlying element.</div>
1715
            <div class="long">
1716
                Sets the current box measurements of the component's underlying element.    <div class="mdetail-params">
1717
        <strong>Parameters:</strong>
1718
        <ul><li><code>box</code> : Object<div class="sub-desc">An object in the format {x, y, width, height}</div></li>        </ul>
1719
        <strong>Returns:</strong>
1720
        <ul>
1721
            <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
1722
        </ul>
1723
    </div>
1724
                </div>
1725
                        </div>
1726
        </td>
1727
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#updateBox" href="output/Ext.BoxComponent.html#updateBox">BoxComponent</a></td>
1728
    </tr>
1729
            </table>
1730
                <a id="Ext.Viewport-events"></a>
1731
        <h2>Public Events</h2>
1732
                <table cellspacing="0" class="member-table">
1733
            <tr>
1734
                <th class="sig-header" colspan="2">Event</th>
1735
                <th class="msource-header">Defined By</th>
1736
            </tr>
1737
                <tr class="event-row inherited expandable">
1738
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1739
        <td class="sig">
1740
        <a id="Ext.Viewport-add"></a>
1741
            <b>add</b> : (&nbsp;<code>Ext.Container this</code>, <code>Ext.Component component</code>, <code>Number index</code>&nbsp;)            <div class="mdesc">
1742
                        <div class="short">Fires after any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is added or inserted into the container.</div>
1743
            <div class="long">
1744
                Fires after any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is added or inserted into the container.    <div class="mdetail-params">
1745
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1746
        <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The component that was added</div></li><li><code>index</code> : Number<div class="sub-desc">The index at which the component was added to the container's items collection</div></li>        </ul>
1747
    </div>
1748
                </div>
1749
                        </div>
1750
        </td>
1751
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-add" href="output/Ext.Container.html#event-add">Container</a></td>
1752
    </tr>
1753
        <tr class="event-row inherited alt expandable">
1754
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1755
        <td class="sig">
1756
        <a id="Ext.Viewport-afterlayout"></a>
1757
            <b>afterlayout</b> : (&nbsp;<code>Ext.Container this</code>, <code>ContainerLayout layout</code>&nbsp;)            <div class="mdesc">
1758
                        <div class="short">Fires when the components in this container are arranged by the associated layout manager.</div>
1759
            <div class="long">
1760
                Fires when the components in this container are arranged by the associated layout manager.    <div class="mdetail-params">
1761
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1762
        <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>layout</code> : ContainerLayout<div class="sub-desc">The ContainerLayout implementation for this container</div></li>        </ul>
1763
    </div>
1764
                </div>
1765
                        </div>
1766
        </td>
1767
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-afterlayout" href="output/Ext.Container.html#event-afterlayout">Container</a></td>
1768
    </tr>
1769
        <tr class="event-row inherited expandable">
1770
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1771
        <td class="sig">
1772
        <a id="Ext.Viewport-beforeadd"></a>
1773
            <b>beforeadd</b> : (&nbsp;<code>Ext.Container this</code>, <code>Ext.Component component</code>, <code>Number index</code>&nbsp;)            <div class="mdesc">
1774
                        <div class="short">Fires before any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is added or inserted into the container.
1775
A handler can return false to cancel the add.</div>
1776
            <div class="long">
1777
                Fires before any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is added or inserted into the container.
1778
A handler can return false to cancel the add.    <div class="mdetail-params">
1779
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1780
        <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The component being added</div></li><li><code>index</code> : Number<div class="sub-desc">The index at which the component will be added to the container's items collection</div></li>        </ul>
1781
    </div>
1782
                </div>
1783
                        </div>
1784
        </td>
1785
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-beforeadd" href="output/Ext.Container.html#event-beforeadd">Container</a></td>
1786
    </tr>
1787
        <tr class="event-row inherited alt expandable">
1788
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1789
        <td class="sig">
1790
        <a id="Ext.Viewport-beforedestroy"></a>
1791
            <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1792
                        <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
1793
            <div class="long">
1794
                Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">
1795
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1796
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1797
    </div>
1798
                </div>
1799
                        </div>
1800
        </td>
1801
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
1802
    </tr>
1803
        <tr class="event-row inherited expandable">
1804
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1805
        <td class="sig">
1806
        <a id="Ext.Viewport-beforehide"></a>
1807
            <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1808
                        <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
1809
            <div class="long">
1810
                Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">
1811
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1812
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1813
    </div>
1814
                </div>
1815
                        </div>
1816
        </td>
1817
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
1818
    </tr>
1819
        <tr class="event-row inherited alt expandable">
1820
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1821
        <td class="sig">
1822
        <a id="Ext.Viewport-beforeremove"></a>
1823
            <b>beforeremove</b> : (&nbsp;<code>Ext.Container this</code>, <code>Ext.Component component</code>&nbsp;)            <div class="mdesc">
1824
                        <div class="short">Fires before any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is removed from the container.  A handler can return
1825
false to cancel the remove.</div>
1826
            <div class="long">
1827
                Fires before any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is removed from the container.  A handler can return
1828
false to cancel the remove.    <div class="mdetail-params">
1829
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1830
        <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The component being removed</div></li>        </ul>
1831
    </div>
1832
                </div>
1833
                        </div>
1834
        </td>
1835
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-beforeremove" href="output/Ext.Container.html#event-beforeremove">Container</a></td>
1836
    </tr>
1837
        <tr class="event-row inherited expandable">
1838
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1839
        <td class="sig">
1840
        <a id="Ext.Viewport-beforerender"></a>
1841
            <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1842
                        <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
1843
            <div class="long">
1844
                Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">
1845
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1846
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1847
    </div>
1848
                </div>
1849
                        </div>
1850
        </td>
1851
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
1852
    </tr>
1853
        <tr class="event-row inherited alt expandable">
1854
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1855
        <td class="sig">
1856
        <a id="Ext.Viewport-beforeshow"></a>
1857
            <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1858
                        <div class="short">Fires before the component is shown. Return false to stop the show.</div>
1859
            <div class="long">
1860
                Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">
1861
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1862
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1863
    </div>
1864
                </div>
1865
                        </div>
1866
        </td>
1867
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
1868
    </tr>
1869
        <tr class="event-row inherited expandable">
1870
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1871
        <td class="sig">
1872
        <a id="Ext.Viewport-beforestaterestore"></a>
1873
            <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1874
                        <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
1875
            <div class="long">
1876
                Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">
1877
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1878
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1879
    </div>
1880
                </div>
1881
                        </div>
1882
        </td>
1883
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
1884
    </tr>
1885
        <tr class="event-row inherited alt expandable">
1886
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1887
        <td class="sig">
1888
        <a id="Ext.Viewport-beforestatesave"></a>
1889
            <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1890
                        <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
1891
            <div class="long">
1892
                Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">
1893
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1894
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1895
    </div>
1896
                </div>
1897
                        </div>
1898
        </td>
1899
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
1900
    </tr>
1901
        <tr class="event-row inherited expandable">
1902
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1903
        <td class="sig">
1904
        <a id="Ext.Viewport-destroy"></a>
1905
            <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1906
                        <div class="short">Fires after the component is destroyed.</div>
1907
            <div class="long">
1908
                Fires after the component is destroyed.    <div class="mdetail-params">
1909
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1910
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1911
    </div>
1912
                </div>
1913
                        </div>
1914
        </td>
1915
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
1916
    </tr>
1917
        <tr class="event-row inherited alt expandable">
1918
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1919
        <td class="sig">
1920
        <a id="Ext.Viewport-disable"></a>
1921
            <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1922
                        <div class="short">Fires after the component is disabled.</div>
1923
            <div class="long">
1924
                Fires after the component is disabled.    <div class="mdetail-params">
1925
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1926
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1927
    </div>
1928
                </div>
1929
                        </div>
1930
        </td>
1931
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
1932
    </tr>
1933
        <tr class="event-row inherited expandable">
1934
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1935
        <td class="sig">
1936
        <a id="Ext.Viewport-enable"></a>
1937
            <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1938
                        <div class="short">Fires after the component is enabled.</div>
1939
            <div class="long">
1940
                Fires after the component is enabled.    <div class="mdetail-params">
1941
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1942
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1943
    </div>
1944
                </div>
1945
                        </div>
1946
        </td>
1947
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
1948
    </tr>
1949
        <tr class="event-row inherited alt expandable">
1950
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1951
        <td class="sig">
1952
        <a id="Ext.Viewport-hide"></a>
1953
            <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1954
                        <div class="short">Fires after the component is hidden.</div>
1955
            <div class="long">
1956
                Fires after the component is hidden.    <div class="mdetail-params">
1957
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1958
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1959
    </div>
1960
                </div>
1961
                        </div>
1962
        </td>
1963
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
1964
    </tr>
1965
        <tr class="event-row inherited expandable">
1966
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1967
        <td class="sig">
1968
        <a id="Ext.Viewport-move"></a>
1969
            <b>move</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number x</code>, <code>Number y</code>&nbsp;)            <div class="mdesc">
1970
                        <div class="short">Fires after the component is moved.</div>
1971
            <div class="long">
1972
                Fires after the component is moved.    <div class="mdetail-params">
1973
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1974
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>x</code> : Number<div class="sub-desc">The new x position</div></li><li><code>y</code> : Number<div class="sub-desc">The new y position</div></li>        </ul>
1975
    </div>
1976
                </div>
1977
                        </div>
1978
        </td>
1979
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-move" href="output/Ext.BoxComponent.html#event-move">BoxComponent</a></td>
1980
    </tr>
1981
        <tr class="event-row inherited alt expandable">
1982
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1983
        <td class="sig">
1984
        <a id="Ext.Viewport-remove"></a>
1985
            <b>remove</b> : (&nbsp;<code>Ext.Container this</code>, <code>Ext.Component component</code>&nbsp;)            <div class="mdesc">
1986
                        <div class="short">Fires after any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is removed from the container.</div>
1987
            <div class="long">
1988
                Fires after any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is removed from the container.    <div class="mdetail-params">
1989
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1990
        <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The component that was removed</div></li>        </ul>
1991
    </div>
1992
                </div>
1993
                        </div>
1994
        </td>
1995
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-remove" href="output/Ext.Container.html#event-remove">Container</a></td>
1996
    </tr>
1997
        <tr class="event-row inherited expandable">
1998
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1999
        <td class="sig">
2000
        <a id="Ext.Viewport-render"></a>
2001
            <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
2002
                        <div class="short">Fires after the component is rendered.</div>
2003
            <div class="long">
2004
                Fires after the component is rendered.    <div class="mdetail-params">
2005
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
2006
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
2007
    </div>
2008
                </div>
2009
                        </div>
2010
        </td>
2011
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
2012
    </tr>
2013
        <tr class="event-row inherited alt expandable">
2014
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2015
        <td class="sig">
2016
        <a id="Ext.Viewport-resize"></a>
2017
            <b>resize</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number adjWidth</code>, <code>Number adjHeight</code>, <code>Number rawWidth</code>, <code>Number rawHeight</code>&nbsp;)            <div class="mdesc">
2018
                        <div class="short">Fires after the component is resized.</div>
2019
            <div class="long">
2020
                Fires after the component is resized.    <div class="mdetail-params">
2021
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
2022
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>adjWidth</code> : Number<div class="sub-desc">The box-adjusted width that was set</div></li><li><code>adjHeight</code> : Number<div class="sub-desc">The box-adjusted height that was set</div></li><li><code>rawWidth</code> : Number<div class="sub-desc">The width that was originally specified</div></li><li><code>rawHeight</code> : Number<div class="sub-desc">The height that was originally specified</div></li>        </ul>
2023
    </div>
2024
                </div>
2025
                        </div>
2026
        </td>
2027
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-resize" href="output/Ext.BoxComponent.html#event-resize">BoxComponent</a></td>
2028
    </tr>
2029
        <tr class="event-row inherited expandable">
2030
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2031
        <td class="sig">
2032
        <a id="Ext.Viewport-show"></a>
2033
            <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
2034
                        <div class="short">Fires after the component is shown.</div>
2035
            <div class="long">
2036
                Fires after the component is shown.    <div class="mdetail-params">
2037
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
2038
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
2039
    </div>
2040
                </div>
2041
                        </div>
2042
        </td>
2043
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
2044
    </tr>
2045
        <tr class="event-row inherited alt expandable">
2046
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2047
        <td class="sig">
2048
        <a id="Ext.Viewport-staterestore"></a>
2049
            <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
2050
                        <div class="short">Fires after the state of the component is restored.</div>
2051
            <div class="long">
2052
                Fires after the state of the component is restored.    <div class="mdetail-params">
2053
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
2054
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
2055
    </div>
2056
                </div>
2057
                        </div>
2058
        </td>
2059
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
2060
    </tr>
2061
        <tr class="event-row inherited expandable">
2062
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2063
        <td class="sig">
2064
        <a id="Ext.Viewport-statesave"></a>
2065
            <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
2066
                        <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
2067
            <div class="long">
2068
                Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">
2069
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
2070
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
2071
    </div>
2072
                </div>
2073
                        </div>
2074
        </td>
2075
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
2076
    </tr>
2077
            </table>
2078
 
2079
        </div>