DESY ACOP Beans Home

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

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.LongCell
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
LongEnumCell, PatternCell

public class LongCell
extends NumericCell

LongCell holds long type of 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
LongCell()
          Constructs a new LongCell object.
LongCell(java.lang.String identifier, java.lang.Object dataSource, long value, Command[] commands)
          Constructs a new LongCell object.
 
Method Summary
 long getLongValue()
          Returnst the long value of this cell.
 void setValue(long newValue)
          Sets the long 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

LongCell

public LongCell()
Constructs a new LongCell object.


LongCell

public LongCell(java.lang.String identifier,
                java.lang.Object dataSource,
                long value,
                Command[] commands)
Constructs a new LongCell object.

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

getLongValue

public long getLongValue()
Returnst the long value of this cell.

Returns:
the value

setValue

public void setValue(long newValue)
Sets the long value to this cell.

Parameters:
newValue - new long value


Copyright © 2010. All Rights Reserved.