Properties Methods Events Direct Link

Class Ext.state.Manager

Package:Ext.state
Defined In:StateManager.js
Class:Manager
Extends:Object
This is the global state manager. By default all components that are "state aware" check this class for state information if you don't pass them a custom state provider. In order for this class to be useful, it must be initialized with a provider when your application initializes.
// in your initialization function
init : function(){
   Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
   ...
   // supposed you have a "Ext.BorderLayout" href="output/Ext.BorderLayout.html">Ext.BorderLayout
   var layout = new Ext.BorderLayout(...);
   layout.restoreState();
   // or a {Ext.BasicDialog}
   var dialog = new Ext.BasicDialog(...);
   dialog.restoreState();


This class is a singleton and cannot be created directly.

Public Properties

This class has no public properties.

Public Methods

Method Defined By

Public Events

This class has no public events.