|
||||||||||
| 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.InstanceStreamToBatchMaker
@KFStep(category="Tools",
toolTipText="Converts an incoming instance stream into a data set batch")
public class InstanceStreamToBatchMakerBean that converts an instance stream into a (batch) data set. Useful in conjunction with the Reservoir sampling filter.
| 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 | |
|---|---|
InstanceStreamToBatchMaker()
|
|
| Method Summary | |
|---|---|
void |
acceptInstance(InstanceEvent e)
Accept an instance to add to the batch. |
void |
addDataSourceListener(DataSourceListener tsl)
Add a data source listener |
void |
addInstanceListener(InstanceListener il)
Add an instance listener |
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 with respect to the named event |
void |
connectionNotification(String eventName,
Object source)
Notify this object that it has been registered as a listener with a source with respect to the named event |
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 |
boolean |
eventGeneratable(String eventName)
Returns true if, at the current time, the named event could be generated. |
String |
getCustomName()
Get the custom (descriptive) name for this bean (if one has been set) |
BeanVisual |
getVisual()
Gets the visual appearance of this wrapper bean |
boolean |
isBusy()
Returns true if. |
void |
removeDataSourceListener(DataSourceListener tsl)
Remove a data source listener |
void |
removeInstanceListener(InstanceListener il)
Remove an instance listener |
void |
setCustomName(String name)
Set a custom (descriptive) name for this bean |
void |
setLog(Logger logger)
Set a logger |
void |
setVisual(BeanVisual newVisual)
Sets the visual appearance of this wrapper bean |
void |
stop()
Stop any action (if possible). |
void |
useDefaultVisual()
Use the default visual appearance 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 |
| Constructor Detail |
|---|
public InstanceStreamToBatchMaker()
| Method Detail |
|---|
public void acceptInstance(InstanceEvent e)
acceptInstance in interface InstanceListenere - an InstanceEvent valuepublic 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 boolean eventGeneratable(String eventName)
eventGeneratable in interface EventConstraintseventName - the name of the event in question
public String getCustomName()
getCustomName in interface BeanCommonpublic void setCustomName(String name)
setCustomName in interface BeanCommonname - the name to usepublic void setLog(Logger logger)
setLog in interface BeanCommonlogger - a Logger valuepublic boolean isBusy()
isBusy in interface BeanCommonpublic void stop()
stop in interface BeanCommonpublic BeanVisual getVisual()
getVisual in interface VisibleBeanVisual valuepublic void setVisual(BeanVisual newVisual)
setVisual in interface VisiblenewVisual - a BeanVisual valuepublic void useDefaultVisual()
useDefaultVisual in interface Visiblepublic void addDataSourceListener(DataSourceListener tsl)
DataSource
addDataSourceListener in interface DataSourcetsl - a DataSourceListener valuepublic void removeDataSourceListener(DataSourceListener tsl)
DataSource
removeDataSourceListener in interface DataSourcetsl - a DataSourceListener valuepublic void addInstanceListener(InstanceListener il)
DataSource
addInstanceListener in interface DataSourceil - an InstanceListener valuepublic void removeInstanceListener(InstanceListener il)
DataSource
removeInstanceListener in interface DataSourceil - an InstanceListener value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||