The Check Box WidgetTable of the Widgets
 

The Check Toggle Widget

A View of a Check Toggle Widget

View Class: CheckToggle
Spec Class: CheckToggleSpec

The Check Toggle Widget is similar to the Check Box Widget exept that it has no label.


The Basics Section:

ID Unique symbolic name (ID) of the check toggle.  
This ID can be used by the application to access the widget via "builder » componentAt:#ID".
Model Aspect selector or binding for the state (on/off) of the check toggle.  
It should return a ValueModel* with a Boolean instance**.

The Details Section:

BG-Color Defines the background color of the check toggle, i.e. the color of the check box's view. 
After selecting the check toggle the background color can be chosen by selecting the desired colored button. If no color  is selected, the check toggle takes its default background color from the style sheet.
Initially Disabled Turns on/off that the check toggle is initially disabled.
Initially Invisible Turns on/off that the check toggle is initially invisible.
Can Tab Turns on/off that the check toggle can be reached by tabbing.

The Channels Section:

Enable Aspect selector or binding for en-/disabling the check toggle. 
It should return a 

    - Boolean instance** (only for static behavior) 
    - ValueModel* instance with a Boolean instance** 

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

BG-Color Aspect selector or binding for the background color of the check toggle. 
It should return a 

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

A value model is used to provide a dynamically changing of the background color.

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

Selected Name of the selector sent to the application when the check toggle was pressed. 

The Help Section:

see "Using the Help Tool"

The Layout Section:

see "The Layout of the Widgets"


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