com.sun.javafx.webkit.theme.Renderer Maven / Gradle / Ivy
/*
* 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);
}