程序包 weka.gui.beans

类 AbstractTrainAndTestSetProducer

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, BeanCommon, DataSourceListener, TestSetProducer, TrainingSetProducer, Visible
直接已知子类:
CrossValidationFoldMaker, TrainTestSplitMaker

public abstract class AbstractTrainAndTestSetProducer extends JPanel implements Visible, TrainingSetProducer, TestSetProducer, BeanCommon, Serializable, DataSourceListener
Abstract base class for TrainAndTestSetProducers that contains default implementations of add/remove listener methods and defualt visual representation.
版本:
$Revision: 1.5 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • AbstractTrainAndTestSetProducer

      public AbstractTrainAndTestSetProducer()
      Creates a new AbstractTrainAndTestSetProducer instance.
  • 方法详细资料

    • acceptDataSet

      public abstract void acceptDataSet(DataSetEvent e)
      Subclass must implement
      指定者:
      acceptDataSet 在接口中 DataSourceListener
      参数:
      e - a DataSetEvent value
    • addTrainingSetListener

      public void addTrainingSetListener(TrainingSetListener tsl)
      Add a training set listener
      指定者:
      addTrainingSetListener 在接口中 TrainingSetProducer
      参数:
      tsl - a TrainingSetListener value
    • removeTrainingSetListener

      public void removeTrainingSetListener(TrainingSetListener tsl)
      Remove a training set listener
      指定者:
      removeTrainingSetListener 在接口中 TrainingSetProducer
      参数:
      tsl - a TrainingSetListener value
    • addTestSetListener

      public void addTestSetListener(TestSetListener tsl)
      Add a test set listener
      指定者:
      addTestSetListener 在接口中 TestSetProducer
      参数:
      tsl - a TestSetListener value
    • removeTestSetListener

      public void removeTestSetListener(TestSetListener tsl)
      Remove a test set listener
      指定者:
      removeTestSetListener 在接口中 TestSetProducer
      参数:
      tsl - a TestSetListener value
    • setVisual

      public void setVisual(BeanVisual newVisual)
      Set the visual for this bean
      指定者:
      setVisual 在接口中 Visible
      参数:
      newVisual - a BeanVisual value
    • getVisual

      public BeanVisual getVisual()
      Get the visual for this bean
      指定者:
      getVisual 在接口中 Visible
      返回:
      a BeanVisual value
    • useDefaultVisual

      public void useDefaultVisual()
      Use the default visual for this bean
      指定者:
      useDefaultVisual 在接口中 Visible
    • connectionAllowed

      public boolean connectionAllowed(String eventName)
      Returns true if, at this time, the object will accept a connection according to the supplied event name
      指定者:
      connectionAllowed 在接口中 BeanCommon
      参数:
      eventName - the event
      返回:
      true if the object will accept a connection
    • connectionAllowed

      public boolean connectionAllowed(EventSetDescriptor esd)
      Returns true if, at this time, the object will accept a connection according to the supplied EventSetDescriptor
      指定者:
      connectionAllowed 在接口中 BeanCommon
      参数:
      esd - the EventSetDescriptor
      返回:
      true if the object will accept a connection
    • connectionNotification

      public void connectionNotification(String eventName, Object source)
      Notify this object that it has been registered as a listener with a source with respect to the supplied event name
      指定者:
      connectionNotification 在接口中 BeanCommon
      参数:
      eventName - the event
      source - the source with which this object has been registered as a listener
    • disconnectionNotification

      public void disconnectionNotification(String eventName, Object source)
      Notify this object that it has been deregistered as a listener with a source with respect to the supplied event name
      指定者:
      disconnectionNotification 在接口中 BeanCommon
      参数:
      eventName - the event
      source - the source with which this object has been registered as a listener
    • setLog

      public void setLog(Logger logger)
      Set a log for this bean
      指定者:
      setLog 在接口中 BeanCommon
      参数:
      logger - a weka.gui.Logger value
    • stop

      public abstract void stop()
      Stop any processing that the bean might be doing. Subclass must implement
      指定者:
      stop 在接口中 BeanCommon