|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Framework.Plane2D Framework.TriadicKoch
public class Framework.TriadicKoch
Triadic Koch Snowflake Animation
Field Summary |
---|
Fields inherited from interface Framework.Drawable |
---|
bgColor, fgColor, palette, random |
Constructor Summary | |
---|---|
Framework.TriadicKoch(java.awt.Dimension appDimen,
int depth)
|
Method Summary | |
---|---|
void |
draw(java.awt.image.BufferedImage img)
Called by respective Drawable's createNewGraphics' method. |
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 Framework.Plane2D |
---|
scrX, scrY |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Framework.TriadicKoch(java.awt.Dimension appDimen, int depth)
Method Detail |
---|
public void draw(java.awt.image.BufferedImage img)
draw
in interface Framework.Drawable
img
- 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 |