com.jagacy
Class Location

java.lang.Object
  extended bycom.jagacy.Location

public class Location
extends java.lang.Object

This class is a holder for location information.

Since:
Jagacy 3270 1.2, Jagacy VT 1.0
Author:
Robert M. Preston
See Also:
AbstractSession.readCursorLocation(), Field.getLocation()

Method Summary
 boolean equals(java.lang.Object o)
           
 int getColumn()
          Returns the column coordinate.
 int getRow()
          Returns the row coordinate.
 boolean isValid()
          Determines if this location is still valid (useful for 132 columns).
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getColumn

public int getColumn()
Returns the column coordinate.

Returns:
Returns the column.

getRow

public int getRow()
Returns the row coordinate.

Returns:
Returns the row.

isValid

public boolean isValid()
Determines if this location is still valid (useful for 132 columns).

Returns:
true if this location is stil valid; false otherwise.

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)