Package net.pleso.framework.client.bl

Examples of net.pleso.framework.client.bl.IEnumItem


  public EnumComboBoxDataControl(IEnum enumeration){
    this.enumeration = enumeration;
   
    this.listBox.setVisibleItemCount(1);
   
    IEnumItem nullItem = this.enumeration.getNullItem();
    if (nullItem != null)
      this.listBox.addItem(nullItem.getCaption(), nullItem.getDBValue().getValue());
    IEnumItem[] items = this.enumeration.getItems();
    for(int i = 0; i < items.length; i++)
      this.listBox.addItem(items[i].getCaption(), items[i].getDBValue().getValue());
     
      this.panel.add(this.rsc);
View Full Code Here

TOP

Related Classes of net.pleso.framework.client.bl.IEnumItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.