/*boolean theState = (aStateData == null ||
aStateData.length () == 0 ||
aStateData.equals ("false") ?
false :
true);*/
MActionEvent retVal = null;
if (aStateData == null)
{
retVal = new MActionEvent (this, "true");
}
else if (aStateData.equals (MActionEvent.ACTION_PUSH))
{
retVal = new MActionEvent (this, MActionEvent.ACTION_PUSH);
}
else
{
MRadioButtonGroup theGroup = getRadioButtonGroup ();
MRadioButton theRadioButton = theGroup.getRadioButton (aStateData);
retVal = new MActionEvent (theRadioButton, aStateData);
if (theRadioButton.isSelected ())
{
retVal.consume ();
}
theGroup.doSetSelectedButtonIndex (theRadioButton.getButtonIndex (), true);
}
return retVal;