|
|||||||||||
| 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.TextCellDisplay
Grid Display Package:
A TextCellDisplay object displays a
TextCell object (or any object with
text and color methods)
in a grid.
| Constructor Summary | |
TextCellDisplay()
|
|
| Method Summary | |
protected java.lang.String |
getText(GridObject obj)
Gets the text string to draw. |
protected java.awt.Color |
getTextColor(GridObject obj)
Gets the text color. |
| Methods inherited from class edu.kzoo.grid.display.TextDisplay |
draw, 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 TextCellDisplay()
| Method Detail |
protected java.lang.String getText(GridObject obj)
obj has a text method.)
getText in class TextDisplayprotected java.awt.Color getTextColor(GridObject obj)
obj has a color method.)
getTextColor in class TextDisplay
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||