|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.gui.components.table.cells.TableCell
com.cosylab.gui.components.table.cells.DeviceCell
public class DeviceCell
DeviceCell holds place for device: an entitiy providion identifier and possibly commands.
| 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 | |
|---|---|
DeviceCell()
Constructs a new DeviceCell. |
|
DeviceCell(java.lang.String identifier,
java.lang.Object dataSource,
java.lang.Object value,
Command[] commands)
Constructs a new DeviceCell. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
isHighlightCell()
Returnst true if this cell is highlighted (selected). |
void |
setHighlightCell(boolean cellSelected)
Highlights this cell. |
java.lang.String |
toString()
Returns identifier. |
| Methods inherited from class com.cosylab.gui.components.table.cells.TableCell |
|---|
addSupportedCharacteristic, getCharacteristic, getCharacteristic, getCharacteristics, getCommands, getDataSource, getIdentifier, getSupportedCharacteristics, getTimestamp, getTooltip, getValue, isAlarm, isError, isOutOfBounds, isSuspended, isTimeout, isWarning, putAllCharacteristics, putCharacteristic, removeSupportedCharacteristic, setTimestamp, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeviceCell()
public DeviceCell(java.lang.String identifier,
java.lang.Object dataSource,
java.lang.Object value,
Command[] commands)
identifier - dataSource - value - commands - | Method Detail |
|---|
public java.lang.String toString()
toString in class TableCellTableCell.toString()public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparablecompareTo in class TableCellpublic boolean isHighlightCell()
public void setHighlightCell(boolean cellSelected)
cellSelected -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||