Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.jdesktop.swingx
Annotation Type TranslucentRepaintManager

    @Retention(value=RUNTIME)
    @Target(value=TYPE)
    public @interface TranslucentRepaintManager

An annotation that can be applied to a `RepaintManager` to suggest that the `RepaintManager` supports translucency. If a `JXPanel` is made translucent by setting it's alpha property to a value between 0 and 1, then the `JXPanel` must ensure that a `RepaintManager` capable of handling transparency is installed. This annotation tells the `JXPanel` that the installed `RepaintManager` does not need to be replaced. This is critical for custom `RepaintManager`s which are used in applications along with transparent `JXPanel`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's `JXPanel` ancestor if: a) there is such an ancestor and b) the ancestor returns an effective alpha of < 1.

Author:
  rbair
See Also:
  `RepaintManagerX`, `JXPanel`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2010. All Rights Reserved.