The DataCell object provides information about a particular position on a terminal screen.
Table 5-18 DataCell
METHODS |
|
---|---|
getPosition() |
Returns the position of this data cell on the screen. Returns {Position} the position of the data cell on the screen |
getChar() |
Obtains the character associated with the cell. Returns {String} The character associated with the cell. |
getAttributes() |
Returns the set of attributes specified for this data cell instance. See AttributeSet. Returns {AttributeSet}Of attributes for this data cell instance. |
getForegroundColor() |
Returns the foreground color, as defined in the Color object, for this data cell. Returns {Number}Foreground color for this data cell. The color is defined in the Color object. |
getBackgroundColor() |
Returns the background color, as defined in the Color object, for this data cell. Returns {Number}Background color for this data cell. The color is defined in the Color object. |
toString |
Converts the internal data cell to a string. Returns {String} The string representation of a data cell. |
isFieldDelimiter() |
Tests if this cell represents a field delimiter. Returns {Boolean} True if this cell is a field delimiter, false if otherwise. |