The Arrow Button WidgetTable of the WidgetsThe Radio Button Widget
 

The UpDown Button Widget

A View of a UpDown Button Widget

View Class: UpDownButton
Spec Class: UpDownButtonSpec

The UpDown Button Widget contains either an up- and a down- or a left- and a right-Arrow Button. For both buttons an action selector can be defined.
 
 


The Basics Section:

ID Unique symbolic name (ID) of the button.  
This ID can be used by the application to access the widget via "builder>>componentAt: ID".
Up-Action Name of the selector which is sent to the application when the up(left)-button is pressed.  
If the selector is an one-arg selector, the argument is passed as a string.
Up-Argument Argument passed with the up-action selector.  
The up-action selector must end with ':'.
Down-Action Name of the selector which is sent to the application when the down(right)-button is pressed.  
If the selector is an one-arg selector, the argument is passed as a string.
Down-Argument Argument passed with the down-action selector.  
The down-action selector must end with ':'.
Orientation Defines the direction of the alignment of the two arrows (horizontal or vertical).
 
 

The Details Section:

FG-Color Defines the foreground color of the button, i.e. the color of the letters. 
After selecting the check toggle the foreground color can be chosen by selecting the desired colored button. If no color  is selected, the button takes its default foreground color from the style sheet.
BG-Color Defines the background color of the button, i.e. the color of the button'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 button takes its default background color from the style sheet.
Initially Disabled Turns on/off that the button is initially disabled.
Initially Invisible Turns on/off that the button is initially invisible.
Can Tab Turns on/off that the button can be reached by tabbing.
 
 

The Channels Section:

Enable Aspect selector or binding for en-/disabling the button. 
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 button.

FG-Color Aspect selector or binding for the foreground color of the button. 
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 foreground color.

BG-Color Aspect selector or binding for the background color of the button. 
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

 

The Help Section:

see document "Using the Help Tool"
 
 

The Layout Section:

see document "The Layout of the Widgets"
 


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