|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.connector2.hod.screenable.J2HODTextAttrInfo
This class represents text attribute information of a field. It only supports TN3270 session. The following attributes information are available:
Name | Type | Default Value | Description |
---|---|---|---|
textColor | char [0] | (char)0 | text color value for each character in a field |
textExtAttrs | char [0] | (char)0 | NOT SUPPORTED: extended text attribute value for each character in a field |
Constructor Summary | |
---|---|
J2HODTextAttrInfo()
Create an instance of J2HODTextAttrInfo with default attribute values. |
|
J2HODTextAttrInfo(char[] color,
char[] extAttrs)
Create an instance of J2HODTextAttrInfo with specified attribute values. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a cloned instance of this class object |
boolean |
equals(java.lang.Object obj)
Returns whether this instance of this class is equal to the instance of an object passed in. |
char[] |
getTextColors()
Returns a character array containing text color attribute values for each character(including white space) |
char[] |
getTextExtAttrs()
Returns a character array containing extended text attribute values for each character(including white space) This is not supported and it returns null character array. |
void |
setTextColors(char[] val)
Sets text color. |
void |
setTextExtAttrs(char[] val)
Sets text extended attribute |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public J2HODTextAttrInfo()
public J2HODTextAttrInfo(char[] color, char[] extAttrs)
Method Detail |
public char[] getTextColors()
getTextColors
in interface com.ibm.connector2.screen.ITextAttrInfo
setTextColors(char[])
public char[] getTextExtAttrs()
getTextExtAttrs
in interface com.ibm.connector2.screen.ITextAttrInfo
setTextExtAttrs(char[])
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface com.ibm.connector2.screen.ITextAttrInfo
java.lang.CloneNotSupportedException
- public boolean equals(java.lang.Object obj)
equals
in interface com.ibm.connector2.screen.ITextAttrInfo
equals
in class java.lang.Object
obj
- Object - an instance of object to comparepublic void setTextColors(char[] val)
val
- char[] - text color valuegetTextColors()
public void setTextExtAttrs(char[] val)
val
- char[] - extended attribute valuegetTextExtAttrs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |