com.sun.javafx.webkit.theme.Renderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openjfx-78-backport Show documentation
Show all versions of openjfx-78-backport Show documentation
This is a backport of OpenJFX 8 to run on Java 7.
The newest version!
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
*/
package com.sun.javafx.webkit.theme;
import javafx.scene.control.Control;
import com.sun.webkit.graphics.WCGraphicsContext;
public abstract class Renderer {
private static Renderer instance;
public static void setRenderer(Renderer renderer) {
instance = renderer;
}
public static Renderer getRenderer() {
return instance;
}
protected abstract void render(Control c, WCGraphicsContext g);
}