|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wimpi.telnetd.io.toolkit.Dimension
Class that represents a components dimension on the * terminal, it therefore encapsulates the coordinates * given by columns(width) and rows(height). * * @author Dieter Wimberger * @version 2.0 (13/03/2005)
Constructor Summary | |
Dimension()
Constructs an instance with zero width and zero height. |
|
Dimension(int width,
int height)
Constructs an instance with width and height |
Method Summary | |
int |
getHeight()
Accessor method for the height |
int |
getWidth()
Accessor method for the width |
void |
setHeight(int height)
Mutator method for the height |
void |
setWidth(int width)
Mutator method for the width |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Dimension()
public Dimension(int width, int height)
Method Detail |
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |