|
||||||||||
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
public abstract class NumericCell
Numeric cell holds numeric value: double or long.
Field Summary | |
---|---|
static java.lang.String |
FORMAT
Characteristic name for string describing ANSI type of format. |
static java.lang.String |
MAXIMUM
Characteristic name for string describing maximal allowed value. |
static java.lang.String |
MINIMUM
Characteristic name for string describing minimal allowed value. |
static java.lang.String |
UNITS
Characteristic name for string describing physical units of value. |
static java.lang.String |
UNITS_VISIBLE
Characteristic name for value defining if units should be 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 | |
---|---|
NumericCell()
Constructs a new NumericCell. |
|
NumericCell(java.lang.String identifier,
java.lang.Object dataSource,
java.lang.Object value,
Command[] commands)
Constructs a new NumericCell. |
Method Summary | |
---|---|
java.lang.String |
getFormat()
Returns value of FORMAT characteristic. |
java.lang.Number |
getMaximum()
Returns value of MAXIMUM characteristic. |
java.lang.Number |
getMaximum(java.lang.Number defaultValue)
Returns value of MAXIMUM characteristic. |
java.lang.Number |
getMinimum()
Returns value of MINIMUM characteristic. |
java.lang.Number |
getMinimum(java.lang.Number defaultValue)
Returns value of MINIMUM characteristic. |
java.lang.String |
getUnits()
Returns value of UNITS characteristic. |
boolean |
isUnitsVisible()
Returns a flag if units are visible. |
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 FORMAT
public static final java.lang.String UNITS
public static final java.lang.String MINIMUM
public static final java.lang.String MAXIMUM
public static final java.lang.String UNITS_VISIBLE
Constructor Detail |
---|
public NumericCell()
public NumericCell(java.lang.String identifier, java.lang.Object dataSource, java.lang.Object value, Command[] commands)
identifier
- dataSource
- value
- commands
- Method Detail |
---|
public java.lang.String getFormat()
public java.lang.String getUnits()
public boolean isUnitsVisible()
public java.lang.Number getMinimum()
public java.lang.Number getMinimum(java.lang.Number defaultValue)
defaultValue
- DOCUMENT ME!
public java.lang.Number getMaximum()
public java.lang.Number getMaximum(java.lang.Number defaultValue)
defaultValue
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |