Package gri.gui.widgets.options

Examples of gri.gui.widgets.options.Option


  public void addTask(JobManager jobManager, String taskId) {
    TaskDescription desc = jobManager.getTaskDescription(taskId);
    String displayName = desc.getName();

    TaskInfo info = new TaskInfo(jobManager, taskId, desc);
    addOption(new Option(displayName, info));
  }
View Full Code Here


 
  List entries = managers.getJobManagerEntries();
  JobManagerEntry entry;
  for (int i=0; i<entries.size(); i++) {
      entry = (JobManagerEntry)entries.get(i);
      cboManagers.addOption(new Option(entry.getDisplayName(), entry));
  }
 
  cboManagers.addWidgetListener(new ManagerSelectListener());
 
  add(cboManagers.getDisplayComponent(), BorderLayout.NORTH);
View Full Code Here

TOP

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

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.