public class

GraphicsPrimitiveProxy

extends GraphicsPrimitive
java.lang.Object
   ↳ sun.java2d.loops.GraphicsPrimitive
     ↳ sun.java2d.loops.GraphicsPrimitiveProxy

Class Overview

GraphicsPrimitiveProxy Acts as a proxy for instances of GraphicsPrimitive, enabling lazy classloading of these primitives. This leads to a substantial savings in start-up time and footprint. In the typical case, it has been found that a small number of GraphicsPrimitive instance actually end up getting instantiated.

Note that the makePrimitive method should never be invoked on a GraphicsPrimitiveProxy object since they are instantiated as soon as they are found in the primitive list and never returned to the caller.

Summary

[Expand]
Inherited Constants
From class sun.java2d.loops.GraphicsPrimitive
[Expand]
Inherited Fields
From class sun.java2d.loops.GraphicsPrimitive
Public Constructors
GraphicsPrimitiveProxy(Class owner, String relativeClassName, String methodSignature, int primID, SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
Create a GraphicsPrimitiveProxy for a primitive with a no-argument constructor.
Public Methods
GraphicsPrimitive makePrimitive(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
GraphicsPrimitive traceWrap()
[Expand]
Inherited Methods
From class sun.java2d.loops.GraphicsPrimitive
From class java.lang.Object

Public Constructors

public GraphicsPrimitiveProxy (Class owner, String relativeClassName, String methodSignature, int primID, SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Create a GraphicsPrimitiveProxy for a primitive with a no-argument constructor.

Parameters
owner The owner class for this primitive. The primitive must be in the same package as this owner.
relativeClassName The name of the class this is a proxy for. This should not include the package.

Public Methods

public GraphicsPrimitive makePrimitive (SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

public GraphicsPrimitive traceWrap ()