RADIO


Name space rialto.widget
FILE rialtoEngine\javascript\components\controls\buttonRadio.js
NAME RADIO
INHERITS AbstractComponent
VERSION 0.86
update
DESCRIPTION This object create a radio button



CONSTRUCTOR


Name Type Description Default
Name String Name of the HTML element radio
top int Top position (in pixel) 0
left int Left position (in pixel) 0
parent String or reference Reference of an HTML or a javascript element parent of the radio html element
group String Radio group
text String Text to display
checked boolean True if radio is checked false
classname String classname to use for the text libelle1

Example:
var myRad=new rialto.widget.Radio("RAD1",10,10,frame1,"RadGpe","Label:",true,"libNormal");

PUBLIC METHODS


Method Arguments list Return value Inherits To redefine
setCheck boolean isCheck void no no
isCheck boolean no no
onclick no yes

setCheck

this method will allow to check or uncheck the radio according to the parameter
Parameters:
boolean isCheck:True to check the radio

isCheck

return the check status of the radio
Parameters:

onclick

this method will be raise afert clicking the radio.
Parameters:

The code must be redefine after the instanciation of the component. By default this method does nothing.