程序包 weka.gui.beans

类 CostBenefitAnalysis

所有已实现的接口:
ImageObserver, MenuContainer, BeanContextChild, Serializable, EventListener, Accessible, BeanCommon, ThresholdDataListener, UserRequestAcceptor, Visible

public class CostBenefitAnalysis extends JPanel implements BeanCommon, ThresholdDataListener, Visible, UserRequestAcceptor, Serializable, BeanContextChild
Bean that aids in analyzing cost/benefit tradeoffs.
版本:
$Revision: 8896 $
作者:
Mark Hall (mhall{[at]}pentaho{[dot]}com)
另请参阅:
  • 构造器详细资料

    • CostBenefitAnalysis

      public CostBenefitAnalysis()
      Constructor.
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Global info for this bean
      返回:
      a String value
    • acceptDataSet

      public void acceptDataSet(ThresholdDataEvent e)
      Accept a threshold data event and set up the visualization.
      指定者:
      acceptDataSet 在接口中 ThresholdDataListener
      参数:
      e - a threshold data event
    • setCurveData

      public void setCurveData(PlotData2D curveData, Attribute origClassAtt) throws Exception
      Set the threshold curve data to use.
      参数:
      curveData - a PlotData2D object set up with the curve data.
      origClassAtt - the class attribute from the original data used to generate the curve.
      抛出:
      Exception - if somthing goes wrong during the setup process.
    • getVisual

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

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

      public void useDefaultVisual()
      从接口复制的说明: Visible
      Use the default visual representation
      指定者:
      useDefaultVisual 在接口中 Visible
    • enumerateRequests

      public Enumeration enumerateRequests()
      从接口复制的说明: UserRequestAcceptor
      Get a list of performable requests
      指定者:
      enumerateRequests 在接口中 UserRequestAcceptor
      返回:
      an Enumeration value
    • performRequest

      public void performRequest(String request)
      从接口复制的说明: UserRequestAcceptor
      Perform the named request
      指定者:
      performRequest 在接口中 UserRequestAcceptor
      参数:
      request - a String value
    • addVetoableChangeListener

      public void addVetoableChangeListener(String name, VetoableChangeListener vcl)
      指定者:
      addVetoableChangeListener 在接口中 BeanContextChild
    • getBeanContext

      public BeanContext getBeanContext()
      指定者:
      getBeanContext 在接口中 BeanContextChild
    • removeVetoableChangeListener

      public void removeVetoableChangeListener(String name, VetoableChangeListener vcl)
      指定者:
      removeVetoableChangeListener 在接口中 BeanContextChild
    • setBeanContext

      public void setBeanContext(BeanContext bc) throws PropertyVetoException
      指定者:
      setBeanContext 在接口中 BeanContextChild
      抛出:
      PropertyVetoException
    • connectionAllowed

      public boolean connectionAllowed(String eventName)
      Returns true if, at this time, the object will accept a connection via the named event
      指定者:
      connectionAllowed 在接口中 BeanCommon
      参数:
      eventName - the name of the event in question
      返回:
      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 for recieving events described by the named event This object is responsible for recording this fact.
      指定者:
      connectionNotification 在接口中 BeanCommon
      参数:
      eventName - the event
      source - the source with which this object has been registered as a listener
    • 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
    • disconnectionNotification

      public void disconnectionNotification(String eventName, Object source)
      Notify this object that it has been deregistered as a listener with a source for named event. This object is responsible for recording this fact.
      指定者:
      disconnectionNotification 在接口中 BeanCommon
      参数:
      eventName - the event
      source - the source with which this object has been registered as a listener
    • 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)
    • 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.
    • 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 weka.gui.Logger value
    • stop

      public void stop()
      Stop any processing that the bean might be doing.
      指定者:
      stop 在接口中 BeanCommon
    • main

      public static void main(String[] args)