# Radio Control

(UI 0.9.9)

## Introduction

A Radio is similar to the radio input type familiar from HTML

## Class synopsis

UI\Controls\Radio extends UI\Control {
/* Methods */
public append ( string `$text` )
public getSelected ( ) : int
protected onSelected ( )
public setSelected ( int `$index` )
/* Inherited methods */
public UI\Control::destroy ( )
public UI\Control::disable ( )
public UI\Control::enable ( )
public UI\Control::getParent ( ) : UI\Control
public UI\Control::getTopLevel ( ) : int
public UI\Control::hide ( )
public UI\Control::isEnabled ( ) : bool
public UI\Control::isVisible ( ) : bool
public UI\Control::setParent ( UI\Control `$parent` )
public UI\Control::show ( )
}

## Table of Contents

- UI\Controls\Radio::append — Append Option
- UI\Controls\Radio::getSelected — Get Selected Option
- UI\Controls\Radio::onSelected — Selected Handler
- UI\Controls\Radio::setSelected — Set Selected Option