All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cs101.canvas.FilledObject

java.lang.Object
   |
   +----cs101.canvas.GraphicsObject
           |
           +----cs101.canvas.ResizableObject
                   |
                   +----cs101.canvas.FilledObject

public abstract class FilledObject
extends ResizableObject
GraphicsObject that can be field(i.e. Rect, Oval, RoundRect).


Constructor Index

 o FilledObject(int, int, int, int, Color)
Constructs a FilledObject

Method Index

 o isFilled()
Checks the current filled condition
 o setFilled(boolean)
Sets the object to the passed boolean

Constructors

 o FilledObject
 public FilledObject(int x,
                     int y,
                     int width,
                     int height,
                     Color graphicsColor)
Constructs a FilledObject

Methods

 o setFilled
 public synchronized void setFilled(boolean value)
Sets the object to the passed boolean

Parameters:
value - boolean to set filled condition (true = filled)
Returns:
none
 o isFilled
 public synchronized boolean isFilled()
Checks the current filled condition

Returns:
boolean value corresponding to the filled condition

All Packages  Class Hierarchy  This Package  Previous  Next  Index