Documentation

Reference
qx:radioButton (qx.ui.form.RadioButton)

Radio buttons can be used in radio groups to allow to the user to select exactly one item from a list. Radio groups are established by adding radio buttons to a radio manager qx.ui.form.RadioGroup.

Example:

  var container = new qx.ui.container.Composite(new qx.ui.layout.VBox);

  var female = new qx.ui.form.RadioButton("female");
  var male = new qx.ui.form.RadioButton("male");

  var mgr = new qx.ui.form.RadioGroup;
  mgr.add(female, male);

  container.add(male);
  container.add(female);

LGPL, EPL © 2008 QxTransformer | Siarhei Barysiuk & Christian Boulanger.
Site design and illustrations by Siarhei Barysiuk. | Icons by Dry Icons.

qooxdoo