Skip navigation links
C D G M P R S 

S

setLength(int) - Method in class Rectangle
Sets the length of the rectangle which must be greater than zero (0) or equal to zero if null (default).
setRadius(int) - Method in class Circle
Sets the radius of the circle which must be greater than zero (0) or equal to zero if null (default).
setWidth(int) - Method in class Rectangle
Sets the width of the rectangle which must be greater than zero (0) or equal to zero if null (default).
setX(int) - Method in class Shape
Sets the x-coordinate where the shape draws.
setY(int) - Method in class Shape
Sets the y-coordinate where the shape draws.
Shape - Class in <Unnamed>
The Shape abstract class definition.
Shape(int, int) - Constructor for class Shape
Constructor sets point where the shape draws.
ShapesBackup - Class in <Unnamed>
Tests the Circle and Rectangle class which demonstrates polymorphism behavior with late binding and the call to method center() which calls the abstract method draw() from class Shape which in turn calls the concrete method draw() of its subclasses.
ShapesBackup() - Constructor for class ShapesBackup
 
C D G M P R S 
Skip navigation links