X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..f5240829880f87e0cf581c6a296e436fdef0ef80:/examples/docs/output/Ext.ux.StatusBar.html diff --git a/examples/docs/output/Ext.ux.StatusBar.html b/examples/docs/output/Ext.ux.StatusBar.html new file mode 100644 index 00000000..e79dd4de --- /dev/null +++ b/examples/docs/output/Ext.ux.StatusBar.html @@ -0,0 +1,281 @@ +
Properties Methods Events Config Options Direct Link

Class Ext.ux.StatusBar

Package:Ext.ux
Defined In:StatusBar.js
Class:StatusBar
Extends:Object

Basic status bar component that can be used as the bottom toolbar of any Ext.Panel. In addition to +supporting the standard Ext.Toolbar interface for adding buttons, menus and other items, the StatusBar +provides a greedy status element that can be aligned to either side and has convenient methods for setting the +status text and icon. You can also indicate that something is processing using the showBusy method.

+
new Ext.Panel({
+    title: 'StatusBar',
+    // etc.
+    bbar: new Ext.ux.StatusBar({
+        id: 'my-status',
+
+        // defaults to use when the status is cleared:
+        defaultText: 'Default status text',
+        defaultIconCls: 'default-icon',
+
+        // values to set initially:
+        text: 'Ready',
+        iconCls: 'ready-icon',
+
+        // any standard Toolbar items:
+        items: [{
+            text: 'A Button'
+        }, '-', 'Plain Text']
+    })
+});
+
+// Update the status bar later in code:
+var sb = Ext.getCmp('my-status');
+sb.setStatus({
+    text: 'OK',
+    iconCls: 'ok-icon',
+    clear: true // auto-clear after a set interval
+});
+
+// Set the status bar to show that something is processing:
+sb.showBusy();
+
+// processing....
+
+sb.clearStatus(); // once completeed

Config Options

Config OptionsDefined By
 cls : String
The base class applied to the containing element for this component on render (defaults to 'x-statusbar')
StatusBar
 cls : String
The base class applied to the containing element for this component on render (defaults to 'x-statusbar')
StatusBar

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

This class has no public events.
\ No newline at end of file