DESY ACOP Beans Home

com.cosylab.gui.components.table.cells
Class DoubleCell

java.lang.Object
  extended by com.cosylab.gui.components.table.cells.TableCell
      extended by com.cosylab.gui.components.table.cells.NumericCell
          extended by com.cosylab.gui.components.table.cells.DoubleCell
All Implemented Interfaces:
java.lang.Comparable

public class DoubleCell
extends NumericCell

DobubleCell holds double value.

Version:
$id$
Author:
Igor Kriznar

Field Summary
 
Fields inherited from class com.cosylab.gui.components.table.cells.NumericCell
FORMAT, MAXIMUM, MINIMUM, UNITS, UNITS_VISIBLE
 
Fields inherited from class com.cosylab.gui.components.table.cells.TableCell
ALARM, commands, dataSource, ERROR, identifier, OUT_OF_BOUNDS, SEVERITY, SUSPENDED, TIMEOUT, timestamp, TOOLTIP, value, WARNING
 
Constructor Summary
DoubleCell()
          Constructs a new DoubleCell.
DoubleCell(java.lang.String identifier, java.lang.Object dataSource, double value, Command[] commands)
          Constructs a new DoubleCell.
 
Method Summary
 double getDoubleValue()
          Returns the cell's double value.
 void setDoubleValue(double value)
          Sets a double value to this cell.
 
Methods inherited from class com.cosylab.gui.components.table.cells.NumericCell
getFormat, getMaximum, getMaximum, getMinimum, getMinimum, getUnits, isUnitsVisible
 
Methods inherited from class com.cosylab.gui.components.table.cells.TableCell
addSupportedCharacteristic, compareTo, getCharacteristic, getCharacteristic, getCharacteristics, getCommands, getDataSource, getIdentifier, getSupportedCharacteristics, getTimestamp, getTooltip, getValue, isAlarm, isError, isOutOfBounds, isSuspended, isTimeout, isWarning, putAllCharacteristics, putCharacteristic, removeSupportedCharacteristic, setTimestamp, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleCell

public DoubleCell()
Constructs a new DoubleCell.


DoubleCell

public DoubleCell(java.lang.String identifier,
                  java.lang.Object dataSource,
                  double value,
                  Command[] commands)
Constructs a new DoubleCell.

Parameters:
identifier -
dataSource -
value -
commands -
Method Detail

getDoubleValue

public double getDoubleValue()
Returns the cell's double value.

Returns:

setDoubleValue

public void setDoubleValue(double value)
Sets a double value to this cell.

Parameters:
value - new value


Copyright © 2010. All Rights Reserved.