Table of the Widgets
 

Common Widget Attributes

The Basics Section:

ID Unique symbolic name (ID) of the widget.  
This ID can be used by the application to access the widget via "builder componentAt:#ID".
 
 

The Details Section:

Font Defines the font style of the widget. 
After selecting the check toggle, the font style can be chosen by selecting one of the Family/Face/Style/Size entries.
If no font style is selected, the widget takes its default font from the style sheet.
It is recommened to NOT specify any font, as it makes reconfiguration by the end-user (via the style settings) impossible.
FG-Color Defines the foreground color of the widget, i.e. the color of the letters. 
After selecting the check toggle, the foreground color can be chosen by selecting the desired color.
If no color is selected, the widget takes its default foreground color from the style sheet.
It is recommened to NOT specify any color, as it makes reconfiguration by the end-user (via the style settings) impossible.
BG-Color Defines the background color of the widget. 
After selecting the check toggle, the background color can be chosen by selecting the desired color.
If no color is selected, the widget takes its default background color from the style sheet.
It is recommened to NOT specify any color, as it makes reconfiguration by the end-user (via the style settings) impossible.
Initially Disabled Turns on/off that the widget is initially disabled.
An enableChannel may overwrite this (see below).
Use this, if the widget is to be later enabled programatically.
Initially Invisible Turns on/off that the widget is initially invisible.
A visibilityChannel may overwrite this (see below).
Use this, if the widget is to be later made visible programatically.
Can Tab Turns on/off that the widget can be reached by tabbing.
 
 

The Channels Section:

Visible Aspect selector or binding for making the widget visible/invisible. 
It should return one of: 

    - Boolean instance** (only for static behavior) 
    - Block evaluating to a Boolean (evaluated once, at creation time of the widget)
    - ValueModel* instance providing a Boolean** 

A value model is used to make this feature dynamically changable.

Enable Aspect selector or binding for en-/disabling the widget. 
It should return one of: 

    - Boolean instance** (only for static behavior) 
    - Block evaluating to a Boolean
    - ValueModel* instance providing a Boolean** 

A value model is used to provide a dynamically changing of the ability of the button.

FG-Color Aspect selector or binding for the foreground color of the widget. 
It should return one of: 

    - Color instance  (only for static behavior) 
    - Block evaluating to a Color
    - ValueModel* instance providing a Color

A value model is used to dynamically change the widgets foreground color.

BG-Color Aspect selector or binding for the background color of the widget. 
It should return one of: 

    - Color instance  (only for static behavior) 
    - Block evaluating to a Color
    - ValueModel* instance with a Color instance. 

A value model is used to dynamically change the widgets background color.

*  = ValueHolder, AspectAdaptor, BufferedValueHolder, RangeAdaptor, TriggerValue
** = true, false


[stx-logo]
Copyright © 1998 eXept Software AG, all rights reserved