|
Generic Environment GUI Class Library | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ScaledDisplay | +--DefaultDisplay | +--TextCellDisplay
Environment-Based Applications:
A TextCellDisplay
object displays a
TextCell
object in an environment.
Constructor Summary | |
TextCellDisplay()
|
Method Summary | |
void |
draw(Locatable obj,
java.awt.Component comp,
java.awt.Graphics2D g2)
Draws the given object. |
Methods inherited from class DefaultDisplay |
paintCenteredText |
Methods inherited from class ScaledDisplay |
adjust, draw |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextCellDisplay()
Method Detail |
public void draw(Locatable obj, java.awt.Component comp, java.awt.Graphics2D g2)
obj
is a TextCell
object.)draw
in class DefaultDisplay
obj
- object we want to drawcomp
- component on which to drawg2
- drawing surface
|
Generic Environment GUI Class Library | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |