edu.davidson.tools
Class SDataConnection

java.lang.Object
  |
  +--edu.davidson.tools.SDataConnection

public class SDataConnection
extends java.lang.Object


Constructor Summary
SDataConnection(SDataSource ds, SDataListener dl, int series, java.lang.String xStr, java.lang.String yStr)
           
 
Method Summary
 void clearData()
           
 void deleteData()
           
 SDataListener getDataListener()
           
 SDataSource getDataSource()
           
 void registerDatum()
           
 void setSmooth(int s)
          Smooth the data being sent to the data connection.
 void setStride(int s)
          Set the stride of being sent to the data connection.
 boolean setXStr(java.lang.String s)
           
 boolean setYStr(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDataConnection

public SDataConnection(SDataSource ds,
                       SDataListener dl,
                       int series,
                       java.lang.String xStr,
                       java.lang.String yStr)
Method Detail

setSmooth

public void setSmooth(int s)
Smooth the data being sent to the data connection.

setStride

public void setStride(int s)
Set the stride of being sent to the data connection. If stride =1 -> all data is sent. If stride =2 -> every other data is sent.
Parameters:
s - int The stride.

setXStr

public boolean setXStr(java.lang.String s)

setYStr

public boolean setYStr(java.lang.String s)

registerDatum

public void registerDatum()

clearData

public void clearData()

deleteData

public void deleteData()

getDataSource

public final SDataSource getDataSource()

getDataListener

public final SDataListener getDataListener()

Copyright Wolfgang Christian

Visit the Davidson CollegeSTools Documentation Page