Package gri.gui.widgets.options

Examples of gri.gui.widgets.options.ComboBoxWidget


        Widget widget;
       
        //create option widget if parameter options given:
        if (param.hasOptions()) {
            Option [] options = param.getOptions();
            OptionWidget optWidget = new ComboBoxWidget();
           
            for (int i=0; i<options.length; i++)
                optWidget.addOption(options[i].getDisplayText(), options[i].getValue());
                       
            widget = optWidget;
        }

        //create based on DataType for others
View Full Code Here


   
    // ------------------------------------------------ Implementation
   
    protected void init() {
  //combo box:
  cboManagers = new ComboBoxWidget();
 
  List entries = managers.getJobManagerEntries();
  JobManagerEntry entry;
  for (int i=0; i<entries.size(); i++) {
      entry = (JobManagerEntry)entries.get(i);
View Full Code Here

TOP

Related Classes of gri.gui.widgets.options.ComboBoxWidget

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.