modules/graphics/src/main/java/javafx/css/converter/DeriveColorConverter.java
Print this page
rev 9240 : 8076423: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization
*** 21,42 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package com.sun.javafx.css.parser;
! import com.sun.javafx.css.Size;
! import com.sun.javafx.css.StyleConverterImpl;
import javafx.css.ParsedValue;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
/**
* Derive a Color from a Color and a brightness value
*/
! public final class DeriveColorConverter extends StyleConverterImpl<ParsedValue[], Color> {
// lazy, thread-safe instatiation
private static class Holder {
static final DeriveColorConverter INSTANCE = new DeriveColorConverter();
}
--- 21,42 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package javafx.css.converter;
! import javafx.css.Size;
! import javafx.css.StyleConverter;
import javafx.css.ParsedValue;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
/**
* Derive a Color from a Color and a brightness value
*/
! public final class DeriveColorConverter extends StyleConverter<ParsedValue[], Color> {
// lazy, thread-safe instatiation
private static class Holder {
static final DeriveColorConverter INSTANCE = new DeriveColorConverter();
}