wheels
Interface AdvancedColorable

All Superinterfaces:
Colorable
All Known Implementing Classes:
RectangularShape

public interface AdvancedColorable
extends Colorable

Interface for objects that can have frame color and fill color set and queried, as well as overall color.

Author:
Sanders and van Dam. Object-Oriented Programming in Java.

Method Summary
 Color getFillColor()
          Returns the fill color.
 Color getFrameColor()
          Returns the frame color.
 void setFillColor(Color c)
          Sets the fill color.
 void setFrameColor(Color c)
          Sets the frame color.
 
Methods inherited from interface wheels.Colorable
getColor, setColor
 

Method Detail

setFrameColor

public void setFrameColor(Color c)
Sets the frame color.


getFrameColor

public Color getFrameColor()
Returns the frame color.


setFillColor

public void setFillColor(Color c)
Sets the fill color.


getFillColor

public Color getFillColor()
Returns the fill color.