Package com.microfocus.zfe.haapi.ps
Interface DataCell
-
public interface DataCell
Represents a single row/col position in the presentation space and contains all data about that position
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnumSet<Attribute>
getAttributes()
Returns the set of attributes specified for this data cell instance.Color
getBackgroundColor()
Returns the background color for this data cellchar
getChar()
Returns the character associated with this cellColor
getForegroundColor()
Returns the foreground color for this data cellPosition
getPosition()
Return the position of this cellboolean
isFieldDelimiter()
Tests if this cell represents a field delimiter.
-
-
-
Method Detail
-
getPosition
Position getPosition()
Return the position of this cell- Returns:
- the position of this cell
-
getChar
char getChar()
Returns the character associated with this cell- Returns:
- the character associated with this cell
-
getAttributes
EnumSet<Attribute> getAttributes()
Returns the set of attributes specified for this data cell instance.- Returns:
- the set of attributes specified for this data cell instance.
-
getForegroundColor
Color getForegroundColor()
Returns the foreground color for this data cell- Returns:
- foreground color for this data cell
-
getBackgroundColor
Color getBackgroundColor()
Returns the background color for this data cell- Returns:
- background color for this data cell
-
isFieldDelimiter
boolean isFieldDelimiter()
Tests if this cell represents a field delimiter. For 3270 and 5250 host types, the attributes for a field are stored in a data cell instance that preceded the start position of the field. This method will return true for data cell instances that meet that criteria.- Returns:
- true if this cell is a field delimiter, false otherwise
-
-