java.lang.Object
javafx.css.StyleClass
public final class StyleClass extends Object
A class that contains
StyleClass information.- Since:
- 9
-
Constructor Summary
Constructors Constructor Description StyleClass(String styleClassName, int index)Constructs aStyleClassobject. -
Method Summary
Modifier and Type Method Description intgetIndex()Returns the index of thisStyleClassin the styleClasses list.StringgetStyleClassName()Returns the name ofStyleClass.StringtoString()Returns the name ofStyleClass.
-
Constructor Details
-
StyleClass
Constructs aStyleClassobject.- Parameters:
styleClassName- name of the style classindex- style class index
-
-
Method Details