|
Generic Environment GUI Class Library | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TextCell
Environment-Based Applications:
A TextCell
object encapsulates text to go in a
cell in an environment.
Environment
,
Location
Constructor Summary | |
TextCell(java.lang.String text,
Environment env,
Location loc)
Constructs a text cell with the specified text. |
Method Summary | |
Location |
location()
Gets text cell's location. |
java.lang.String |
text()
Gets text in this text cell. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextCell(java.lang.String text, Environment env, Location loc)
text
- the text to go in this cellenv
- the environment holding this text cellloc
- the location of the text cell in env
Method Detail |
public java.lang.String text()
public Location location()
location
in interface Locatable
|
Generic Environment GUI Class Library | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |