|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.desy.acop.displayers.table.AcopTableColumn de.desy.acop.displayers.table.AcopNumericTableColumn
public class AcopNumericTableColumn
Table column for presenting numerical values.
Field Summary | |
---|---|
protected double[] |
rows
|
static java.lang.String[] |
SUPPORTED_CHARACTERISTICS
|
static java.lang.Class[] |
SUPPORTED_CONSUMER_TYPES
|
Fields inherited from class de.desy.acop.displayers.table.AcopTableColumn |
---|
cells, characteristics, dataState, displayerParameters, rowCount, table |
Constructor Summary | |
---|---|
AcopNumericTableColumn()
Constructs new AcopNumericTableColumn. |
|
AcopNumericTableColumn(AcopTable table,
java.lang.String uniqueName,
java.lang.String shortName)
Constructs new AcopNumericTableColumn object. |
Method Summary | |
---|---|
java.lang.Class<?> |
getColumnClass()
Returns the class of the objects that this column presents. |
java.lang.String[] |
getSupportedCharacteristics()
Resturns array with names of supported characteristics. |
java.lang.Class<DataConsumer>[] |
getSupportedConsumerTypes()
Returns array of supported data consumer types, which can be used as parameter and returnned with getDataCosnumer(Class)
method. |
java.lang.Object |
getValue(int rowIndex)
Returns the value at specified row. |
void |
updateValue(long timestamp,
double[] value)
Notifys this consumer about new dynamic value update. |
Methods inherited from class de.desy.acop.displayers.table.AcopTableColumn |
---|
addTableColumnListener, destroy, fireColumnChanged, getDataConsumer, getDataState, getDefaultDataConsumer, getDisplayerParameters, getHeaderName, getName, getRowCount, removeTableColumnListener, setCharacteristics, setCharacteristicsOnCell, setDataStateOnCell, setDisplayerParameters, setRowCount, updateDataState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cosylab.gui.displayers.DataConsumer |
---|
getDataConsumer, getDefaultDataConsumer, getName, setCharacteristics, updateDataState |
Field Detail |
---|
public static final java.lang.Class[] SUPPORTED_CONSUMER_TYPES
public static final java.lang.String[] SUPPORTED_CHARACTERISTICS
protected double[] rows
Constructor Detail |
---|
public AcopNumericTableColumn()
public AcopNumericTableColumn(AcopTable table, java.lang.String uniqueName, java.lang.String shortName)
table
- parent tableuniqueName
- unique name of the columnshortName
- short name of the columnMethod Detail |
---|
public java.lang.Class<?> getColumnClass()
AcopTableColumn
getColumnClass
in class AcopTableColumn
public java.lang.String[] getSupportedCharacteristics()
DataConsumer
null
is returned, than
consumer expect all existing characteristics from data source.
getSupportedCharacteristics
in interface DataConsumer
public java.lang.Class<DataConsumer>[] getSupportedConsumerTypes()
DataConsumer
getDataCosnumer(Class)
method.
getSupportedConsumerTypes
in interface DataConsumer
public void updateValue(long timestamp, double[] value) throws CommonException
DoubleSeqConsumer
updateValue
in interface DoubleSeqConsumer
timestamp
- the time of dynamic value eventvalue
- new value
CommonException
public java.lang.Object getValue(int rowIndex)
AcopTableColumn
getValue
in class AcopTableColumn
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |