|
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.Component
Class that represents an abstract toolkit component. * * @author Dieter Wimberger * @version 2.0 (13/03/2005)
Field Summary | |
protected Dimension |
m_Dim
|
protected BasicTerminalIO |
m_IO
|
protected java.lang.String |
m_Name
|
protected Point |
m_Position
|
Constructor Summary | |
Component(BasicTerminalIO io,
java.lang.String name)
Constructor for an abstract toolkit component |
Method Summary | |
abstract void |
draw()
Method that draws the component. |
Dimension |
getDimension()
Accessor method for a components dimension |
Point |
getLocation()
Accessor method for a components location |
java.lang.String |
getName()
Accessor method for the name property of a component |
protected void |
setDimension(Dimension dim)
Mutator method for a components dimension |
void |
setLocation(int col,
int row)
Convenience mutator method for a components location |
void |
setLocation(Point pos)
Mutator method for a components location |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String m_Name
protected BasicTerminalIO m_IO
protected Point m_Position
protected Dimension m_Dim
Constructor Detail |
public Component(BasicTerminalIO io, java.lang.String name)
Method Detail |
public abstract void draw() throws java.io.IOException
java.io.IOException
public java.lang.String getName()
public Point getLocation()
public void setLocation(Point pos)
public void setLocation(int col, int row)
public Dimension getDimension()
protected void setDimension(Dimension dim)
|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |