|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
weka.gui.beans.AbstractTestSetProducer
public abstract class AbstractTestSetProducer
Abstract class for TestSetProducers that contains default implementations of add/remove listener methods and defualt visual representation.
TestSetProducer,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AbstractTestSetProducer()
Creates a new AbstractTestSetProducer instance. |
|
| Method Summary | |
|---|---|
void |
addTestSetListener(TestSetListener tsl)
Add a listener for test sets |
boolean |
connectionAllowed(EventSetDescriptor esd)
Returns true if, at this time, the object will accept a connection according to the supplied EventSetDescriptor |
boolean |
connectionAllowed(String eventName)
Returns true if, at this time, the object will accept a connection according to the supplied event name |
void |
connectionNotification(String eventName,
Object source)
Notify this object that it has been registered as a listener with a source with respect to the supplied event name |
void |
disconnectionNotification(String eventName,
Object source)
Notify this object that it has been deregistered as a listener with a source with respect to the supplied event name |
BeanVisual |
getVisual()
Get the visual for this bean |
void |
removeTestSetListener(TestSetListener tsl)
Remove a listener for test sets |
void |
setLog(Logger logger)
Set a logger |
void |
setVisual(BeanVisual newVisual)
Set the visual for this bean |
abstract void |
stop()
Stop any processing that the bean might be doing. |
void |
useDefaultVisual()
Use the default visual for this bean |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface weka.gui.beans.BeanCommon |
|---|
getCustomName, isBusy, setCustomName |
| Constructor Detail |
|---|
public AbstractTestSetProducer()
AbstractTestSetProducer instance.
| Method Detail |
|---|
public void addTestSetListener(TestSetListener tsl)
addTestSetListener in interface TestSetProducertsl - a TestSetListener valuepublic void removeTestSetListener(TestSetListener tsl)
removeTestSetListener in interface TestSetProducertsl - a TestSetListener valuepublic void setVisual(BeanVisual newVisual)
setVisual in interface VisiblenewVisual - a BeanVisual valuepublic BeanVisual getVisual()
getVisual in interface VisibleBeanVisual valuepublic void useDefaultVisual()
useDefaultVisual in interface Visiblepublic boolean connectionAllowed(String eventName)
connectionAllowed in interface BeanCommoneventName - the event name
public boolean connectionAllowed(EventSetDescriptor esd)
connectionAllowed in interface BeanCommonesd - the EventSetDescriptor
public void connectionNotification(String eventName,
Object source)
connectionNotification in interface BeanCommoneventName - the event namesource - the source with which this object has been registered as
a listener
public void disconnectionNotification(String eventName,
Object source)
disconnectionNotification in interface BeanCommoneventName - the event namesource - the source with which this object has been registered as
a listenerpublic void setLog(Logger logger)
setLog in interface BeanCommonlogger - a weka.gui.Logger valuepublic abstract void stop()
stop in interface BeanCommon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||