code
stringlengths
1
2.08M
language
stringclasses
1 value
/** * @class Ext.flash.Component * @extends Ext.Component * * A simple Component for displaying an Adobe Flash SWF movie. The movie will be sized and can participate * in layout like any other Component. * * This component requires the third-party SWFObject library version 2.2 or above. It is not included within...
JavaScript
/** * @class Ext.AbstractComponent * <p>An abstract base class which provides shared methods for Components across the Sencha product line.</p> * <p>Please refer to sub class's documentation</p> * @constructor */ Ext.define('Ext.AbstractComponent', { /* Begin Definitions */ mixins: { observable:...
JavaScript
/** * @class Ext.selection.CheckboxModel * @extends Ext.selection.RowModel * * A selection model that renders a column of checkboxes that can be toggled to * select or deselect rows. The default mode for this selection model is MULTI. * * The selection model will inject a header for the checkboxes in the first v...
JavaScript
/** * @class Ext.selection.RowModel * @extends Ext.selection.Model * * Implement row based navigation via keyboard. * * Must synchronize across grid sections */ Ext.define('Ext.selection.RowModel', { extend: 'Ext.selection.Model', alias: 'selection.rowmodel', requires: ['Ext.util.KeyNav'], ...
JavaScript
/** * @class Ext.selection.CellModel * @extends Ext.selection.Model * @private */ Ext.define('Ext.selection.CellModel', { extend: 'Ext.selection.Model', alias: 'selection.cellmodel', requires: ['Ext.util.KeyNav'], /** * @cfg {Boolean} enableKeyNav * Turns on/off keyboard navigation wi...
JavaScript
/** * @class Ext.selection.TreeModel * @extends Ext.selection.RowModel * * Adds custom behavior for left/right keyboard navigation for use with a tree. * Depends on the view having an expand and collapse method which accepts a * record. * * @private */ Ext.define('Ext.selection.TreeModel', { extend: 'Ext....
JavaScript
/** * @class Ext.selection.DataViewModel * @ignore */ Ext.define('Ext.selection.DataViewModel', { extend: 'Ext.selection.Model', requires: ['Ext.util.KeyNav'], deselectOnContainerClick: true, /** * @cfg {Boolean} enableKeyNav * * Turns on/off keyboard navigation within the ...
JavaScript
/** * @class Ext.selection.Model * @extends Ext.util.Observable * * Tracks what records are currently selected in a databound widget. * * This is an abstract class and is not meant to be directly used. * * DataBound UI widgets such as GridPanel, TreePanel, and ListView * should subclass AbstractStoreSelectionM...
JavaScript
/* * This is a derivative of the similarly named class in the YUI Library. * The original license: * Copyright (c) 2006, Yahoo! Inc. All rights reserved. * Code licensed under the BSD License: * http://developer.yahoo.net/yui/license.txt */ /** * @class Ext.dd.DDProxy * A DragDrop implementation that inserts a...
JavaScript
/** * @class Ext.dd.DragSource * @extends Ext.dd.DDProxy * A simple class that provides the basic implementation needed to make any element draggable. * @constructor * @param {Mixed} el The container element * @param {Object} config */ Ext.define('Ext.dd.DragSource', { extend: 'Ext.dd.DDProxy', requires:...
JavaScript
/** * @class Ext.dd.ScrollManager * <p>Provides automatic scrolling of overflow regions in the page during drag operations.</p> * <p>The ScrollManager configs will be used as the defaults for any scroll container registered with it, * but you can also override most of the configs per scroll container by adding a *...
JavaScript
/** * @class Ext.dd.StatusProxy * A specialized drag proxy that supports a drop status icon, {@link Ext.Layer} styles and auto-repair. This is the * default drag proxy used by all Ext.dd components. * @constructor * @param {Object} config */ Ext.define('Ext.dd.StatusProxy', { animRepair: false, construc...
JavaScript
/* * This is a derivative of the similarly named class in the YUI Library. * The original license: * Copyright (c) 2006, Yahoo! Inc. All rights reserved. * Code licensed under the BSD License: * http://developer.yahoo.net/yui/license.txt */ /** * @class Ext.dd.DragDropManager * DragDropManager is a singleton ...
JavaScript
/* * This is a derivative of the similarly named class in the YUI Library. * The original license: * Copyright (c) 2006, Yahoo! Inc. All rights reserved. * Code licensed under the BSD License: * http://developer.yahoo.net/yui/license.txt */ /** * @class Ext.dd.DDTarget * A DragDrop implementation that does no...
JavaScript
/* * This is a derivative of the similarly named class in the YUI Library. * The original license: * Copyright (c) 2006, Yahoo! Inc. All rights reserved. * Code licensed under the BSD License: * http://developer.yahoo.net/yui/license.txt */ /** * @class Ext.dd.DragDrop * Defines the interface and base operati...
JavaScript
/** * @class Ext.dd.DropTarget * @extends Ext.dd.DDTarget * A simple class that provides the basic implementation needed to make any element a drop target that can have * draggable items dropped onto it. The drop has no effect until an implementation of notifyDrop is provided. * @constructor * @param {Mixed} el ...
JavaScript
/** * @class Ext.dd.DragTracker * A DragTracker listens for drag events on an Element and fires events at the start and end of the drag, * as well as during the drag. This is useful for components such as {@link Ext.slider.Multi}, where there is * an element that can be dragged around to change the Slider's value. ...
JavaScript
/** * @class Ext.dd.DropZone * @extends Ext.dd.DropTarget This class provides a container DD instance that allows dropping on multiple child target nodes. By default, this class requires that child nodes accepting drop are registered with {@link Ext.dd.Registry}. However a simpler way to allow a DropZone to manage ...
JavaScript
/** * @class Ext.dd.Registry * Provides easy access to all drag drop components that are registered on a page. Items can be retrieved either * directly by DOM node id, or by passing in the drag drop event that occurred and looking up the event target. * @singleton */ Ext.define('Ext.dd.Registry', { singleton:...
JavaScript
/* * This is a derivative of the similarly named class in the YUI Library. * The original license: * Copyright (c) 2006, Yahoo! Inc. All rights reserved. * Code licensed under the BSD License: * http://developer.yahoo.net/yui/license.txt */ /** * @class Ext.dd.DD * A DragDrop implementation where the linked e...
JavaScript
/** * @class Ext.dd.DragZone * @extends Ext.dd.DragSource * <p>This class provides a container DD instance that allows dragging of multiple child source nodes.</p> * <p>This class does not move the drag target nodes, but a proxy element which may contain * any DOM structure you wish. The DOM element to show in the...
JavaScript
/** * @class Ext.ProgressBar * @extends Ext.Component * <p>An updateable progress bar component. The progress bar supports two different modes: manual and automatic.</p> * <p>In manual mode, you are responsible for showing, updating (via {@link #updateProgress}) and clearing the * progress bar as needed from your...
JavaScript
/** * @class Ext.resizer.ResizeTracker * @extends Ext.dd.DragTracker */ Ext.define('Ext.resizer.ResizeTracker', { extend: 'Ext.dd.DragTracker', dynamic: true, preserveRatio: false, // Default to no constraint constrainTo: null, constructor: function(config) { var me = this; ...
JavaScript
/** * @class Ext.resizer.Resizer * <p>Applies drag handles to an element or component to make it resizable. The * drag handles are inserted into the element (or component's element) and * positioned absolute.</p> * * <p>Textarea and img elements will be wrapped with an additional div because * these elements do ...
JavaScript
/** * @class Ext.resizer.Handle * @extends Ext.Component * * Provides a handle for 9-point resizing of Elements or Components. */ Ext.define('Ext.resizer.Handle', { extend: 'Ext.Component', handleCls: '', baseHandleCls: Ext.baseCSSPrefix + 'resizable-handle', // Ext.resizer.Resizer.prototype.possib...
JavaScript
/** * @class Ext.resizer.Splitter * @extends Ext.Component * <p>This class functions <b>between siblings of a {@link Ext.layout.container.VBox VBox} or {@link Ext.layout.container.HBox HBox} * layout</b> to resize both immediate siblings.</p> * <p>By default it will set the size of both siblings. <b>One</b> of the...
JavaScript
/** * @class Ext.resizer.SplitterTracker * @extends Ext.dd.DragTracker * Private utility class for Ext.Splitter. * @private */ Ext.define('Ext.resizer.SplitterTracker', { extend: 'Ext.dd.DragTracker', requires: ['Ext.util.Region'], enabled: true, getPrevCmp: function() { var splitter = thi...
JavaScript
/** * @class Ext.PluginManager * @extends Ext.AbstractManager * <p>Provides a registry of available Plugin <i>classes</i> indexed by a mnemonic code known as the Plugin's ptype. * The <code>{@link Ext.Component#xtype xtype}</code> provides a way to avoid instantiating child Components * when creating a full, neste...
JavaScript
/** * @class Ext.data.Tree * * This class is used as a container for a series of nodes. The nodes themselves maintain * the relationship between parent/child. The tree itself acts as a manager. It gives functionality * to retrieve a node by its identifier: {@link #getNodeById}. * * The tree also relays events ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.Store * @extends Ext.data.AbstractStore * * <p>The Store class encapsulates a client side cache of {@link Ext.data.Model Model} objects. Stores load * data via a {@link Ext.data.proxy.Proxy Proxy}, and also provide functions for {@link #sort sorting}, * {@link #filter f...
JavaScript
/** * @author Ed Spencer * @class Ext.data.XmlStore * @extends Ext.data.Store * @private * @ignore * <p>Small helper class to make creating {@link Ext.data.Store}s from XML data easier. * A XmlStore will be automatically configured with a {@link Ext.data.reader.Xml}.</p> * <p>A store configuration would be some...
JavaScript
/** * @class Ext.data.Types * <p>This is s static class containing the system-supplied data types which may be given to a {@link Ext.data.Field Field}.<p/> * <p>The properties in this class are used as type indicators in the {@link Ext.data.Field Field} class, so to * test whether a Field is of a certain type, comp...
JavaScript
/** * @author Ed Spencer * @class Ext.data.Errors * @extends Ext.util.MixedCollection * * <p>Wraps a collection of validation error responses and provides convenient functions for * accessing and errors for specific fields.</p> * * <p>Usually this class does not need to be instantiated directly - instances ar...
JavaScript
/** * @class Ext.data.JsonP * @singleton * This class is used to create JSONP requests. JSONP is a mechanism that allows for making * requests for data cross domain. More information is available here: * http://en.wikipedia.org/wiki/JSONP */ Ext.define('Ext.data.JsonP', { /* Begin Definitions */ ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.Field * @extends Object * * <p>Fields are used to define what a Model is. They aren't instantiated directly - instead, when we create a class * that extends {@link Ext.data.Model}, it will automatically create a Field instance for each field configured in a * {@link ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.Association * @extends Object * * <p>Associations enable you to express relationships between different {@link Ext.data.Model Models}. Let's say we're * writing an ecommerce system where Users can make Orders - there's a relationship between these Models that we can * e...
JavaScript
/** * @author Ed Spencer * @class Ext.data.Request * @extends Object * * <p>Simple class that represents a Request that will be made by any {@link Ext.data.proxy.Server} subclass. * All this class does is standardize the representation of a Request as used by any ServerProxy subclass, * it does not contain any ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.writer.Writer * @extends Object * * <p>Base Writer class used by most subclasses of {@link Ext.data.proxy.Server}. This class is * responsible for taking a set of {@link Ext.data.Operation} objects and a {@link Ext.data.Request} * object and modifying that request base...
JavaScript
/** * @class Ext.data.writer.Json * @extends Ext.data.writer.Writer * @ignore */ Ext.define('Ext.data.writer.Json', { extend: 'Ext.data.writer.Writer', alternateClassName: 'Ext.data.JsonWriter', alias: 'writer.json', /** * @cfg {String} root The key under which the records in this Writer w...
JavaScript
/** * @author Ed Spencer * @class Ext.data.writer.Xml * @extends Ext.data.writer.Writer * * <p>Writer that outputs model data in XML format</p> */ Ext.define('Ext.data.writer.Xml', { /* Begin Definitions */ extend: 'Ext.data.writer.Writer', alternateClassName: 'Ext.data.XmlWriter', ...
JavaScript
/** * @class Ext.data.DirectStore * @extends Ext.data.Store * <p>Small helper class to create an {@link Ext.data.Store} configured with an * {@link Ext.data.proxy.Direct} and {@link Ext.data.reader.Json} to make interacting * with an {@link Ext.Direct} Server-side {@link Ext.direct.Provider Provider} easier. * To...
JavaScript
/** * @class Ext.data.NodeInterface * This class is meant to be used as a set of methods that are applied to the prototype of a * Record to decorate it with a Node API. This means that models used in conjunction with a tree * will have all of the tree related methods available on the model. In general this class wi...
JavaScript
/** * @author Ed Spencer * @class Ext.data.Batch * * <p>Provides a mechanism to run one or more {@link Ext.data.Operation operations} in a given order. Fires the 'operationcomplete' event * after the completion of each Operation, and the 'complete' event when all Operations have been successfully executed. Fires ...
JavaScript
/** * @class Ext.data.NodeStore * @extends Ext.data.AbstractStore * Node Store * @ignore */ Ext.define('Ext.data.NodeStore', { extend: 'Ext.data.Store', alias: 'store.node', requires: ['Ext.data.NodeInterface'], /** * @cfg {Ext.data.Record} node The Record you want to bind this Store to. ...
JavaScript
/** * @class Ext.data.JsonPStore * @extends Ext.data.Store * @ignore * @private * <p><b>NOTE:</b> This class is in need of migration to the new API.</p> * <p>Small helper class to make creating {@link Ext.data.Store}s from different domain JSON data easier. * A JsonPStore will be automatically configured with a ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.HasManyAssociation * @extends Ext.data.Association * * <p>Represents a one-to-many relationship between two models. Usually created indirectly via a model definition:</p> * <pre><code> Ext.define('Product', { extend: 'Ext.data.Model', fields: [ {name: '...
JavaScript
/** * @author Ed Spencer * @class Ext.data.reader.Reader * @extends Object * * <p>Readers are used to interpret data to be loaded into a {@link Ext.data.Model Model} instance or a {@link Ext.data.Store Store} * - usually in response to an AJAX request. This is normally handled transparently by passing some confi...
JavaScript
/** * @author Ed Spencer * @class Ext.data.reader.Json * @extends Ext.data.reader.Reader * * <p>The JSON Reader is used by a Proxy to read a server response that is sent back in JSON format. This usually * happens as a result of loading a Store - for example we might create something like this:</p> * <pre><cod...
JavaScript
/** * @author Ed Spencer * @class Ext.data.reader.Array * @extends Ext.data.reader.Json * * <p>Data reader class to create an Array of {@link Ext.data.Model} objects from an Array. * Each element of that Array represents a row of data fields. The * fields are pulled into a Record object using as a subscript, th...
JavaScript
/** * @author Ed Spencer * @class Ext.data.reader.Xml * @extends Ext.data.reader.Reader * * <p>The XML Reader is used by a Proxy to read a server response that is sent back in XML format. This usually * happens as a result of loading a Store - for example we might create something like this:</p> * <pre><code> ...
JavaScript
/** * @class Ext.data.TreeStore * @extends Ext.data.AbstractStore * * The TreeStore is a store implementation that is backed by by an {@link Ext.data.Tree}. * It provides convenience methods for loading nodes, as well as the ability to use * the hierarchical tree structure combined with a store. This class is ge...
JavaScript
/** * @class Ext.data.BufferStore * @extends Ext.data.Store * @ignore */ Ext.define('Ext.data.BufferStore', { extend: 'Ext.data.Store', alias: 'store.buffer', sortOnLoad: false, filterOnLoad: false, constructor: function() { Ext.Error.raise('The BufferStore class has been deprecated...
JavaScript
/** * @class Ext.data.proxy.Direct * @extends Ext.data.proxy.Server * * This class is used to send requests to the server using {@link Ext.direct}. When a request is made, * the transport mechanism is handed off to the appropriate {@link Ext.direct.RemotingProvider Provider} * to complete the call. * * ## Spe...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.Memory * @extends Ext.data.proxy.Client * * <p>In-memory proxy. This proxy simply uses a local variable for data storage/retrieval, so its contents are lost on * every page refresh.</p> * * <p>Usually this Proxy isn't used directly, serving instead as a helper to...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.SessionStorage * @extends Ext.data.proxy.WebStorage * * <p>Proxy which uses HTML5 session storage as its data storage/retrieval mechanism. * If this proxy is used in a browser where session storage is not supported, the constructor will throw an error. * A sessio...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.LocalStorage * @extends Ext.data.proxy.WebStorage * * <p>The LocalStorageProxy uses the new HTML5 localStorage API to save {@link Ext.data.Model Model} data locally on * the client browser. HTML5 localStorage is a key-value store (e.g. cannot save complex objects ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.JsonP * @extends Ext.data.proxy.Server * * <p>JsonPProxy is useful when you need to load data from a domain other than the one your application is running * on. If your application is running on http://domainA.com it cannot use {@link Ext.data.proxy.Ajax Ajax} to l...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.Rest * @extends Ext.data.proxy.Ajax * * <p>RestProxy is a specialization of the {@link Ext.data.proxy.Ajax AjaxProxy} which simply maps the four actions * (create, read, update and destroy) to RESTful HTTP verbs. For example, let's set up a {@link Ext.data.Model ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.WebStorage * @extends Ext.data.proxy.Client * * <p>WebStorageProxy is simply a superclass for the {@link Ext.data.proxy.LocalStorage localStorage} and * {@link Ext.data.proxy.SessionStorage sessionStorage} proxies. It uses the new HTML5 key/value client-side stor...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.Ajax * @extends Ext.data.proxy.Server * * <p>AjaxProxy is one of the most widely-used ways of getting data into your application. It uses AJAX requests to * load data from the server, usually to be placed into a {@link Ext.data.Store Store}. Let's take a look at ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.Client * @extends Ext.data.proxy.Proxy * * <p>Base class for any client-side storage. Used as a superclass for {@link Ext.data.proxy.Memory Memory} and * {@link Ext.data.proxy.WebStorage Web Storage} proxies. Do not use directly, use one of the subclasses instead...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.Server * @extends Ext.data.proxy.Proxy * * <p>ServerProxy is a superclass of {@link Ext.data.proxy.JsonP JsonPProxy} and {@link Ext.data.proxy.Ajax AjaxProxy}, * and would not usually be used directly.</p> * * <p>ServerProxy should ideally be named HttpProxy as...
JavaScript
/** * @author Ed Spencer * @class Ext.data.proxy.Proxy * * <p>Proxies are used by {@link Ext.data.Store Stores} to handle the loading and saving of {@link Ext.data.Model Model} data. * Usually developers will not need to create or interact with proxies directly.</p> * <p><u>Types of Proxy</u></p> * * <p>There...
JavaScript
/** * @class Ext.data.SortTypes * This class defines a series of static methods that are used on a * {@link Ext.data.Field} for performing sorting. The methods cast the * underlying values into a data type that is appropriate for sorting on * that particular field. If a {@link Ext.data.Field#type} is specified, ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.JsonStore * @extends Ext.data.Store * @ignore * * <p>Small helper class to make creating {@link Ext.data.Store}s from JSON data easier. * A JsonStore will be automatically configured with a {@link Ext.data.reader.Json}.</p> * * <p>A store configuration would be someth...
JavaScript
/** * @class Ext.data.Connection * The Connection class encapsulates a connection to the page's originating domain, allowing requests to be made either * to a configured URL, or to a URL specified at request time. * * Requests made by this class are asynchronous, and will return immediately. No data from the serve...
JavaScript
/** * @author Ed Spencer * @class Ext.data.ResultSet * @extends Object * * <p>Simple wrapper class that represents a set of records returned by a Proxy.</p> * * @constructor * Creates the new ResultSet */ Ext.define('Ext.data.ResultSet', { /** * @cfg {Boolean} loaded * True if the records have ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.AbstractStore * * <p>AbstractStore is a superclass of {@link Ext.data.Store} and {@link Ext.data.TreeStore}. It's never used directly, * but offers a set of methods used by both of those subclasses.</p> * * <p>We've left it here in the docs for reference purposes, but ...
JavaScript
/** * @author Ed Spencer * @class Ext.data.ArrayStore * @extends Ext.data.Store * @ignore * * <p>Small helper class to make creating {@link Ext.data.Store}s from Array data easier. * An ArrayStore will be automatically configured with a {@link Ext.data.reader.Array}.</p> * * <p>A store configuration would be s...
JavaScript
/** * @author Ed Spencer * @class Ext.data.BelongsToAssociation * @extends Ext.data.Association * * <p>Represents a many to one association with another model. The owner model is expected to have * a foreign key which references the primary key of the associated model:</p> * <pre><code> Ext.define('Category', { ...
JavaScript
/** * @class Ext.data.StoreManager * @extends Ext.util.MixedCollection * <p>Contains a collection of all stores that are created that have an identifier. * An identifier can be assigned by setting the {@link Ext.data.AbstractStore#storeId storeId} * property. When a store is in the StoreManager, it can be referre...
JavaScript
/** * @author Ed Spencer * @class Ext.data.Operation * @extends Object * * <p>Represents a single read or write operation performed by a {@link Ext.data.proxy.Proxy Proxy}. * Operation objects are used to enable communication between Stores and Proxies. Application * developers should rarely need to interact wi...
JavaScript
/** * @author Ed Spencer * @class Ext.data.Model * * <p>A Model represents some object that your application manages. For example, one might define a Model for Users, Products, * Cars, or any other real-world object that we want to model in the system. Models are registered via the {@link Ext.ModelManager model ma...
JavaScript
/** * @author Ed Spencer * @class Ext.data.validations * @extends Object * * <p>This singleton contains a set of validation functions that can be used to validate any type * of data. They are most often used in {@link Ext.data.Model Models}, where they are automatically * set up and executed.</p> */ Ext.define...
JavaScript
/** * @author Ed Spencer * @class Ext.ModelManager * @extends Ext.AbstractManager The ModelManager keeps track of all {@link Ext.data.Model} types defined in your application. __Creating Model Instances__ Model instances can be created by using the {@link #create} function. It is also possible to do this by using ...
JavaScript
/** * @author Ed Spencer * @class Ext.tab.Tab * @extends Ext.button.Button * * <p>Represents a single Tab in a {@link Ext.tab.Panel TabPanel}. A Tab is simply a slightly customized {@link Ext.button.Button Button}, * styled to look like a tab. Tabs are optionally closable, and can also be disabled. 99% of the t...
JavaScript
/** * @author Ed Spencer * @class Ext.tab.Bar * @extends Ext.panel.Header * <p>TabBar is used internally by a {@link Ext.tab.Panel TabPanel} and wouldn't usually need to be created manually.</p> * * @xtype tabbar */ Ext.define('Ext.tab.Bar', { extend: 'Ext.panel.Header', alias: 'widget.tabbar', baseC...
JavaScript
/** * @author Ed Spencer, Tommy Maintz, Brian Moeskau * @class Ext.tab.Panel * @extends Ext.panel.Panel A basic tab container. TabPanels can be used exactly like a standard {@link Ext.panel.Panel} for layout purposes, but also have special support for containing child Components (`{@link Ext.container.Container#it...
JavaScript
/** * @class Ext.app.Controller * @constructor * * Controllers are the glue that binds an application together. All they really do is listen for events (usually from * views) and take some action. Here's how we might create a Controller to manage Users: * * Ext.define('MyApp.controller.Users', { * ...
JavaScript
/** * @class Ext.app.EventBus * @private * * Class documentation for the MVC classes will be present before 4.0 final, in the mean time please refer to the MVC * guide */ Ext.define('Ext.app.EventBus', { requires: [ 'Ext.util.Event' ], mixins: { observable: 'Ext.util.Observable' },...
JavaScript
/** * @class Ext.app.Application * @constructor * * Represents an Ext JS 4 application, which is typically a single page app using a {@link Ext.container.Viewport Viewport}. * A typical Ext.app.Application might look like this: * * Ext.application({ name: 'MyApp', launch: function() { Ext.cr...
JavaScript
/** * @class Ext.Editor * @extends Ext.Component * * <p> * The Editor class is used to provide inline editing for elements on the page. The editor * is backed by a {@link Ext.form.field.Field} that will be displayed to edit the underlying content. * The editor is a floating Component, when the editor is shown it...
JavaScript
/** * @class Ext.ZIndexManager * <p>A class that manages a group of {@link Ext.Component#floating} Components and provides z-order management, * and Component activation behavior, including masking below the active (topmost) Component.</p> * <p>{@link Ext.Component#floating Floating} Components which are rendered d...
JavaScript
/** * @class Ext.container.Container * @extends Ext.container.AbstractContainer * <p>Base class for any {@link Ext.Component} that may contain other Components. Containers handle the * basic behavior of containing items, namely adding, inserting and removing items.</p> * * <p>The most commonly used Container clas...
JavaScript
/** * @class Ext.container.AbstractContainer * @extends Ext.Component * <p>An abstract base class which provides shared methods for Containers across the Sencha product line.</p> * Please refer to sub class's documentation */ Ext.define('Ext.container.AbstractContainer', { /* Begin Definitions */ extend:...
JavaScript
/** * @class Ext.container.Viewport * @extends Ext.container.Container A specialized container representing the viewable application area (the browser viewport). The Viewport renders itself to the document body, and automatically sizes itself to the size of the browser viewport and manages window resizing. There ma...
JavaScript
/** * @class Ext.container.ButtonGroup * @extends Ext.panel.Panel * <p>Provides a container for arranging a group of related Buttons in a tabular manner.</p> * Example usage: * {@img Ext.container.ButtonGroup/Ext.container.ButtonGroup.png Ext.container.ButtonGroup component} * <pre><code> Ext.create('Ext.pane...
JavaScript
/** * @class Ext.Layer * @extends Ext.core.Element * An extended {@link Ext.core.Element} object that supports a shadow and shim, constrain to viewport and * automatic maintaining of shadow/shim positions. * @cfg {Boolean} shim False to disable the iframe shim in browsers which need one (defaults to true) * @cfg ...
JavaScript
/** * @class Ext.view.AbstractView * @extends Ext.Component * This is an abstract superclass and should not be used directly. Please see {@link Ext.view.View}. */ Ext.define('Ext.view.AbstractView', { extend: 'Ext.Component', alternateClassName: 'Ext.view.AbstractView', requires: [ 'Ext.LoadMask...
JavaScript
/** * @class Ext.view.Table * @extends Ext.view.View This class encapsulates the user interface for a tabular data set. It acts as a centralized manager for controlling the various interface elements of the view. This includes handling events, such as row and cell level based DOM events. It also reacts to events fro...
JavaScript
/** * @class Ext.view.BoundList * @extends Ext.view.View * An internal used DataView for ComboBox, MultiSelect and ItemSelector. */ Ext.define('Ext.view.BoundList', { extend: 'Ext.view.View', alias: 'widget.boundlist', alternateClassName: 'Ext.BoundList', requires: ['Ext.layout.component.BoundList',...
JavaScript
/** * @class Ext.view.TableChunker * * Produces optimized XTemplates for chunks of tables to be * used in grids, trees and other table based widgets. * * @singleton */ Ext.define('Ext.view.TableChunker', { singleton: true, requires: ['Ext.XTemplate'], metaTableTpl: [ '{[this.openTableWrap()]...
JavaScript
/** * @class Ext.view.View * @extends Ext.view.AbstractView * * A mechanism for displaying data using custom layout templates and formatting. DataView uses an {@link Ext.XTemplate} * as its internal templating mechanism, and is bound to an {@link Ext.data.Store} * so that as the data in the store changes the view...
JavaScript
/** * @class Ext.view.BoundListKeyNav * @extends Ext.util.KeyNav * A specialized {@link Ext.util.KeyNav} implementation for navigating a {@link Ext.view.BoundList} using * the keyboard. The up, down, pageup, pagedown, home, and end keys move the active highlight * through the list. The enter key invokes the select...
JavaScript
/** * @class Ext.view.DropZone * @extends Ext.dd.DropZone * @private */ Ext.define('Ext.view.DropZone', { extend: 'Ext.dd.DropZone', indicatorHtml: '<div class="x-grid-drop-indicator-left"></div><div class="x-grid-drop-indicator-right"></div>', indicatorCls: 'x-grid-drop-indicator', constructor: f...
JavaScript
/** * @class Ext.view.DragZone * @extends Ext.dd.DragZone * @private */ Ext.define('Ext.view.DragZone', { extend: 'Ext.dd.DragZone', containerScroll: false, constructor: function(config) { var me = this; Ext.apply(me, config); // Create a ddGroup unless one has been configured...
JavaScript
/** * @private * @class Ext.slider.Thumb * @extends Ext.Base * @private * Represents a single thumb element on a Slider. This would not usually be created manually and would instead * be created internally by an {@link Ext.slider.Multi Ext.Slider}. */ Ext.define('Ext.slider.Thumb', { requires: ['Ext.dd.DragT...
JavaScript
/** * @class Ext.slider.Tip * @extends Ext.tip.Tip * Simple plugin for using an Ext.tip.Tip with a slider to show the slider value. In general this * class is not created directly, instead pass the {@link Ext.slider.Multi#useTips} and * {@link Ext.slider.Multi#tipText} configuration options to the slider directly...
JavaScript
/** * @class Ext.slider.Multi * @extends Ext.form.field.Base * <p>Slider which supports vertical or horizontal orientation, keyboard adjustments, configurable snapping, axis * clicking and animation. Can be added as an item to any container. In addition, * {@img Ext.slider.Multi/Ext.slider.Multi.png Ext.slider.M...
JavaScript
/** * @class Ext.slider.Single * @extends Ext.slider.Multi * Slider which supports vertical or horizontal orientation, keyboard adjustments, * configurable snapping, axis clicking and animation. Can be added as an item to * any container. * {@img Ext.slider.Single/Ext.slider.Single.png Ext.slider.Single componen...
JavaScript