Annotation Type TranslucentRepaintManager
-
@Retention(RUNTIME) @Target(TYPE) public @interface TranslucentRepaintManager
An annotation that can be applied to a
RepaintManager
to suggest that theRepaintManager
supports translucency. If aJXPanel
is made translucent by setting it's alpha property to a value between 0 and 1, then theJXPanel
must ensure that aRepaintManager
capable of handling transparency is installed. This annotation tells theJXPanel
that the installedRepaintManager
does not need to be replaced. This is critical for customRepaintManager
s which are used in applications along with transparentJXPanel
s.A
RepaintManager
supports translucency if, when a repaint on a child component occurs, it begins painting not on the child component, but on the child component'sJXPanel
ancestor if: a) there is such an ancestor and b) the ancestor returns an effective alpha of < 1.- See Also:
RepaintManagerX
,JXPanel