Annotation Type TranslucentRepaintManager
-
@Retention(RUNTIME) @Target(TYPE) public @interface TranslucentRepaintManagerAn annotation that can be applied to a
RepaintManagerto suggest that theRepaintManagersupports translucency. If aJXPanelis made translucent by setting it's alpha property to a value between 0 and 1, then theJXPanelmust ensure that aRepaintManagercapable of handling transparency is installed. This annotation tells theJXPanelthat the installedRepaintManagerdoes not need to be replaced. This is critical for customRepaintManagers which are used in applications along with transparentJXPanels.A
RepaintManagersupports translucency if, when a repaint on a child component occurs, it begins painting not on the child component, but on the child component'sJXPanelancestor if: a) there is such an ancestor and b) the ancestor returns an effective alpha of < 1.- Author:
- rbair
- See Also:
RepaintManagerX,JXPanel