|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Drawable
A Drawable is an object that can be drawn onto a Graphics object, by returning its Shape and Color.
Method Summary | |
---|---|
Color |
getColor()
Returns the Color of this Drawable. |
Shape |
getShape()
Returns the Shape (which contains position and size) of this Drawable. |
Method Detail |
---|
Shape getShape()
Color getColor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |