Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.RadioButton

Class RadioButton

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.Bin.Bin
                                        dui.Button.Button
                                                dui.ToggleButton.ToggleButton
                                                        dui.RadioButton.RadioButton

Implemented interfaces:


public class

RadioButton



A button with two states (plus a third one) that can be mutualy exclusive with other buttons of the same type.

Constructor Summary
(SListG group)
          Creates a new RadioButton and links it to an existing set of mutualy exclusive buttons
(SListG group, char label)
          Creates a new Radion button bellonging to a button group
(RadioButton button)
          Creates a new radion button and joins it to the group of the passed button
(RadioButton button, char label)
          Creates a new radio button and joins it to the group of the passed button
(RadioButton button, char label, void function(void, void *))
          Creates a new Radio button with a label and a callback funtion \deprecated, set listener instead

Methods Summary
public static GType getType()
          Gets this class type
SListG getGroup()
          Gets this buttons group of mutualy exclusive buttons


getType

public static GType getType()
Gets this class type

Returns:
this class type



ctor(RadioButton)(SListG group)
Creates a new RadioButton and links it to an existing set of mutualy exclusive buttons

Parameters:
group - the set of mutualy exclusive buttons



ctor(RadioButton)(SListG group, char label)
Creates a new Radion button bellonging to a button group

Parameters:
group - the button group
label - the new button label text use this(RadioButton, char[]) instead



ctor(RadioButton)(RadioButton button)
Creates a new radion button and joins it to the group of the passed button

Parameters:
button -



ctor(RadioButton)(RadioButton button, char label)
Creates a new radio button and joins it to the group of the passed button

Parameters:
button - the button on the group we will join
label - the button label text



ctor(RadioButton)(RadioButton button, char label, void function(void, void *))
Creates a new Radio button with a label and a callback funtion \deprecated, set listener instead

Parameters:
button - a button from the group that the new button will join
label - the new button lavel text
func - the call back function

getGroup

SListG getGroup()
Gets this buttons group of mutualy exclusive buttons

Returns:
the group of buttons