|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.kzoo.grid.display.CheckeredBackgroundDisplay
Grid Display Package:
The GridBackgroundDisplay interface specifies the
method that must be provided by any class used to display
a Grid background.
| Constructor Summary | |
CheckeredBackgroundDisplay(ScrollableGridDisplay enclosingDisplay,
java.awt.Color upperLeftColor,
java.awt.Color otherColor)
Constructs a background display that draws a checkered background for a grid, using the specified colors. |
|
| Method Summary | |
void |
drawBackground(java.awt.Graphics2D g2)
Draws the grid background. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CheckeredBackgroundDisplay(ScrollableGridDisplay enclosingDisplay,
java.awt.Color upperLeftColor,
java.awt.Color otherColor)
enclosingDisplay - the overall grid display for which this
object will draw the backgroundupperLeftColor - color to display in upper-left corner
and every other cell after thatotherColor - the alternate color| Method Detail |
public void drawBackground(java.awt.Graphics2D g2)
GridBackgroundDisplay
drawBackground in interface GridBackgroundDisplayg2 - the Graphics2 object to use to render
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||