程序包 weka.gui.beans

类 InstanceStreamToBatchMaker

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, BeanCommon, DataSource, EventConstraints, InstanceListener, Visible

public class InstanceStreamToBatchMaker extends JPanel implements BeanCommon, Visible, InstanceListener, EventConstraints, DataSource
Bean that converts an instance stream into a (batch) data set. Useful in conjunction with the Reservoir sampling filter.
版本:
$Revision: 7059 $
作者:
Mark Hall (mhall{[at]}pentaho{[dot]}com)
另请参阅:
  • 构造器详细资料

    • InstanceStreamToBatchMaker

      public InstanceStreamToBatchMaker()
  • 方法详细资料

    • acceptInstance

      public void acceptInstance(InstanceEvent e)
      Accept an instance to add to the batch.
      指定者:
      acceptInstance 在接口中 InstanceListener
      参数:
      e - an InstanceEvent value
    • 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 with respect to the named event
      指定者:
      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 named event
      指定者:
      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
    • eventGeneratable

      public boolean eventGeneratable(String eventName)
      Returns true if, at the current time, the named event could be generated.
      指定者:
      eventGeneratable 在接口中 EventConstraints
      参数:
      eventName - the name of the event in question
      返回:
      true if the named event could be generated
    • 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)
    • setCustomName

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

      public void setLog(Logger logger)
      Set a logger
      指定者:
      setLog 在接口中 BeanCommon
      参数:
      logger - a Logger value
    • 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.
    • stop

      public void stop()
      Stop any action (if possible).
      指定者:
      stop 在接口中 BeanCommon
    • getVisual

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

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

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

      public void addDataSourceListener(DataSourceListener tsl)
      从接口复制的说明: DataSource
      Add a data source listener
      指定者:
      addDataSourceListener 在接口中 DataSource
      参数:
      tsl - a DataSourceListener value
    • removeDataSourceListener

      public void removeDataSourceListener(DataSourceListener tsl)
      从接口复制的说明: DataSource
      Remove a data source listener
      指定者:
      removeDataSourceListener 在接口中 DataSource
      参数:
      tsl - a DataSourceListener value
    • addInstanceListener

      public void addInstanceListener(InstanceListener il)
      从接口复制的说明: DataSource
      Add an instance listener
      指定者:
      addInstanceListener 在接口中 DataSource
      参数:
      il - an InstanceListener value
    • removeInstanceListener

      public void removeInstanceListener(InstanceListener il)
      从接口复制的说明: DataSource
      Remove an instance listener
      指定者:
      removeInstanceListener 在接口中 DataSource
      参数:
      il - an InstanceListener value