程序包 weka.gui.beans

类 ClassValuePicker

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

public class ClassValuePicker extends JPanel implements Visible, DataSourceListener, BeanCommon, EventConstraints, Serializable, StructureProducer
版本:
$Revision: 7439 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • ClassValuePicker

      public ClassValuePicker()
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Global info for this bean
      返回:
      a String value
    • 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)
    • getStructure

      public Instances getStructure(String eventName)
      从接口复制的说明: StructureProducer
      Get the structure of the output encapsulated in the named event. If the structure can't be determined in advance of seeing input, or this StructureProducer does not generate the named event, null should be returned.
      指定者:
      getStructure 在接口中 StructureProducer
      参数:
      eventName - the name of the output event that encapsulates the requested output.
      返回:
      the structure of the output encapsulated in the named event or null if it can't be determined in advance of seeing input or the named event is not generated by this StructureProduce.
    • getConnectedFormat

      public Instances getConnectedFormat()
      Returns the structure of the incoming instances (if any)
      返回:
      an Instances value
    • setClassValue

      public void setClassValue(String value)
      Set the class value index considered to be the "positive" class value.
      参数:
      index - the class value index to use
    • getClassValue

      public String getClassValue()
      Gets the class value considered to be the "positive" class value.
      返回:
      the class value index
    • acceptDataSet

      public void acceptDataSet(DataSetEvent e)
      指定者:
      acceptDataSet 在接口中 DataSourceListener
    • addDataSourceListener

      public void addDataSourceListener(DataSourceListener tsl)
    • removeDataSourceListener

      public void removeDataSourceListener(DataSourceListener tsl)
    • addDataFormatListener

      public void addDataFormatListener(DataFormatListener dfl)
    • removeDataFormatListener

      public void removeDataFormatListener(DataFormatListener dfl)
    • setVisual

      public void setVisual(BeanVisual newVisual)
      从接口复制的说明: Visible
      Set a new visual representation
      指定者:
      setVisual 在接口中 Visible
      参数:
      newVisual - a BeanVisual value
    • getVisual

      public BeanVisual getVisual()
      从接口复制的说明: Visible
      Get the visual representation
      指定者:
      getVisual 在接口中 Visible
      返回:
      a BeanVisual value
    • useDefaultVisual

      public void useDefaultVisual()
      从接口复制的说明: Visible
      Use the default visual representation
      指定者:
      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)
      从接口复制的说明: BeanCommon
      Set a logger
      指定者:
      setLog 在接口中 BeanCommon
      参数:
      logger - a weka.gui.Logger value
    • stop

      public void stop()
      从接口复制的说明: BeanCommon
      Stop any processing that the bean might be doing.
      指定者:
      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.
    • eventGeneratable

      public boolean eventGeneratable(String eventName)
      Returns true, if at the current time, the named event could be generated. Assumes that the supplied event name is an event 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