CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.connector2.screen
Interface ITextAttrInfo

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable

public interface ITextAttrInfo
extends java.lang.Cloneable, java.io.Serializable

This interface defines the text attribute field interface. This will allow a user to query the color and extended attributes of each character in the text of a field.


Method Summary
 java.lang.Object clone()
          Creates a new object of the same class as this object.
 boolean equals(java.lang.Object other)
          This method determines if the two TextAttrInfo types are equivalent.
 char[] getTextColors()
          Returns a character array of the text colors.
 char[] getTextExtAttrs()
          Returns a character array of the extended attributes.
 

Method Detail

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a new object of the same class as this object. It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No constructor is called.

Returns:
A new object initialized to the same state as this object.
Throws:
java.lang.CloneNotSupportedException

equals

boolean equals(java.lang.Object other)
This method determines if the two TextAttrInfo types are equivalent.

Overrides:
equals in class java.lang.Object
Parameters:
other - The reference object with which to compare.
Returns:
true if this TextAttrInfo type is the same as the obj argument; false otherwise.

getTextColors

char[] getTextColors()
Returns a character array of the text colors.


getTextExtAttrs

char[] getTextExtAttrs()
Returns a character array of the extended attributes.


©Copyright IBM Corp. 1994, 2014
Legal