Rich UI textField

A Rich UI textField widget defines a text box that contains one line of text.
Here is an example:
import egl.ui.rui.Event;
import com.ibm.egl.rui.widgets.RadioGroup;
import com.ibm.egl.rui.widgets.TextField;

Handler OneRadioButton Type RUIHandler
   { children = [myTextField, myRadioGroup] }

   myTextField TextField 
      { text = "Monday?", readOnly = true };

   myRadioGroup RadioGroup
   { options = ["Monday", "Tuesday"], onClick ::= myRadioHandler };

   Function myRadioHandler(e Event)
      if (myRadioGroup.selected == "Tuesday")
         myTextField.text = "Tuesday!";
         myTextField.readOnly = false;
      else 
          myTextField.text = "Monday!";
      end
   end
end
The textField widget supports these properties:

For information about other supported properties and functions, see "Widget properties and functions."

If you use this widget, you must use the following statement:
import com.ibm.egl.rui.widgets.TextField;

Feedback