|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.CoordinateInfo
public class CoordinateInfo
The CoordinateInfo
class returns the location of a field, that is, the field's X and Y coordinates.
Constructor Summary | |
---|---|
CoordinateInfo()
|
|
CoordinateInfo(int a,
int b)
construct a CoordinateInfo object with the provided x and y coordinate. |
Method Summary | |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
int |
getXCoordinate()
Returns X coordinate. |
int |
getYCoordinate()
Returns Y coordinate. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setXCoordinate(int x)
Sets X coordinate. |
void |
setYCoordinate(int y)
Sets Y coordinate. |
String |
toString()
Returns a string description of the object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoordinateInfo()
public CoordinateInfo(int a, int b)
a
- b
- Method Detail |
---|
public int getXCoordinate()
public int getYCoordinate()
public void setXCoordinate(int x)
public void setYCoordinate(int y)
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- the object that we are comparing to
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int hashCode()
hashCode
in class Object
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |