org.dvb.ui
Interface TestOpacity

All Known Implementing Classes:
HComponent, HContainer

public interface TestOpacity

Interface implemented by Components or Containers in order to allow the platform to query whether their paint method is fully opaque.


Method Summary
 boolean isOpaque()
          Returns true if the entire area of the component as given by the getBounds method, is fully opaque.
 

Method Detail

isOpaque

public boolean isOpaque()
Returns true if the entire area of the component as given by the getBounds method, is fully opaque. Hence its paint method (or surrogate methods) guarantees that all pixels are painted in an opaque Color.

Classes implementing this interface shall return true from their implementation of this method if and only if their implementation can guarantee full opacity. The consequences of an invalid overridden value are implementation specific.

Returns:
true if all the pixels with the java.awt.Component#getBounds method are fully opaque, otherwise false.