|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.wimpi.telnetd.io.toolkit.Point
Class that represents a point on the terminal. * Respectively it specifies a character cell, encapsulating * column and row coordinates. * * @author Dieter Wimberger * @version 2.0 (13/03/2005)
Constructor Summary | |
Point()
Constructs an instance with its coordinates set to the origin (0/0). |
|
Point(int col,
int row)
Constructs an instance with given coordinates |
Method Summary | |
int |
getColumn()
Accessor method for the column coordinate |
int |
getRow()
Accessor method for the row coordinate |
void |
move(int col,
int row)
Convenience method to set the points coordinates |
void |
setColumn(int col)
Mutator method for the column coordinate of this * Cell |
void |
setLocation(int col,
int row)
Mutator method to set the points coordinate at once |
void |
setRow(int row)
Mutator method for the row coordinate of this * Cell |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Point()
public Point(int col, int row)
Method Detail |
public void setLocation(int col, int row)
public void move(int col, int row)
public int getColumn()
public void setColumn(int col)
public int getRow()
public void setRow(int row)
|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |