Reference Source
public class | source

RadioButton

Represents a ui radiobutton

See:

Constructor Summary

Public Constructor
public

constructor(id: String, options: Object)

Constructor

Method Summary

Public Methods
public

checked(optional: Boolean): Null

gets or sets the status of the checkbox

public

enable(optional: Boolean): Null

gets or sets the status of the radiobutton

public

name(optional: String): Null

gets or sets the name of the radiobutton

public

value(optional: String): Null

gets or sets the value of the radiobutton

Public Constructors

public constructor(id: String, options: Object) source

Constructor

Params:

NameTypeAttributeDescription
id String

radiobutton id

options Object

config params

options.label Boolean

the label of the radiobutton

options.name Boolean

the name of the radiobutton

options.value Boolean

the value of the radiobutton

options.enable Boolean

if true, the radiobutton will be enable. otherwise, will be disabled.

options.checked Boolean

if true, the radiobutton will be checked. otherwise, will be unchecked.

Public Methods

public checked(optional: Boolean): Null source

gets or sets the status of the checkbox

Params:

NameTypeAttributeDescription
optional Boolean

if true, the radiobutton will be checked. otherwise, will be unchecked.

Return:

Null

public enable(optional: Boolean): Null source

gets or sets the status of the radiobutton

Params:

NameTypeAttributeDescription
optional Boolean

if true, the radiobutton will be enable. otherwise, will be disabled.

Return:

Null

public name(optional: String): Null source

gets or sets the name of the radiobutton

Params:

NameTypeAttributeDescription
optional String

the name of radiobutton

Return:

Null

public value(optional: String): Null source

gets or sets the value of the radiobutton

Params:

NameTypeAttributeDescription
optional String

the value of radiobutton

Return:

Null