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 Methods |
From class
sun.java2d.loops.GraphicsPrimitive
static
SurfaceData
|
convertFrom(Blit ob, SurfaceData srcData, int srcX, int srcY, int w, int h, SurfaceData dstData, int type)
|
static
SurfaceData
|
convertFrom(Blit ob, SurfaceData srcData, int srcX, int srcY, int w, int h, SurfaceData dstData)
|
static
void
|
convertTo(Blit ob, SurfaceData srcImg, SurfaceData dstImg, Region clip, int dstX, int dstY, int w, int h)
|
static
Blit
|
createConverter(SurfaceType srctype, SurfaceType dsttype)
|
final
CompositeType
|
getCompositeType()
|
final
SurfaceType
|
getDestType()
|
static
GraphicsPrimitive
|
getGeneralOp(int primID, CompositeType comptype)
|
final
long
|
getNativePrim()
|
final
int
|
getPrimTypeID()
Gets unique id for this GraphicsPrimitive type.
|
final
String
|
getSignature()
|
final
SurfaceType
|
getSourceType()
|
final
int
|
getUniqueID()
Gets instance ID of this graphics primitive.
|
synchronized
final
static
int
|
makePrimTypeID()
|
abstract
GraphicsPrimitive
|
makePrimitive(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
|
synchronized
final
static
int
|
makeUniqueID(int primTypeID, SurfaceType src, CompositeType cmp, SurfaceType dst)
|
final
boolean
|
satisfies(String signature, SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
Return true if this primitive can be used for the given signature
surfaces, and composite.
|
void
|
setupGeneralBinaryOp(GraphicsPrimitive.GeneralBinaryOp gbo)
|
void
|
setupGeneralUnaryOp(GraphicsPrimitive.GeneralUnaryOp guo)
|
static
String
|
simplename(Field[] fields, Object o)
|
static
String
|
simplename(CompositeType ct)
|
static
String
|
simplename(SurfaceType st)
|
String
|
toString()
Returns a string representation of the object.
|
synchronized
static
void
|
tracePrimitive(Object prim)
|
abstract
GraphicsPrimitive
|
traceWrap()
|
static
boolean
|
tracingEnabled()
|
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
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