StyleClass (Java SE 10 & JDK 10 ) (original) (raw)
- javafx.css.StyleClass
public final class StyleClass
extends Object
Since:
9
Constructor Summary
Constructors
Constructor Description StyleClass(String styleClassName, int index) Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type Method Description int getIndex() String getStyleClassName() String toString() Returns a string representation of the object. * ### Methods declared in class java.lang.[Object](../../java/lang/Object.html "class in java.lang") `[clone](../../java/lang/Object.html#clone%28%29), [equals](../../java/lang/Object.html#equals%28java.lang.Object%29), [finalize](../../java/lang/Object.html#finalize%28%29), [getClass](../../java/lang/Object.html#getClass%28%29), [hashCode](../../java/lang/Object.html#hashCode%28%29), [notify](../../java/lang/Object.html#notify%28%29), [notifyAll](../../java/lang/Object.html#notifyAll%28%29), [wait](../../java/lang/Object.html#wait%28%29), [wait](../../java/lang/Object.html#wait%28long%29), [wait](../../java/lang/Object.html#wait%28long,int%29)`
Constructor Detail
* #### StyleClass public StyleClass([String](../../java/lang/String.html "class in java.lang") styleClassName, int index)
Method Detail
* #### getStyleClassName public [String](../../java/lang/String.html "class in java.lang") getStyleClassName() Returns: the style-class * #### toString public [String](../../java/lang/String.html "class in java.lang") toString() Description copied from class: `[Object](../../java/lang/Object.html#toString%28%29)` Returns a string representation of the object. In general, the`toString` method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method. The `toString` method for class `Object` returns a string consisting of the name of the class of which the object is an instance, the at-sign character \` `@`', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of: > getClass().getName() + '@' + Integer.toHexString(hashCode()) > Overrides: `[toString](../../java/lang/Object.html#toString%28%29)` in class `[Object](../../java/lang/Object.html "class in java.lang")` Returns: the style-class * #### getIndex public int getIndex()
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.