程序包 weka.gui.beans

类 AbstractDataSink

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, BeanCommon, DataSink, DataSourceListener, InstanceListener, TestSetListener, ThresholdDataListener, TrainingSetListener, Visible
直接已知子类:
Saver

Abstract class for objects that store instances to some destination.
从以下版本开始:
1.0
版本:
$Revision: 7059 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • AbstractDataSink

      public AbstractDataSink()
  • 方法详细资料

    • acceptTrainingSet

      public abstract void acceptTrainingSet(TrainingSetEvent e)
      Accept a training set
      指定者:
      acceptTrainingSet 在接口中 TrainingSetListener
      参数:
      e - a TrainingSetEvent value
    • acceptTestSet

      public abstract void acceptTestSet(TestSetEvent e)
      Accept a test set
      指定者:
      acceptTestSet 在接口中 TestSetListener
      参数:
      e - a TestSetEvent value
    • acceptDataSet

      public abstract void acceptDataSet(DataSetEvent e)
      Accept a data set
      指定者:
      acceptDataSet 在接口中 DataSourceListener
      参数:
      e - a DataSetEvent value
    • acceptDataSet

      public abstract void acceptDataSet(ThresholdDataEvent e)
      Accept a threshold data set
      指定者:
      acceptDataSet 在接口中 ThresholdDataListener
      参数:
      e - a ThresholdDataEvent value
    • acceptInstance

      public abstract void acceptInstance(InstanceEvent e)
      Accept an instance
      指定者:
      acceptInstance 在接口中 InstanceListener
      参数:
      e - an InstanceEvent value
    • setVisual

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

      public BeanVisual getVisual()
      Get the visual being used by this data source.
      指定者:
      getVisual 在接口中 Visible
      返回:
      a BeanVisual value
    • useDefaultVisual

      public void useDefaultVisual()
      Use the default images for a data source
      指定者:
      useDefaultVisual 在接口中 Visible
    • 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
    • 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
    • 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