com.jagacy
Class Field

java.lang.Object
  extended bycom.jagacy.Field

public class Field
extends java.lang.Object

This class is a holder for field information.

Author:
Robert M. Preston
See Also:
Session3270.readFields()

Method Summary
 boolean equals(java.lang.Object o)
           
 int getAttribute()
          Returns the raw attribute associated with this field.
 int getColumn()
          Returns the column coordinate of the field.
 int getFieldNumber()
          Returns the field number of the field.
 Location getLocation()
          Returns the location of the field.
 int getRow()
          Returns the row coordinate of the field.
 java.lang.String getValue()
          Returns the value of the field.
 boolean isIntensified()
          Determines if the field is intensified or not.
 boolean isNumeric()
          Determines if the field is numeric or not.
 boolean isProtected()
          Determines if the field is protected or not.
 boolean isSelectable()
          Determines if the field is light pen selectable or not.
 boolean isValid()
          Determines if the field is still shown on the screen.
 boolean isVisible()
          Determines if the field is visible or not.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isProtected

public boolean isProtected()
Determines if the field is protected or not.

Returns:
true if the screen is formatted and the field is protected; false otherwise.
Since:
1.2

isNumeric

public boolean isNumeric()
Determines if the field is numeric or not.

Returns:
true if the screen is formatted and the field is numeric; false otherwise.
Since:
1.2

isSelectable

public boolean isSelectable()
Determines if the field is light pen selectable or not.

Returns:
true if the screen is formatted and the field is selectable; false otherwise.
Since:
1.2

isIntensified

public boolean isIntensified()
Determines if the field is intensified or not.

Returns:
true if the screen is formatted and the field is intensified; false otherwise.
Since:
1.2

isVisible

public boolean isVisible()
Determines if the field is visible or not.

Returns:
true if the screen is unformatted or the field is visible; false otherwise.
Since:
1.2

isValid

public boolean isValid()
Determines if the field is still shown on the screen.

Returns:
true if the field is still valid; false otherwise.

getAttribute

public int getAttribute()
Returns the raw attribute associated with this field.

Returns:
The attribute or -1 if the screen is unformatted.

getFieldNumber

public int getFieldNumber()
Returns the field number of the field.

Returns:
Returns the field number.

getColumn

public int getColumn()
Returns the column coordinate of the field.

Returns:
Returns the column.

getRow

public int getRow()
Returns the row coordinate of the field.

Returns:
Returns the row.

getLocation

public Location getLocation()
Returns the location of the field.

Returns:
Returns the location.
Since:
1.2

getValue

public java.lang.String getValue()
Returns the value of the field.

Returns:
Returns the value.

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)