1  /*
     2   Copyright aswing.org, see the LICENCE.txt.
     3  */
     4   
     5  import org.aswing.*;
     6   
     7  /**
     8   * An implementation of a check box -- an item that can be selected or
     9   * deselected, and which displays its state to the user. 
    10   * By convention, any number of check boxes in a group can be selected.
    11   * @author iiley
    12   */
    13  class org.aswing.JCheckBox extends JToggleButton{
    14  		
    15  	/**
    16       * JCheckBox(text:String, icon:Icon)<br>
    17       * JCheckBox(text:String)<br>
    18       * JCheckBox(icon:Icon)
    19       * <p>
    20  	 */		
    21  	public function JCheckBox(text:String, icon:Icon) {
    22  		super(text, icon);
    23  		setName("JCheckBox");
    24  		updateUI();
    25  	}
    26      
    27  	public function getUIClassID():String{
    28  		return "CheckBoxUI";
    29  	}
    30  }
    31