APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.css

public final Class StyleClass

extends Object
Class Inheritance

A class that contains StyleClass information.
Since
9

Field Summary

Modifier and TypeField and Description
private final int
private final String

Constructor Summary

AccessConstructor and Description
public
StyleClass(String
name of the style class
styleClassName
,
int
style class index
index
)

Constructs a StyleClass object.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

index
getIndex
()

Returns the index of this StyleClass in the styleClasses list.

public String

Returns:

the name of StyleClass
getStyleClassName
()

Returns the name of StyleClass.

public String

Returns:

the name of StyleClass
toString
()

Overrides java.lang.Object.toString.

Returns the name of StyleClass.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

indexback to summary
private final int index
styleClassNameback to summary
private final String styleClassName

Constructor Detail

StyleClassback to summary
public StyleClass(String styleClassName, int index)

Constructs a StyleClass object.

Parameters
styleClassName:String

name of the style class

index:int

style class index

Method Detail

getIndexback to summary
public int getIndex()

Returns the index of this StyleClass in the styleClasses list.

Returns:int

index

getStyleClassNameback to summary
public String getStyleClassName()

Returns the name of StyleClass.

Returns:String

the name of StyleClass

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the name of StyleClass.

Returns:String

the name of StyleClass

Annotations
@Override