|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.gui.components.table.cells.TableCell com.cosylab.gui.components.table.cells.NumericCell com.cosylab.gui.components.table.cells.LongCell com.cosylab.gui.components.table.cells.PatternCell
public class PatternCell
PatternCell describes pattern of bits.
Field Summary | |
---|---|
static java.lang.String |
COLORS_WHEN_OFF
Characteristic name for array with colors which are used when bit in value is 0. |
static java.lang.String |
COLORS_WHEN_ON
Characteristic name for array with colors which are used when bit in value is 1. |
static java.lang.String |
DESCRIPTIONS
Characteristic name for array with description strings for each pattern bit. |
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 | |
---|---|
PatternCell()
Constructs a new PatternCell. |
|
PatternCell(java.lang.String identifier,
java.lang.Object dataSource,
long value,
Command[] commands)
Constructs a new PatternCell. |
Method Summary | |
---|---|
java.awt.Color[] |
getColorsWhenOff()
Returns value of COLORS_WHEN_OFF characteristic. |
java.awt.Color[] |
getColorsWhenOn()
Returns value of COLORS_WHEN_ON characteristic. |
java.lang.String[] |
getDescriptions()
Returns value of DESCRIPTIONS characteristic. |
Methods inherited from class com.cosylab.gui.components.table.cells.LongCell |
---|
getLongValue, setValue |
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 |
Field Detail |
---|
public static final java.lang.String COLORS_WHEN_ON
public static final java.lang.String COLORS_WHEN_OFF
public static final java.lang.String DESCRIPTIONS
Constructor Detail |
---|
public PatternCell()
public PatternCell(java.lang.String identifier, java.lang.Object dataSource, long value, Command[] commands)
identifier
- dataSource
- value
- commands
- Method Detail |
---|
public java.awt.Color[] getColorsWhenOn()
public java.awt.Color[] getColorsWhenOff()
public java.lang.String[] getDescriptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |