All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.gui.beans.AbstractEvaluator
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.JPanel
|
+----weka.gui.beans.AbstractEvaluator
- public abstract class AbstractEvaluator
- extends javax.swing.JPanel
- implements Visible, BeanCommon, java.io.Serializable
Abstract class for objects that can provide some kind of evaluation for
classifier, clusterers etc.
- Since:
- 1.0
- Version:
- $Revision: 1.2 $
- Author:
- Mark Hall
- See Also:
- javax.swing.JPanel, Visible, java.io.Serializable
AbstractEvaluator()
- Constructor
connectionAllowed(String)
- Returns true if, at this time,
the object will accept a connection according to the supplied
event name
connectionNotification(String, Object)
- Notify this object that it has been registered as a listener with
a source with respect to the supplied event name
disconnectionNotification(String, Object)
- Notify this object that it has been deregistered as a listener with
a source with respect to the supplied event named
getVisual()
- Get the visual
setLog(Logger)
- Set a logger
setVisual(BeanVisual)
- Set the visual
stop()
- Stop any processing that the bean might be doing.
useDefaultVisual()
- Use the default images for an evaluator
AbstractEvaluator
public AbstractEvaluator()
Constructor
setVisual
public void setVisual(BeanVisual newVisual)
Set the visual
- Parameters:
newVisual - a BeanVisual value
getVisual
public BeanVisual getVisual()
Get the visual
- Returns:
- a
BeanVisual value
useDefaultVisual
public void useDefaultVisual()
Use the default images for an evaluator
connectionAllowed
public boolean connectionAllowed(java.lang.String eventName)
Returns true if, at this time,
the object will accept a connection according to the supplied
event name
- Parameters:
eventName - the event name
- Returns:
- true if the object will accept a connection
connectionNotification
public void connectionNotification(java.lang.String eventName,
java.lang.Object source)
Notify this object that it has been registered as a listener with
a source with respect to the supplied event name
- Parameters:
eventName - the event name
source - the source with which this object has been registered as
a listener
disconnectionNotification
public void disconnectionNotification(java.lang.String eventName,
java.lang.Object source)
Notify this object that it has been deregistered as a listener with
a source with respect to the supplied event named
- Parameters:
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
- Parameters:
logger - a weka.gui.Logger value
stop
public abstract void stop()
Stop any processing that the bean might be doing.
Subclass must implement
All Packages Class Hierarchy This Package Previous Next Index WEKA's home