modules/graphics/src/main/java/com/sun/javafx/css/StyleClassSet.java

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

*** 22,37 **** --- 22,40 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package com.sun.javafx.css; + import javafx.css.StyleClass; + import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; + /** * States represents a set of State. A {@code Node} may be in more than * one pseudo-class state. {@code States} is used to aggregate the active * pseudo-class state of a {@code Node}. */
*** 118,128 **** } /** */ ! static StyleClass getStyleClass(String styleClass) { if (styleClass == null || styleClass.trim().isEmpty()) { throw new IllegalArgumentException("styleClass cannot be null or empty String"); } --- 121,131 ---- } /** */ ! public static StyleClass getStyleClass(String styleClass) { if (styleClass == null || styleClass.trim().isEmpty()) { throw new IllegalArgumentException("styleClass cannot be null or empty String"); }