lejos.pc.charting
Class DataItem
java.lang.Object
lejos.pc.charting.DataItem
public class DataItem
- extends java.lang.Object
Each logged data item is represented by a
DataItem
instance which provide the value as a wrapper and it's datatype.
- See Also:
DataLogger
,
DataLogger.LoggerListener#logLineAvailable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DT_BOOLEAN
public static final int DT_BOOLEAN
- See Also:
- Constant Field Values
DT_BYTE
public static final int DT_BYTE
- See Also:
- Constant Field Values
DT_SHORT
public static final int DT_SHORT
- See Also:
- Constant Field Values
DT_INTEGER
public static final int DT_INTEGER
- See Also:
- Constant Field Values
DT_LONG
public static final int DT_LONG
- See Also:
- Constant Field Values
DT_FLOAT
public static final int DT_FLOAT
- See Also:
- Constant Field Values
DT_DOUBLE
public static final int DT_DOUBLE
- See Also:
- Constant Field Values
DT_STRING
public static final int DT_STRING
- See Also:
- Constant Field Values
value
public java.lang.Object value
- The
Number
wrapper object of the datatype. Use datatype
to determine correct cast type.
datatype
public int datatype
- The datatype.
- See Also:
DT_BOOLEAN
,
DT_BYTE
,
DT_SHORT
,
DT_INTEGER
,
DT_LONG
,
DT_FLOAT
,
DT_DOUBLE
,
DT_STRING
DataItem
public DataItem()