Package weka.gui

Examples of weka.gui.GenericObjectEditor$GOEPanel


   * Pops up generic object editor with list of conversion filters
   *
   * @param f the File
   */
  private void converterQuery(final File f) {
    final GenericObjectEditor convEd = new GenericObjectEditor(true);

    try {
      convEd.setClassType(weka.core.converters.Loader.class);
      convEd.setValue(new weka.core.converters.CSVLoader());
      ((GenericObjectEditor.GOEPanel)convEd.getCustomEditor())
  .addOkListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        tryConverter((Loader)convEd.getValue(), f);
      }
    });
    } catch (Exception ex) {
    }

View Full Code Here

TOP

Related Classes of weka.gui.GenericObjectEditor$GOEPanel

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.