StatusBarViewGeneratorColors Object
Description
The StatusBarViewGeneratorColors object provides methods for getting, setting or resetting the display colors of a status bar. By default the display colors depend on sytem colors on the server. With this object all colors can be individually designed.
Syntax
StatusBarViewGeneratorColorsExamples
The following example demonstrates StatusBarViewGeneratorColors in a practical document-editing workflow. The StatusBarViewGeneratorColors object provides methods for getting, setting or resetting the display colors of a status bar. By default the display colors depend on sytem colors on the server. With this object all colors can be individually designed.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function inspectStatusBarViewGeneratorColors(statusBarViewGeneratorColors) {
statusBarViewGeneratorColors.getBackColor(
function(result) {
console.log("get back color result:", result);
},
onTxError
);
}Members
Methods
| Method | Description |
|---|---|
| getBackColor | Gets the background color at the left edge of the status bar. |
| getBackColorBottom | Gets the background color at the bottom of the status bar. |
| getBackColorMiddle | Gets the background color in the middle of the status bar. |
| getBackColorTop | Gets the background color at the top of the status bar. |
| getForeColor | Gets the color used for text and numbers. |
| getFrameColor | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support frames anymore. Gets the color of the status bar's frames. |
| getGradientBackColor | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support horizontal gradients anymore. Gets the background color at the right edge of the status bar. |
| getSeparatorColorDark | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Gets the color of the dark part of a separator. |
| getSeparatorColorLight | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Gets the color of the light part of a separator. |
| reset | Resets all colors to their system dependent default values. |
| resetBackColor | Resets the ruler bar's backColor to its system dependent default value. |
| resetBackColorBottom | Resets the status bar's backColorBottom to its system dependent default value. |
| resetBackColorMiddle | Resets the status bar's backColorMiddle to its system dependent default value. |
| resetBackColorTop | Resets the status bar's backColorTop to its system dependent default value. |
| resetForeColor | Resets the status bar's foreColor to its system dependent default value. |
| resetFrameColor | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support frames anymore. Resets the status bar's frameColor to its system dependent default value. |
| resetGradientBackColor | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support horizontal gradients anymore. Resets the status bar's gradientBackColor to its system dependent default value. |
| resetSeparatorColor | Resets the separator color to its default value. |
| resetSeparatorColorDark | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Resets the status bar's separatorColorDark to its system dependent default value. |
| resetSeparatorColorLight | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Resets the status bar's separatorColorLight to its system dependent default value. |
| setBackColor | Sets the background color at the left edge of the ruler bar. |
| setBackColorBottom | Sets the background color at the bottom of the status bar. |
| setBackColorMiddle | Sets the background color in the middle of the status bar. |
| setBackColorTop | Sets the background color at the top of the status bar. |
| setForeColor | Sets the color used for text and numbers. |
| setFrameColor | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support frames anymore. Sets the color of the status bar's frames. |
| setGradientBackColor | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support horizontal gradients anymore. Sets the background color at the right edge of the status bar. |
| setSeparatorColor | Sets the separator color. |
| setSeparatorColorDark | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Sets the color of the dark part of a separator. |
| setSeparatorColorLight | Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Sets the color of the light part of a separator. |