Please enable JavaScript to view this site.

Knowledge Bridge Documentation

Help version: 3.3.8

 

Description

UIStyleMixin is a mixin containing rules that can be used by other designs that use text styles in their UI displays.

We do not use it alone, we use it to add the rules to other designs; currently only UIControlMixin uses it.

Parameter Rules

backgroundColor: This controls the background color in the design where it is mixed into.
Example:return "#C3F6F2";
Choices:"background | primary | secondary|…|#rrggbb|#rgb"

 

color:This sets the color of the text that shows up in the UI.                
Example:"text"

 

fontFace:There are four styles for displaying fonts in Java: plain, bold, italic, and bold italic.
Example:"default"

 

fontSize:Font size to appear in the User Interface.If fontSize is specified, it takes precedence over textSize.        
Example:normal

 

textSize:These are the pre-defined text sizes "normal”, “big”, “bigger”, “small”, “smaller".        
Example:normal

 

textStyle:“bold”, “italic”, “underline”, or combination by a comma                
Example: “bold”

 

 

 

 

Mixins

None

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

backgroundColor

string

"background"

Style

Cached
Parameter

color

string

"text"

Style

Cached
Parameter

fontFace

string

"default"

Style

Cached
Parameter

fontSize

string

"normal"

Style

Cached
Parameter

textSize

string

"normal"

Style


textStyle

string

"regular"

Style

Cached
Parameter

 

 

kBridgeExampleIcon

 

 

UI Design that uses the UIStyleMixin:

 

1.UIControlMixin

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Knowledge Bridge from Engingeering Intent is a full-featured engineering and sales automation environment