All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.gui.beans.StripChart
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.JPanel
|
+----weka.gui.beans.StripChart
- public class StripChart
- extends javax.swing.JPanel
- implements ChartListener, Visible, BeanCommon, UserRequestAcceptor, java.io.Serializable
Bean that can display a horizontally scrolling strip chart. Can
display multiple plots simultaneously
- Version:
- $Revision: 1.7 $
- Author:
- Mark Hall
StripChart()
-
acceptDataPoint(ChartEvent)
- Accept a data point (encapsulated in a chart event) to plot
acceptDataPoint(double[])
- Accept a data point to plot
connectionAllowed(String)
- Returns true if, at this time,
the object will accept a connection via the named event
connectionNotification(String, Object)
- 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.
disconnectionNotification(String, Object)
- Notify this object that it has been deregistered as a listener with
a source for named event.
enumerateRequests()
- Describe
enumerateRequests method here.
getRefreshFreq()
- Get the refresh frequency
getVisual()
- Get the visual appearance of this bean
getXLabelFreq()
- Get the frequency by which x axis values are printed
main(String[])
- Tests out the StripChart from the command line
performRequest(String)
- Describe
performRequest method here.
refreshFreqTipText()
- GUI Tip text
setLog(Logger)
- Set a logger
setRefreshFreq(int)
- Set how often (in x axis points) to refresh the display
setVisual(BeanVisual)
- Set the visual appearance of this bean
setXLabelFreq(int)
- Set the frequency for printing x label values
showChart()
- Popup the chart panel
stop()
- Stop any processing that the bean might be doing.
useDefaultVisual()
- Use the default visual appearance for this bean
xLabelFreqTipText()
- GUI Tip text
StripChart
public StripChart()
xLabelFreqTipText
public java.lang.String xLabelFreqTipText()
GUI Tip text
- Returns:
- a
String value
setXLabelFreq
public void setXLabelFreq(int freq)
Set the frequency for printing x label values
- Parameters:
freq - an int value
getXLabelFreq
public int getXLabelFreq()
Get the frequency by which x axis values are printed
- Returns:
- an
int value
refreshFreqTipText
public java.lang.String refreshFreqTipText()
GUI Tip text
- Returns:
- a
String value
setRefreshFreq
public void setRefreshFreq(int freq)
Set how often (in x axis points) to refresh the display
- Parameters:
freq - an int value
getRefreshFreq
public int getRefreshFreq()
Get the refresh frequency
- Returns:
- an
int value
showChart
public void showChart()
Popup the chart panel
acceptDataPoint
public void acceptDataPoint(ChartEvent e)
Accept a data point (encapsulated in a chart event) to plot
- Parameters:
e - a ChartEvent value
acceptDataPoint
public void acceptDataPoint(double dataPoint[])
Accept a data point to plot
- Parameters:
dataPoint - a double[] value
setVisual
public void setVisual(BeanVisual newVisual)
Set the visual appearance of this bean
- Parameters:
newVisual - a BeanVisual value
getVisual
public BeanVisual getVisual()
Get the visual appearance of this bean
useDefaultVisual
public void useDefaultVisual()
Use the default visual appearance for this bean
stop
public void stop()
Stop any processing that the bean might be doing.
setLog
public void setLog(Logger logger)
Set a logger
- Parameters:
logger - a weka.gui.Logger value
connectionAllowed
public boolean connectionAllowed(java.lang.String eventName)
Returns true if, at this time,
the object will accept a connection via the named event
- Parameters:
eventName - the name of the event
- Returns:
- true if the object will accept a connection
connectionNotification
public 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.
- Parameters:
eventName - the event
source - the source with which this object has been registered as
a listener
disconnectionNotification
public 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. This object is responsible
for recording this fact.
- Parameters:
eventName - the event
source - the source with which this object has been registered as
a listener
enumerateRequests
public java.util.Enumeration enumerateRequests()
Describe enumerateRequests method here.
- Returns:
- an
Enumeration value
performRequest
public void performRequest(java.lang.String request)
Describe performRequest method here.
- Parameters:
request - a String value
- Throws:
- java.lang.IllegalArgumentException - if an error occurs
main
public static void main(java.lang.String args[])
Tests out the StripChart from the command line
- Parameters:
args - ignored
All Packages Class Hierarchy This Package Previous Next Index WEKA's home