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).
-
FilledObject(int, int, int, int, Color)
- Constructs a FilledObject
-
isFilled()
- Checks the current filled condition
-
setFilled(boolean)
- Sets the object to the passed boolean
FilledObject
public FilledObject(int x,
int y,
int width,
int height,
Color graphicsColor)
- Constructs a FilledObject
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
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