com.ibm.eNetwork.ECL Class ECLField
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
|
+--
com.ibm.eNetwork.ECL.ECLField
- All Implemented Interfaces:
- ECLConstants
- public class ECLField
- extends java.lang.Object
- implements ECLConstants
A field is the fundamental element of a presentation space. A field includes both contents and attributes. The ECLField class encapsulates a presentation space field and provides methods for accessing and manipulating field attributes and contents.
For 3270, 5250, and CICS sessions, ECLField correlates to the fields defined in their respective data streams. For VT emulation, the entire presentation space is represented in a single field.
ECLField objects can be accessed through ECLFieldList objects.
- See Also:
-
ECLFieldList
Field Summary |
---|
Method Summary | |
---|---|
void
|
deSelectField
()
This method is
invoked to set the SelectField if Pen Detectable. |
short
|
GetAttribute
()
Gets the raw
attribute byte of the field. |
int
|
GetEnd
()
Gets the ending
linear position of the field. |
int
|
GetEndCol
()
Gets the ending
column of the field. |
int
|
GetEndRow
()
Gets the ending
row of the field. |
int
|
GetLength
()
Gets the length
of the field. |
int
|
GetScreen
(char[] buffer, int length, int plane)
Retrieves
information from the different planes (text, color, extended attributes, DBCS,
and grid) associated with a field. |
char
|
getSelectorPenType
()
This method is
invoked to get the Valid Designator Character for Pen Detectable. |
int
|
GetStart
()
Gets the
starting linear position of the field. |
int
|
GetStartCol
()
Gets the
starting column of the field. |
int
|
GetStartRow
()
Gets the
starting row of the field. |
int
|
GetString
(char[] buffer, int length)
Retrieves text
plane information from the field similarly to GetScreen using the TEXT_PLANE
parameter, but it handles DBCS characters differently. |
boolean
|
IsDisplay
()
Determines
whether or not the field is displayable. |
boolean
|
IsHighIntensity
()
Determines
whether or not the field is high-intensity. |
boolean
|
IsModified
()
Determines
whether or not the field has been modified. |
boolean
|
IsNumeric
()
Determines
whether or not the field is numeric-only. |
boolean
|
IsPenDetectable
()
Determines
whether or not the field is pen-detectable. |
boolean
|
IsProtected
()
Determines
whether or not the field is protected. |
void
|
selectField
()
This method is
invoked to set the SelectField if Pen Detectable. |
void
|
SetString
(java.lang.String text)
Sets the text
plane of the field to the specified string similarly to SetText, but it handles
DBCS characters differently. |
void
|
SetText
(java.lang.String text)
Sets the text
plane of the field to the specified string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
Method Detail |
GetStart
public int
GetStart()
GetStartRow
public int
GetStartRow()
GetStartCol
public int
GetStartCol()
GetEnd
public int
GetEnd()
GetEndRow
public int
GetEndRow()
GetEndCol
public int
GetEndCol()
GetLength
public final int
GetLength()
GetScreen
public int
GetScreen(char[] buffer,
int length,
int plane)
throws
ECLErr
GetString
public int
GetString(char[] buffer,
int length)
throws
ECLErr
SetText
public void
SetText(java.lang.String text)
throws
ECLErr
SetString
public void
SetString(java.lang.String text)
throws
ECLErr
IsModified
public final boolean
IsModified()
IsProtected
public final boolean
IsProtected()
IsNumeric
public boolean
IsNumeric()
IsHighIntensity
public boolean
IsHighIntensity()
IsPenDetectable
public final boolean
IsPenDetectable()
IsDisplay
public final boolean
IsDisplay()
GetAttribute
public final short
GetAttribute()
getSelectorPenType
public char
getSelectorPenType()
selectField
public void
selectField()
deSelectField
public void
deSelectField()
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |