Job2dDriverpublic class LoggerDriver extends java.lang.Object implements Job2dDriver
| Constructor | Description |
|---|---|
LoggerDriver() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
operateTo(int x,
int y) |
Moves the head (in active mode) to the given coordinates.
|
void |
setPosition(int x,
int y) |
Changes the head coordinates (in passive mode).
|
java.lang.String |
toString() |
public void setPosition(int x,
int y)
Job2dDriversetPosition in interface Job2dDriverx - new position on the X axis.y - new position on the Y axis.public void operateTo(int x,
int y)
Job2dDriveroperateTo in interface Job2dDriverx - end of the line in X axis.y - end of the line in Y axis.public java.lang.String toString()
toString in class java.lang.Object