|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsddl.hierarchy.Shape
public abstract class Shape
A Shape is something waiting to be drawn. It is the abstract representation of an object. Anything that can be drawn in SDDL must be a Shape.
| Constructor Summary | |
|---|---|
Shape()
|
|
| Method Summary | |
|---|---|
abstract Shape |
copy()
|
abstract void |
draw(AbstractPoint location,
java.io.PrintWriter out)
Standard SDDL draw function. |
boolean |
isVisible()
Verifies if the Shape is going to be drawn or not |
abstract Path |
obtainPath()
Gives a Path describing the Shape. |
void |
setVisible(boolean isVisible)
Sets if the Shape is going to be drawn or not |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Shape()
| Method Detail |
|---|
public abstract void draw(AbstractPoint location,
java.io.PrintWriter out)
location - The location of the Shape on the main drawingout - The file to be written topublic abstract Path obtainPath()
public void setVisible(boolean isVisible)
isVisible - If the Shape will be drawnpublic boolean isVisible()
public abstract Shape copy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||