var instance = new GC.Spread.Sheets.StatusBar.StatusItem(name, options);
function StatusItem;
var instance = new GC.Spread.Sheets.StatusBar.StatusItem(name, options);
function StatusItem;
Object
GC.Spread.Sheets.StatusBar.StatusItem
Name | Description | |
---|---|---|
StatusItem Constructor | The base class of status item provides basic value display and related context menu item function. |
Name | Description | |
---|---|---|
onBind | Bind the Context. Can override to add context related event listener. | |
onCreateItemView | Create the item element on statusbar. Can override for customize item. | |
onDispose | Dispose the statusbar to unbind context, remove all listener and dispose all element. | |
onUnbind | Unbind the Context. Can override to remove context related event listener. | |
onUpdate | The callback for status bar update. Called when status bar bind or update function, or status bar check changed in context menu. The update related operations can realize in it. Users also should call onUpdate when current item need update. The default operations in super is update current item by visible. |