eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RadioButtonController':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: RadioButtonController


Inheritance:

   Object
   |
   +--Controller
      |
      +--ButtonController
         |
         +--ToggleController
            |
            +--RadioButtonController

Package:
stx:libwidg
Category:
Interface-Support-Controllers
Version:
rev: 1.10 date: 2017/02/07 23:57:15
user: cg
file: RadioButtonController.st directory: libwidg
module: stx stc-classLibrary: libwidg
Author:
Claus Gittinger

Description:


RadioButtonControllers redefine the response to a button-click.
While toggles (i.e. ToggleControllers) change state with every click,
radioButtons will only do so for an off-to-on transition.
They will NEVER turn themselfes off with a click.
To turn a radioButton off, another button in its buttonGroup must
be turned on and thereby (via the buttonGroup) turn the first button off.

You can place both toggles (for 'zero-or-one-on' behavior) or
radiobuttons (for 'one-on' behavior) into a buttongroup.


Instance protocol:

initialization & release
o  initialize
must be called if redefined



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 07:35:34 GMT