APIdia Launch Partner
Top Fields Constructors Methods
com.sun.webkit.graphics

public abstract Class WCGraphicsManager

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.javafx.webkit.prism.PrismGraphicsManager
Imports
com.sun.javafx.logging.PlatformLogger, com.sun.webkit.SharedBuffer, .SimpleSharedBufferInputStream, java.io.IOException, .InputStream, java.nio.ByteBuffer, java.util.HashMap, .MissingResourceException, .ResourceBundle, java.util.concurrent.atomic.AtomicInteger

Field Summary

Modifier and TypeField and Description
private final AtomicInteger
private static ResourceBundle
private static final PlatformLogger
private static WCGraphicsManager
private final HashMap<Integer, Ref>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static native void
append(long bufPtr, byte[] data, int count)

protected abstract WCRenderQueue
protected abstract WCFontCustomPlatformData
protected abstract WCImageFrame
createFrame(int w, int h, ByteBuffer data)

public abstract WCGraphicsContext
pack-priv int
protected abstract WCMediaPlayer
public abstract WCPageBackBuffer
public abstract WCRenderQueue
createRenderQueue(WCRectangle clip, boolean opaque)

protected abstract WCImage
createRTImage(int w, int h)

protected abstract WCTransform
createTransform(double m00, double m10, double m01, double m11, double m02, double m12)

protected abstract WCImage
createWCImage(int w, int h)

protected abstract WCPath<P>
protected abstract WCPath<P>
pack-priv synchronized Ref
deref(Ref ref)

private WCFontCustomPlatformData
private WCMediaPlayer
fwkCreateMediaPlayer(long nativePointer)

private void
fwkLoadFromResource(String key, long bufPtr)

public abstract float
public static WCGraphicsManager
public abstract WCImage
protected abstract WCImageDecoder
pack-priv synchronized Ref
getRef(int id)

public static String
protected String[]
protected abstract WCFont
getWCFont(String name, boolean bold, boolean italic, float size)

pack-priv synchronized void
ref(Ref ref)

public static void
public abstract Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

idCountback to summary
private final AtomicInteger idCount
imagePropertiesback to summary
private static ResourceBundle imageProperties
loggerback to summary
private static final PlatformLogger logger
managerback to summary
private static WCGraphicsManager manager
refMapback to summary
private final HashMap<Integer, Ref> refMap

Constructor Detail

WCGraphicsManagerback to summary
public WCGraphicsManager()

Method Detail

appendback to summary
private static native void append(long bufPtr, byte[] data, int count)
createBufferedContextRQback to summary
protected abstract WCRenderQueue createBufferedContextRQ(WCImage image)
createFontCustomPlatformDataback to summary
protected abstract WCFontCustomPlatformData createFontCustomPlatformData(InputStream inputStream) throws IOException
createFrameback to summary
protected abstract WCImageFrame createFrame(int w, int h, ByteBuffer data)
createGraphicsContextback to summary
public abstract WCGraphicsContext createGraphicsContext(Object g)
createIDback to summary
pack-priv int createID()
createMediaPlayerback to summary
protected abstract WCMediaPlayer createMediaPlayer()
createPageBackBufferback to summary
public abstract WCPageBackBuffer createPageBackBuffer()
createRenderQueueback to summary
public abstract WCRenderQueue createRenderQueue(WCRectangle clip, boolean opaque)
createRTImageback to summary
protected abstract WCImage createRTImage(int w, int h)
createTransformback to summary
protected abstract WCTransform createTransform(double m00, double m10, double m01, double m11, double m02, double m12)
createWCImageback to summary
protected abstract WCImage createWCImage(int w, int h)
createWCPathback to summary
protected abstract WCPath<P> createWCPath()
createWCPathback to summary
protected abstract WCPath<P> createWCPath(WCPath<P> path)
derefback to summary
pack-priv synchronized Ref deref(Ref ref)
fwkCreateFontCustomPlatformDataback to summary
private WCFontCustomPlatformData fwkCreateFontCustomPlatformData(SharedBuffer sharedBuffer)
fwkCreateMediaPlayerback to summary
private WCMediaPlayer fwkCreateMediaPlayer(long nativePointer)
fwkLoadFromResourceback to summary
private void fwkLoadFromResource(String key, long bufPtr)
getDevicePixelScaleback to summary
public abstract float getDevicePixelScale()
getGraphicsManagerback to summary
public static WCGraphicsManager getGraphicsManager()
getIconImageback to summary
public abstract WCImage getIconImage(String iconURL)
getImageDecoderback to summary
protected abstract WCImageDecoder getImageDecoder()
getRefback to summary
pack-priv synchronized Ref getRef(int id)
getResourceNameback to summary
public static String getResourceName(String key)
getSupportedMediaTypesback to summary
protected String[] getSupportedMediaTypes()
getWCFontback to summary
protected abstract WCFont getWCFont(String name, boolean bold, boolean italic, float size)
refback to summary
pack-priv synchronized void ref(Ref ref)
setGraphicsManagerback to summary
public static void setGraphicsManager(WCGraphicsManager manager)
toPlatformImageback to summary
public abstract Object toPlatformImage(WCImage image)