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

com.sun.webkit.ThemeClient Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
 */
package com.sun.webkit;

import com.sun.webkit.graphics.RenderTheme;
import com.sun.webkit.graphics.ScrollBarTheme;

public abstract class ThemeClient {

    private static RenderTheme defaultRenderTheme;

    public static void setDefaultRenderTheme(RenderTheme theme) {
        defaultRenderTheme = theme;
    }

    public static RenderTheme getDefaultRenderTheme() {
        return defaultRenderTheme;
    }

    protected abstract RenderTheme createRenderTheme();
    
    protected abstract ScrollBarTheme createScrollBarTheme();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy