~ubuntu-branches/ubuntu/raring/weka/raring

« back to all changes in this revision

Viewing changes to weka/gui/beans/IncrementalClassifierEvaluatorBeanInfo.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner, Soeren Sonnenburg, Torsten Werner
  • Date: 2008-08-10 21:27:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080810212705-tr8etpnkdx2ziktp
Tags: 3.5.8-1
[ Soeren Sonnenburg ]
* Bump Standards Version to 3.8.0.
* Remove references to non-free Java in debian/copyright.

[ Torsten Werner ]
* new upstream release
* Switch to openjdk-6.
* Move package to main.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 * Bean info class for the incremental classifier evaluator bean
29
29
 *
30
30
 * @author <a href="mailto:mhall@cs.waikato.ac.nz">Mark Hall</a>
31
 
 * @version $Revision: 1.3 $
 
31
 * @version $Revision: 1.4 $
32
32
 */
33
33
public class IncrementalClassifierEvaluatorBeanInfo extends SimpleBeanInfo {
34
34
  
35
35
  /**
 
36
   * Return the property descriptors for this bean
 
37
   *
 
38
   * @return a <code>PropertyDescriptor[]</code> value
 
39
   */
 
40
  public PropertyDescriptor[] getPropertyDescriptors() {
 
41
    try {
 
42
      PropertyDescriptor p1;
 
43
      PropertyDescriptor p2;
 
44
      p1 = new PropertyDescriptor("statusFrequency", IncrementalClassifierEvaluator.class);
 
45
      p2 = new PropertyDescriptor("outputPerClassInfoRetrievalStats", 
 
46
                                  IncrementalClassifierEvaluator.class);
 
47
      PropertyDescriptor [] pds = { p1, p2 };
 
48
      return pds;
 
49
    } catch (Exception ex) {
 
50
      ex.printStackTrace();
 
51
    }
 
52
    return null;
 
53
  }
 
54
 
 
55
  /**
36
56
   * Get the event set descriptors for this bean
37
57
   *
38
58
   * @return an <code>EventSetDescriptor[]</code> value
55
75
    }
56
76
    return null;
57
77
  }
 
78
 
 
79
  /**
 
80
   * Return the bean descriptor for this bean
 
81
   *
 
82
   * @return a <code>BeanDescriptor</code> value
 
83
   */
 
84
  public BeanDescriptor getBeanDescriptor() {
 
85
    return new BeanDescriptor(weka.gui.beans.IncrementalClassifierEvaluator.class,
 
86
                              IncrementalClassifierEvaluatorCustomizer.class);
 
87
  }
58
88
}