bookExamples.ch12Nested
Class Shape
java.lang.Object
bookExamples.ch12Nested.Shape
public abstract class Shape
- extends java.lang.Object
DocJava, Inc.
http://www.docjava.com
Programmer: dlyon
Date: Oct 4, 2004
Time: 3:19:20 PM
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
draw
public abstract void draw(java.awt.Graphics g)
getCircle
public static Shape getCircle(int x,
int y,
int r)
getOval
public static Shape getOval(int x,
int y,
int w,
int h)
getX
public int getX()
setX
public void setX(int x)
getY
public int getY()
setY
public void setY(int y)