jcckit.data
Interface DataElement

All Known Implementing Classes:
DataCurve, DataPoint

public interface DataElement

Interface for all kinds of data elements.

Author:
Franz-Josef Elmer

Method Summary
 DataContainer getContainer()
          Returns the container containing this element.
 void setContainer(DataContainer container)
          Sets the container which should contain this element.
 

Method Detail

getContainer

public DataContainer getContainer()
Returns the container containing this element.

Returns:
null if this element is not an element of a container.

setContainer

public void setContainer(DataContainer container)
Sets the container which should contain this element. This method should not used outside DataContainer..

Parameters:
container - Container which should contains this element. Cann be null if this element does not belong to a container.