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 aStyleClass
object. -
Method Summary
Modifier and Type Method Description int
getIndex()
Returns the index of thisStyleClass
in the styleClasses list.String
getStyleClassName()
Returns the name ofStyleClass
.String
toString()
Returns the name ofStyleClass
.
-
Constructor Details
-
StyleClass
Constructs aStyleClass
object.- Parameters:
styleClassName
- name of the style classindex
- style class index
-
-
Method Details