|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.kzoo.grid.display.ScaledDisplay | +--edu.kzoo.grid.display.TextDisplay | +--edu.kzoo.grid.display.DefaultDisplay
Grid Display Package:
A DefaultDisplay
draws a centered question-mark.
A DefaultDisplay
object is used to display any
grid object that doesn't have a specialized display object.
The association between a particular GridObject
subclass and its display object is handled in the
DisplayMap
class.
DisplayMap
Constructor Summary | |
DefaultDisplay()
|
Method Summary | |
protected java.lang.String |
getText(GridObject obj)
Gets the text string to draw. |
Methods inherited from class edu.kzoo.grid.display.TextDisplay |
draw, getTextColor, invokeAccessorMethod, paintCenteredText |
Methods inherited from class edu.kzoo.grid.display.ScaledDisplay |
addDecorator, adjust, draw, removeDecorator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultDisplay()
Method Detail |
protected java.lang.String getText(GridObject obj)
getText
in class TextDisplay
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |