public interface EPIFieldRecord extends javax.resource.cci.Record, IExtendedAttributes
This interface represents a field on the screen. It allows you to query information such as the text of the field and the fields attributes. It also allows you to modify the text of this field to be sent to the CICS server at some point in time.
black, blinkHlt, blue, cyan, darkblue, defaultColor, defaultHlt, defaultTran, gray, green, intenseHlt, neutral, neutralBGrnd, normalHlt, opaqueTran, orange, orTran, paleCyan, paleGreen, pink, purple, red, reverseHlt, underscoreHlt, white, xorTran, yellow
Modifier and Type | Method and Description |
---|---|
void |
appendText(java.lang.String text)
Append the given string to this field.
|
int |
getBackGroundColor()
Returns a constant which represents the background color of the screen.
|
int |
getForeGroundColor()
Returns a constant which represents the foreground color of the field text.
|
int |
getHighlight()
Returns a constant which indicates the type of highlight for the field.
|
int |
getMaxTextLength()
Returns the maximum length of the field.
|
java.lang.String |
getText()
Get the text of the field.
|
int |
getTextCol()
Return the current column of the text for the field.
|
int |
getTextPos()
Return the current position of the text for the field.
|
int |
getTextRow()
Return the current row of the text for the field.
|
int |
getTransparency()
Returns a constant which indicates the type of transparency for the field.
|
boolean |
hasAttribute()
Returns whether a field has any attribute bytes (ie it is a formatted
field or not).
|
boolean |
isDisplay()
Returns a flag indicating whether the field should be displayed or not.
|
boolean |
isHighIntensity()
Returns a flag indicating whether the field is high intensity.
|
boolean |
isModified()
Returns a flag indicating whether the field has been modified.
|
boolean |
isNumeric()
Returns a flag indicating whether the field is only numeric.
|
boolean |
isProtected()
Returns a flag indicating whether the field is protected.
|
void |
setText(java.lang.String text)
Set the text of the field to the given string.
|
void appendText(java.lang.String text) throws ScreenException
text
- The text to appendScreenException
- If the complete text of the field is too long.void setText(java.lang.String text) throws ScreenException
text
- The text to set the field to.ScreenException
- If the text is too long.java.lang.String getText()
boolean hasAttribute()
int getBackGroundColor()
int getForeGroundColor()
int getHighlight()
int getTextPos()
int getTextRow()
int getTextCol()
int getMaxTextLength()
int getTransparency()
boolean isDisplay()
boolean isHighIntensity()
boolean isModified()
boolean isNumeric()
boolean isProtected()