modules/graphics/src/main/java/com/sun/javafx/scene/layout/region/LayeredBackgroundSizeConverter.java

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

*** 24,34 **** */ package com.sun.javafx.scene.layout.region; import javafx.css.ParsedValue; ! import com.sun.javafx.css.StyleConverterImpl; import javafx.scene.layout.BackgroundSize; import javafx.scene.text.Font; /** * This class appears to be an artifact of the implementation, such that we need --- 24,34 ---- */ package com.sun.javafx.scene.layout.region; import javafx.css.ParsedValue; ! import javafx.css.StyleConverter; import javafx.scene.layout.BackgroundSize; import javafx.scene.text.Font; /** * This class appears to be an artifact of the implementation, such that we need
*** 38,48 **** * * background-size <bg-size> [ , <bg-size> ]* * <bg-size> = [ <size> | auto ]{1,2} | cover | contain * @see <a href="http://www.w3.org/TR/css3-background/#the-background-size">background-size</a> */ ! public final class LayeredBackgroundSizeConverter extends StyleConverterImpl<ParsedValue<ParsedValue[], BackgroundSize>[], BackgroundSize[]> { private static final LayeredBackgroundSizeConverter LAYERED_BACKGROUND_SIZE_CONVERTER = new LayeredBackgroundSizeConverter(); public static LayeredBackgroundSizeConverter getInstance() { return LAYERED_BACKGROUND_SIZE_CONVERTER; --- 38,48 ---- * * background-size <bg-size> [ , <bg-size> ]* * <bg-size> = [ <size> | auto ]{1,2} | cover | contain * @see <a href="http://www.w3.org/TR/css3-background/#the-background-size">background-size</a> */ ! public final class LayeredBackgroundSizeConverter extends StyleConverter<ParsedValue<ParsedValue[], BackgroundSize>[], BackgroundSize[]> { private static final LayeredBackgroundSizeConverter LAYERED_BACKGROUND_SIZE_CONVERTER = new LayeredBackgroundSizeConverter(); public static LayeredBackgroundSizeConverter getInstance() { return LAYERED_BACKGROUND_SIZE_CONVERTER;