| Defined In: | StatusBar.js |
| Class: | Ext.StatusBar |
| Extends: | Ext.Toolbar |
| 配置项 | 定义者 | |
|---|---|---|
|
statusAlign
: String
The alignment of the status element...
The alignment of the status element within the overall StatusBar layout. When the StatusBar is rendered, it creates an internal div containing the status text and icon. Any additional Toolbar items added in the methods, will be rendered, in added order, to the opposite side. The status element is greedy, so it will automatically expand to take up all sapce left over by any other items. Example usage:
|
StatusBar | |
|
defaultText
: String
The default {@link #text} value. T...
The default {@link #text} value. This will be used anytime the status bar is cleared with the useDefaults:true option (defaults to '').
|
StatusBar | |
|
defaultIconCls
: String
The default #iconCls value (see the...
The default #iconCls value (see the iconCls docs for additional details about customizing the icon). This will be used anytime the status bar is cleared with the useDefaults:true option (defaults to '').
|
StatusBar | |
|
text
: String
A string that will be rendered into...
A string that will be rendered into the status element as the status message (defaults to '');
|
StatusBar | |
|
iconCls
: String
A CSS class that will be applied to...
A CSS class that will be applied to the status element and is expected to provide a background image that will serve as the status bar icon (defaults to ''). The class is applied directly to the div that also contains the status text, so the rule should provide the appropriate padding on the div to make room for the image. Example usage:
|
StatusBar | |
|
cls
: String
The base class applied to the conta...
The base class applied to the containing element for this component on render (defaults to 'x-statusbar')
|
StatusBar | |
| busyIconCls : String | StatusBar | |
|
busyText
: String
The default {@link #text} applied w...
The default {@link #text} applied when calling {@link #showBusy} (defaults to 'Loading...'). It can be overridden at any time by passing the text argument into showBusy.
|
StatusBar | |
|
autoClear
: Number
The number of milliseconds to wait ...
The number of milliseconds to wait after setting the status via #setStatus before automatically clearing the status text and icon (defaults to 5000). Note that this only applies when passing the clear argument to setStatus since that is the only way to defer clearing the status. This can be overridden by specifying a different wait value in setStatus. Calls to #clearStatus always clear the status bar immediately and ignore this value.
|
StatusBar | |
| 方法 | 定义者 | |
|---|---|---|
StatusBar
(
Object/Array config
)
: Ext.StatusBar
构造器
构造器
参数项:
|
StatusBar | |
setStatus
(
Object/String config
)
: Ext.StatusBar
Sets the status #text and/or #icon...
Sets the status #text and/or #iconCls. Also supports automatically clearing the status that was set after a specified interval.
to be the status text (and all other options are defaulted as explained below). A config object containing any or all of the following properties can be passed:
参数项:
|
StatusBar | |
clearStatus
(
@link #text and,
Boolean} : (optional) True to reset the text and icon using {@link #defaultText and
)
: Ext.StatusBar
Clears the status {@link #text} an...
Clears the status {@link #text} and {@link #iconCls}. Also supports clearing via an optional fade out animation.
object is not specified the status will be cleared using the defaults below:
参数项:
|
StatusBar | |
setText
(
String text
)
: Ext.StatusBar
Convenience method for setting the...
Convenience method for setting the status text directly. For more flexible options see #setStatus.
参数项:
|
StatusBar | |
|
getText
(
)
: String
Returns the current status text.
Returns the current status text.
参数项:
|
StatusBar | |
setIcon
(
String iconCls
)
: Ext.StatusBar
Convenience method for setting the...
Convenience method for setting the status icon directly. For more flexible options see #setStatus. See #iconCls for complete details about customizing the icon.
参数项:
|
StatusBar | |
showBusy
(
Object/String config
)
: Ext.StatusBar
Convenience method for setting the...
Convenience method for setting the status text and icon to special values that are pre-configured to indicate a "busy" state, usually for loading or processing activities.
string to use as the status text (in which case all other options for setStatus will be defaulted). Use the text and/or iconCls properties on the config to override the default #busyText and #busyIconCls settings. If the config argument is not specified, #busyText and #busyIconCls will be used in conjunction with all of the default options for #setStatus.
参数项:
|
StatusBar | |