| weka.gui.beans.BeanCommon
All known Subclasses: weka.gui.beans.Filter, weka.gui.beans.MetaBean, weka.gui.beans.AbstractTestSetProducer, weka.gui.beans.StripChart, weka.gui.beans.AbstractDataSink, weka.gui.beans.Classifier, weka.gui.beans.AbstractEvaluator, weka.gui.beans.AbstractTrainingSetProducer, weka.gui.beans.Clusterer, weka.gui.beans.Associator, weka.gui.beans.AbstractTrainAndTestSetProducer, weka.gui.beans.ClassAssigner, weka.gui.beans.PredictionAppender, weka.gui.beans.ClassValuePicker,
BeanCommon | public interface BeanCommon (Code) | | Interface specifying routines that all weka beans should implement
in order to allow the bean environment to exercise some control over the
bean and also to allow the bean to excercise some control over connections.
Beans may want to impose constraints in terms of
the number of connections they will allow via a particular
listener interface. Some beans may only want to be registered
as a listener for a particular event type with only one source, or
perhaps a limited number of sources.
author: Mark Hall version: $Revision: 1.3 $ since: 1.0 |
connectionAllowed | boolean connectionAllowed(EventSetDescriptor esd)(Code) | | Returns true if, at this time,
the object will accept a connection via the supplied
EventSetDescriptor
Parameters: esd - the EventSetDescriptor true if the object will accept a connection |
connectionAllowed | boolean connectionAllowed(String eventName)(Code) | | Returns true if, at this time,
the object will accept a connection via the named event
Parameters: eventName - the name of the event true if the object will accept a connection |
connectionNotification | void connectionNotification(String eventName, Object source)(Code) | | 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.
Parameters: eventName - the event Parameters: source - the source with which this object has been registered asa listener |
disconnectionNotification | void disconnectionNotification(String eventName, Object source)(Code) | | 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.
Parameters: eventName - the event Parameters: source - the source with which this object has been registered asa listener |
setLog | void setLog(weka.gui.Logger logger)(Code) | | Set a logger
Parameters: logger - a weka.gui.Logger value |
stop | void stop()(Code) | | Stop any processing that the bean might be doing.
|
|
|