MCheckBox
class represents a checkbox, that is, an element which allows one to toggle between two states. An example of where one might be used would be: [ ] Check this box if you wish to receive updates.When clicked, a checkbox will publish a
MActionEvent
with the MCheckBox.ACTION_CHECKED
event command string.
<div class="mgwt-CheckBox"> <div class="mgwt-CheckBox-on"></div> <div class="mgwt-CheckBox-middle"> <div class="mgwt-CheckBox-middle-content "></div> </div> <div class="mgwt-CheckBox-off"></div> </div>The folling classes are applied dynamically:
|
|