facets.util.shade
Interface Shaded

All Known Subinterfaces:
Fonted
All Known Implementing Classes:
HtmlContent.HtmlSelected

public interface Shaded

Has a Shade that can be read and set.

Shaded allows the colour of an object to be to read and set independently of its implementation type.


Method Summary
 void setShade(Shade shade)
          Set the current colour of the object as a Shade.
 Shade shade()
          The current colour of the object as a Shade.
 

Method Detail

shade

Shade shade()
The current colour of the object as a Shade.


setShade

void setShade(Shade shade)
Set the current colour of the object as a Shade.

Parameters:
shade - must be non-null (to preserve contract semantics)