StatusBarViewGenerator Object
Description
Provides functions and properties for requesting properties and executing server side methods for the status bar.
Syntax
StatusBarViewGeneratorExamples
The following example demonstrates StatusBarViewGenerator in a practical document-editing workflow. It provides functions and properties for requesting properties and executing server side methods for the status bar.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
TXTextControl.statusBar.getBorderStyle(
function(borderStyle) {
if (!borderStyle) {
console.warn("No status bar border style was returned.");
return;
}
console.log("get border style result:", borderStyle);
},
onTxError
);Members
Properties
| Property | Description |
|---|---|
| displayColors | The displayed colors of the status bar. |
Methods
| Method | Description |
|---|---|
| getBorderStyle | Gets the border style of the status bar. Always returns Fixed3D. |
| getColumnText | Gets the text in the 'Column' area of the status bar. |
| getLineText | Gets the text in the 'Line' area of the status bar. |
| getPageCounterText | Gets the text in the 'Page counter' area of the status bar. |
| getPageText | Gets the text in the 'Page' area of the status bar. |
| getSectionCounterText | Gets the text in the 'Section counter' area of the status bar. |
| getSectionText | Gets the text in the 'Section' area of the status bar. |
| getShowColumn | Specifies whether the status bar shows the column number of the current text input position. |
| getShowKeyStates | Specifies whether the status bar shows the key state of the current insertion mode, insert or overwrite. |
| getShowLanguage | Specifies whether the status bar shows the language of the text selection or the text input position. |
| getShowLine | Specifies whether the status bar shows the line number of the current text input position. |
| getShowPage | Specifies whether the status bar shows the page number of the current text input position. |
| getShowPageCounter | Specifies whether the status bar shows the number of pages the document consists of. |
| getShowSection | Specifies whether the status bar shows the section number of the current text input position. |
| getShowSectionCounter | Specifies whether the status bar shows the number of sections the document consists of. |
| getShowZoom | Specifies whether the status bar shows the current zoom factor. |
| getShowZoomTrackBar | Specifies whether the status bar displays a track bar instead of a simple number to show and to set the zooming factor. |
| resetDisplayColors | Resets all display colors of a status bar to their system dependent default values. |
| setBorderStyle | Obsolete. This method will be removed in one of the next versions. Since version 33.0 it's not possible to change the border style of the status bar anymore. Sets the border style of the status bar. |
| setColumnText | Sets the text in the 'Column' area of the status bar. |
| setLineText | Sets the text in the 'Line' area of the status bar. |
| setPageCounterText | Sets the text in the 'Page counter' area of the status bar. |
| setPageText | Sets the text in the 'Page' area of the status bar. |
| setSectionCounterText | Sets the text in the 'Section counter' area of the status bar. |
| setSectionText | Sets the text in the 'Section' area of the status bar. |
| setShowColumn | Specifies whether the status bar shows the column number of the current text input position. |
| setShowKeyStates | Specifies whether the status bar shows the key state of the current insertion mode, insert or overwrite. |
| setShowLanguage | Specifies whether the status bar shows the language of the text selection or the text input position. |
| setShowLine | Specifies whether the status bar shows the line number of the current text input position. |
| setShowPage | Specifies whether the status bar shows the page number of the current text input position. |
| setShowPageCounter | Specifies whether the status bar shows the number of pages the document consists of. |
| setShowSection | Specifies whether the status bar shows the section number of the current text input position. |
| setShowSectionCounter | Specifies whether the status bar shows the number of sections the document consists of. |
| setShowZoom | Specifies whether the status bar shows the current zoom factor. |
| setShowZoomTrackBar | Specifies whether the status bar displays a track bar instead of a simple number to show and to set the zooming factor. |