Package gri.gui.widgets.options

Examples of gri.gui.widgets.options.OptionWidget


        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

TOP

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

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.