|
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
net.wimpi.telnetd.io.toolkit.InertComponent
net.wimpi.telnetd.io.toolkit.Label
Class that represents a label. * * @author Dieter Wimberger * @version 2.0 (13/03/2005)
Field Summary |
Fields inherited from class net.wimpi.telnetd.io.toolkit.Component |
m_Dim, m_IO, m_Name, m_Position |
Constructor Summary | |
Label(BasicTerminalIO io,
java.lang.String name)
Constructs a Label instance, using the name as visible content |
|
Label(BasicTerminalIO io,
java.lang.String name,
java.lang.String text)
Constructs a Label instance |
Method Summary | |
void |
draw()
Method that draws the label on the screen. |
java.lang.String |
getText()
Accessor method for the text property of the label component |
void |
setText(java.lang.String text)
Mutator method for the text property of the label component |
Methods inherited from class net.wimpi.telnetd.io.toolkit.Component |
getDimension, getLocation, getName, setDimension, setLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Label(BasicTerminalIO io, java.lang.String name, java.lang.String text)
public Label(BasicTerminalIO io, java.lang.String name)
Method Detail |
public void setText(java.lang.String text)
public java.lang.String getText()
public void draw() throws java.io.IOException
draw
in class Component
java.io.IOException
|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |