|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.autoeditor.automatonvisualizer.layouts.vyhnanovska.Coordinate
public class Coordinate
Representation of 2D coordinate.
Constructor Summary | |
---|---|
Coordinate()
Creates default coordinate [0,0]. |
|
Coordinate(int x,
int y)
Creates coordinate with specified values. |
Method Summary | |
---|---|
boolean |
equals(Coordinate other)
|
int |
getX()
|
int |
getY()
|
void |
setLocation(int x,
int y)
Sets values of coordinate. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Coordinate()
public Coordinate(int x, int y)
x
- y
- Method Detail |
---|
public void setLocation(int x, int y)
x
- y
- public int getX()
public int getY()
public boolean equals(Coordinate other)
public String toString()
toString
in class Object
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |