public class TextCellDisplay extends TextDisplay
TextCellDisplay
object displays a
TextCell
object (or any object with
text
and color
methods)
in a grid.Constructor and Description |
---|
TextCellDisplay() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getText(GridObject obj)
Gets the text string to draw.
|
protected java.awt.Color |
getTextColor(GridObject obj)
Gets the text color.
|
draw, invokeAccessorMethod, paintCenteredText
addDecorator, adjust, draw, removeDecorator
protected java.lang.String getText(GridObject obj)
obj
has a text
method.)getText
in class TextDisplay
protected java.awt.Color getTextColor(GridObject obj)
obj
has a color
method.)getTextColor
in class TextDisplay