|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Framework.ChaosGame
public class Framework.ChaosGame
Field Summary |
---|
Fields inherited from interface Framework.Drawable |
---|
palette, random |
Constructor Summary | |
---|---|
Framework.ChaosGame(java.awt.Dimension appDimen)
|
Method Summary | |
---|---|
void |
draw(java.awt.image.BufferedImage drawTo)
Draws itself to the parameterized BufferedImage . |
boolean |
finished()
Sets the status of the rendering to completed. |
java.awt.Color |
getBackgroundColor()
Merely returns the background color for this Drawable . |
void |
setCompleted()
Sets the status of the rendering to completed. |
void |
setMouseEvent(java.awt.event.MouseEvent e)
Allows all implementers to react to mouse events passed from the content class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Framework.ChaosGame(java.awt.Dimension appDimen)
Method Detail |
---|
public void draw(java.awt.image.BufferedImage drawTo)
Framework.Drawable
BufferedImage
.
draw
in interface Framework.Drawable
drawTo
- a BufferedImage
to draw to.public java.awt.Color getBackgroundColor()
Framework.Drawable
this Drawable
.
getBackgroundColor
in interface Framework.Drawable
Color
of the background for
this Drawable
.public void setMouseEvent(java.awt.event.MouseEvent e)
Framework.Drawable
setMouseEvent
in interface Framework.Drawable
e
- The MouseEvent
that the object is to respond
to.public boolean finished()
Framework.Drawable
finished
in interface Framework.Drawable
public void setCompleted()
Framework.Drawable
setCompleted
in interface Framework.Drawable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |