DESY ACOP Beans Home

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

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

public class BooleanCell
extends TableCell

BooleanCell encapsulates boolean value.

Version:
$id$
Author:
Igor Kriznar

Field Summary
 
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
BooleanCell()
           
BooleanCell(java.lang.String identifier, java.lang.Object dataSource, boolean value, Command[] commands)
          Constructs a new BooleanCell.
 
Method Summary
 boolean getBooleanValue()
          Returns the boolean value displayed inside the cell.
 void setBooleanValue(boolean value)
          Sets the boolean value to the cell.
 
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

BooleanCell

public BooleanCell()

BooleanCell

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

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

getBooleanValue

public boolean getBooleanValue()
Returns the boolean value displayed inside the cell.

Returns:
the boolean value

setBooleanValue

public void setBooleanValue(boolean value)
Sets the boolean value to the cell.

Parameters:
value - new boolean value


Copyright © 2010. All Rights Reserved.