|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectdrawableShapes.Drawable
drawableShapes.DrawableShape
drawableShapes.DrawableRTree
public class DrawableRTree
This class draws a recursive tree. It wedges Program #1's RTree into Program #2's drawable shape setup.
| Field Summary |
|---|
| Fields inherited from class drawableShapes.DrawableShape |
|---|
theShape |
| Fields inherited from class drawableShapes.Drawable |
|---|
borderColor, interiorColor, pos |
| Constructor Summary | |
|---|---|
DrawableRTree()
Default ctor for RTree |
|
DrawableRTree(int order,
java.awt.Point poi,
java.awt.Color border,
java.awt.Color inter)
Creates a new instance of DrawableRTree |
|
| Method Summary | |
|---|---|
void |
drawMe(java.awt.Graphics g)
This method makes the RTree drawable. |
DrawableShape |
factory()
|
| Methods inherited from class drawableShapes.DrawableShape |
|---|
computeArea, computePerimeter, getName, randomShapeData, readShapeData |
| Methods inherited from class drawableShapes.Drawable |
|---|
setBorderColor, setInteriorColor, setPosition, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DrawableRTree(int order,
java.awt.Point poi,
java.awt.Color border,
java.awt.Color inter)
public DrawableRTree()
| Method Detail |
|---|
public DrawableShape factory()
factory in class DrawableShapepublic void drawMe(java.awt.Graphics g)
drawMe in class Drawableg - The RTree is drawn on this Graphics object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||