modules/graphics/src/main/java/javafx/css/converter/StopConverter.java

Print this page
rev 9240 : 8076423: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization

*** 21,43 **** * 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.paint.Stop; import javafx.scene.text.Font; /** * convert a Stop from a Size and a Color */ ! public final class StopConverter extends StyleConverterImpl<ParsedValue[], Stop> { // lazy, thread-safe instatiation private static class Holder { static final StopConverter INSTANCE = new StopConverter(); } --- 21,43 ---- * 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.paint.Stop; import javafx.scene.text.Font; /** * convert a Stop from a Size and a Color */ ! public final class StopConverter extends StyleConverter<ParsedValue[], Stop> { // lazy, thread-safe instatiation private static class Holder { static final StopConverter INSTANCE = new StopConverter(); }