public interface BeanCommon
Modifier and Type | Method and Description |
---|---|
boolean |
connectionAllowed(java.beans.EventSetDescriptor esd)
Returns true if, at this time,
the object will accept a connection via the supplied
EventSetDescriptor
|
boolean |
connectionAllowed(java.lang.String eventName)
Returns true if, at this time,
the object will accept a connection via the named event
|
void |
connectionNotification(java.lang.String eventName,
java.lang.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(java.lang.String eventName,
java.lang.Object source)
Notify this object that it has been deregistered as a listener with
a source for named event.
|
java.lang.String |
getCustomName()
Get the custom (descriptive) name for this bean (if one has been set)
|
boolean |
isBusy()
Returns true if.
|
void |
setCustomName(java.lang.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(java.lang.String name)
name
- the name to usejava.lang.String getCustomName()
void stop()
boolean isBusy()
void setLog(Logger logger)
logger
- a weka.gui.Logger
valueboolean connectionAllowed(java.beans.EventSetDescriptor esd)
esd
- the EventSetDescriptorboolean connectionAllowed(java.lang.String eventName)
eventName
- the name of the eventvoid connectionNotification(java.lang.String eventName, java.lang.Object source)
eventName
- the eventsource
- the source with which this object has been registered as
a listenervoid disconnectionNotification(java.lang.String eventName, java.lang.Object source)
eventName
- the eventsource
- the source with which this object has been registered as
a listener