示例#1
0
 /**
  * Constructs a <code>CheckBoxList</code> that displays the elements in the specified <code>Vector
  * </code>.
  *
  * @param listData the <code>Vector</code> to be loaded into the data model
  */
 public CheckBoxList(final Vector<?> listData) {
   super(listData);
   init();
 }
示例#2
0
 /**
  * Constructs a <code>CheckBoxList</code> that displays the elements in the specified, non-<code>
  * null</code> model. All <code>CheckBoxList</code> constructors delegate to this one.
  *
  * <p>
  *
  * @param dataModel the data model for this list
  * @throws IllegalArgumentException if <code>dataModel</code> is <code>null</code>
  */
 public CheckBoxList(ListModel dataModel) {
   super(dataModel);
   init();
 }
示例#3
0
 /** Constructs a <code>CheckBoxList</code> with an empty model. */
 public CheckBoxList() {
   init();
 }
示例#4
0
 /**
  * Constructs a <code>CheckBoxList</code> that displays the elements in the specified <code>
  * Object[]</code>.
  *
  * @param listData the array of Objects to be loaded into the data model
  */
 public CheckBoxList(final Object[] listData) {
   super(listData);
   init();
 }