All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.TransparencyTrickUtils
java.lang.Object
|
+----symantec.itools.awt.TransparencyTrickUtils
- public class TransparencyTrickUtils
- extends Object
This class implements a painting method that is used to simulate transparent
Components. If you use this class you also need to implement TransparencyTrick.
Otherwise visually intersecting your Component with another Component that uses
these routines will result in a lock up.
-
TransparencyTrickUtils()
-
-
paintComponent(Component, Component, Rectangle, Graphics)
- This method paints one component that intersects with the invisible
component.
-
paintComponentsBehind(Component, Graphics)
- This method implements the painting of transparent components.
TransparencyTrickUtils
public TransparencyTrickUtils()
paintComponentsBehind
public static void paintComponentsBehind(Component drawingComponent,
Graphics g)
- This method implements the painting of transparent components.
It does this by painting the component's parent and all the other
components that intersect with the invisible component.
- Parameters:
- drawingComponent - the invisible component "being drawn"
- g - the graphics context to use for drawing
paintComponent
public static void paintComponent(Component drawingComponent,
Component intersectingComponent,
Rectangle myBounds,
Graphics g)
- This method paints one component that intersects with the invisible
component. It is a utility routine called by paintComponentsBehind().
- Parameters:
- drawingComponent - the invisible component "being drawn"
- intersectingComponent - the component that intersects the drawingComponent
- myBounds - the bounds of the invisible component
- g - the graphics context to use for drawing
- See Also:
- paintComponentsBehind
All Packages Class Hierarchy This Package Previous Next Index