com.sun.webkit.ThemeClient 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.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();
}