程序包 weka.gui.beans

类 AbstractTrainingSetProducer

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, Accessible, BeanCommon, TrainingSetProducer, Visible
直接已知子类:
TrainingSetMaker

public abstract class AbstractTrainingSetProducer extends JPanel implements TrainingSetProducer, Visible, BeanCommon, Serializable
Abstract class for TrainingSetProducers that contains default implementations of add/remove listener methods and default visual representation
从以下版本开始:
1.0
版本:
$Revision: 1.7 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • AbstractTrainingSetProducer

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

    • 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
    • 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 -
      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 name
      source - the source with which this object has been registered as a listener
    • setLog

      public void setLog(Logger logger)
      Set a logger
      指定者:
      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