public interface BeanCommon
| Modifier and Type | Method and Description |
|---|---|
boolean |
connectionAllowed(EventSetDescriptor esd)
Returns true if, at this time,
the object will accept a connection via the named event
|
boolean |
connectionAllowed(String eventName)
Returns true if, at this time,
the object will accept a connection via the named event
|
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.
|
void |
disconnectionNotification(String eventName,
Object source)
Notify this object that it has been deregistered as a listener with
a source for named event.
|
String |
getCustomName()
Get the custom (descriptive) name for this bean (if one has been set)
|
boolean |
isBusy()
Returns true if.
|
void |
setCustomName(String name)
Set a custom (descriptive) name for this bean
|
void |
setLog(Logger logger)
Set a logger
|
void |
stop()
Stop any processing that the bean might be doing.
|
void setCustomName(String name)
name - the name to useString getCustomName()
void stop()
boolean isBusy()
void setLog(Logger logger)
logger - a weka.gui.Logger valueboolean connectionAllowed(EventSetDescriptor esd)
esd - the EventSetDescriptor for the event in questionboolean connectionAllowed(String eventName)
eventName - the name of the eventvoid connectionNotification(String eventName, Object source)
eventName - the eventsource - the source with which this object has been registered as
a listenervoid disconnectionNotification(String eventName, Object source)
eventName - the eventsource - the source with which this object has been registered as
a listenerCopyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.