|
||||||||||
| 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.AbstractDataSink
public abstract class AbstractDataSink
Abstract class for objects that store instances to some destination.
JPanel,
Serializable,
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 | |
|---|---|
AbstractDataSink()
|
|
| Method Summary | |
|---|---|
abstract void |
acceptDataSet(DataSetEvent e)
Accept a data set |
abstract void |
acceptDataSet(ThresholdDataEvent e)
Accept a threshold data set |
abstract void |
acceptInstance(InstanceEvent e)
Accept an instance |
abstract void |
acceptTestSet(TestSetEvent e)
Accept a test set |
abstract void |
acceptTrainingSet(TrainingSetEvent e)
Accept a training set |
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 being used by this data source. |
void |
setLog(Logger logger)
Set a log for this bean |
void |
setVisual(BeanVisual newVisual)
Set the visual for this data source |
abstract void |
stop()
Stop any processing that the bean might be doing. |
void |
useDefaultVisual()
Use the default images for a data source |
| 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 AbstractDataSink()
| Method Detail |
|---|
public abstract void acceptTrainingSet(TrainingSetEvent e)
acceptTrainingSet in interface TrainingSetListenere - a TrainingSetEvent valuepublic abstract void acceptTestSet(TestSetEvent e)
acceptTestSet in interface TestSetListenere - a TestSetEvent valuepublic abstract void acceptDataSet(DataSetEvent e)
acceptDataSet in interface DataSourceListenere - a DataSetEvent valuepublic abstract void acceptDataSet(ThresholdDataEvent e)
acceptDataSet in interface ThresholdDataListenere - a ThresholdDataEvent valuepublic abstract void acceptInstance(InstanceEvent e)
acceptInstance in interface InstanceListenere - an InstanceEvent 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(EventSetDescriptor esd)
connectionAllowed in interface BeanCommonesd - the EventSetDescriptor
public boolean connectionAllowed(String eventName)
connectionAllowed in interface BeanCommoneventName - the event
public void connectionNotification(String eventName,
Object source)
connectionNotification in interface BeanCommoneventName - the eventsource - the source with which this object has been registered as
a listener
public void disconnectionNotification(String eventName,
Object source)
disconnectionNotification in interface BeanCommoneventName - the eventsource - 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 | |||||||||