Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## waba.ui
Class RadioGroup

    java.lang.Object
      |
      +--waba.ui.RadioGroup

public class RadioGroup
extends Object

RadioGroup is a Radio control grouper. It handles the click on a radio, unchecking the last selected one.

Use it as:

     RadioGroup rg = new RadioGroup();
     Radio r1 = new Radio("radio 1",rg);
     Radio r2 = new Radio("radio 2",rg);
     Radio r3 = new Radio("radio 3",rg);

Note: there is no need (and you can't) add a RadioGroup to a container, since a RadioGroup is a class that doesn't extend Control.

Constructor Summary
`RadioGroup()`

Method Summary
`void` | `add(Radio newMember)`
`void` | `clicked(Radio who)` Called by the Radio when a click was made
`void` | `remove(Radio oldMember)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, toString, wait, wait`

Constructor Detail

### RadioGroup

    public RadioGroup()

Method Detail

### add

    public void add(Radio newMember)

### remove

    public void remove(Radio oldMember)

### clicked

    public void clicked(Radio who)

  Called by the Radio when a click was made

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD