All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.javafx.webkit.theme.Renderer Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy