public final class StyleClass
extends Object
A class that contains StyleClass information.
- Since:
- 9
-
Constructor Summary
Constructors
Constructs a StyleClass object.
-
Method Summary
int
Returns the index of this StyleClass in the styleClasses list.
Returns the name of StyleClass.
Returns the name of StyleClass.
-
Constructor Details
-
StyleClass
public StyleClass(String styleClassName,
int index)
Constructs a StyleClass object.
- Parameters:
styleClassName - name of the style class
index - style class index
-
Method Details
-
getStyleClassName
public String getStyleClassName()
Returns the name of StyleClass.
- Returns:
- the name of
StyleClass
-
toString
Returns the name of StyleClass.
- Overrides:
toString in class Object
- Returns:
- the name of
StyleClass
-
getIndex
public int getIndex()
Returns the index of this StyleClass in the styleClasses list.
- Returns:
- index