程序包 weka.gui.beans

类 Filter

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, BeanCommon, DataSource, DataSourceListener, EventConstraints, InstanceListener, TestSetListener, TestSetProducer, TrainingSetListener, TrainingSetProducer, UserRequestAcceptor, Visible, WekaWrapper

A wrapper bean for Weka filters
版本:
$Revision: 9967 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • Filter

      public Filter()
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Global info (if it exists) for the wrapped filter
      返回:
      the global info
    • setCustomName

      public void setCustomName(String name)
      Set a custom (descriptive) name for this bean
      指定者:
      setCustomName 在接口中 BeanCommon
      参数:
      name - the name to use
    • getCustomName

      public String getCustomName()
      Get the custom (descriptive) name for this bean (if one has been set)
      指定者:
      getCustomName 在接口中 BeanCommon
      返回:
      the custom name (or the default name)
    • setFilter

      public void setFilter(Filter c)
      Set the filter to be wrapped by this bean
      参数:
      c - a weka.filters.Filter value
    • getFilter

      public Filter getFilter()
    • setWrappedAlgorithm

      public void setWrappedAlgorithm(Object algorithm)
      Set the filter to be wrapped by this bean
      指定者:
      setWrappedAlgorithm 在接口中 WekaWrapper
      参数:
      algorithm - a weka.filters.Filter
      抛出:
      IllegalArgumentException - if an error occurs
    • getWrappedAlgorithm

      public Object getWrappedAlgorithm()
      Get the filter wrapped by this bean
      指定者:
      getWrappedAlgorithm 在接口中 WekaWrapper
      返回:
      an Object value
    • acceptTrainingSet

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

      public void acceptInstance(InstanceEvent e)
      Accept an instance for processing by StreamableFilters only
      指定者:
      acceptInstance 在接口中 InstanceListener
      参数:
      e - an InstanceEvent value
    • acceptTestSet

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

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

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

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

      public void useDefaultVisual()
      Use the default visual appearance
      指定者:
      useDefaultVisual 在接口中 Visible
    • 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
    • addDataSourceListener

      public void addDataSourceListener(DataSourceListener dsl)
      Add a data source listener
      指定者:
      addDataSourceListener 在接口中 DataSource
      参数:
      dsl - a DataSourceListener value
    • removeDataSourceListener

      public void removeDataSourceListener(DataSourceListener dsl)
      Remove a data source listener
      指定者:
      removeDataSourceListener 在接口中 DataSource
      参数:
      dsl - a DataSourceListener value
    • addInstanceListener

      public void addInstanceListener(InstanceListener tsl)
      Add an instance listener
      指定者:
      addInstanceListener 在接口中 DataSource
      参数:
      tsl - an InstanceListener value
    • removeInstanceListener

      public void removeInstanceListener(InstanceListener tsl)
      Remove an instance listener
      指定者:
      removeInstanceListener 在接口中 DataSource
      参数:
      tsl - an InstanceListener value
    • connectionAllowed

      public boolean connectionAllowed(String eventName)
      Returns true if, at this time, the object will accept a connection with respect 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
      source - the source with which this object has been registered as a listener
    • stop

      public void stop()
      Stop all action if possible
      指定者:
      stop 在接口中 BeanCommon
    • isBusy

      public boolean isBusy()
      Returns true if. at this time, the bean is busy with some (i.e. perhaps a worker thread is performing some calculation).
      指定者:
      isBusy 在接口中 BeanCommon
      返回:
      true if the bean is busy.
    • setLog

      public void setLog(Logger logger)
      Set a logger
      指定者:
      setLog 在接口中 BeanCommon
      参数:
      logger - a Logger value
    • enumerateRequests

      public Enumeration enumerateRequests()
      Return an enumeration of user requests
      指定者:
      enumerateRequests 在接口中 UserRequestAcceptor
      返回:
      an Enumeration value
    • performRequest

      public void performRequest(String request)
      Perform the named request
      指定者:
      performRequest 在接口中 UserRequestAcceptor
      参数:
      request - a String value
      抛出:
      IllegalArgumentException - if an error occurs
    • eventGeneratable

      public boolean eventGeneratable(String eventName)
      Returns true, if at the current time, the named event could be generated. Assumes that supplied event names are names of events that could be generated by this bean.
      指定者:
      eventGeneratable 在接口中 EventConstraints
      参数:
      eventName - the name of the event in question
      返回:
      true if the named event could be generated at this point in time