Top Description Fields Constructors Methods
com.sun.javafx.css

public final Class PseudoClassState

extends BitSet<PseudoClass>
Class Inheritance
Imports
javafx.css.PseudoClass, java.util.ArrayList, .HashMap, .Iterator, .List, .Map

States represents a set of State. A Node may be in more than one pseudo-class state. States is used to aggregate the active pseudo-class state of a Node.

Field Summary

Modifier and TypeField and Description
pack-priv static final List<PseudoClass>
pack-priv static final Map<String, Integer>

Constructor Summary

AccessConstructor and Description
public
PseudoClassState()

Create an empty set of PseudoClass

pack-priv
PseudoClassState(List<String> pseudoClassNames)

Method Summary

Modifier and TypeMethod and Description
protected Class<PseudoClass>
getElementType()

Implements abstract com.sun.javafx.css.BitSet.getElementType.

Returns the element type.

protected int
public static PseudoClass
getPseudoClass(String pseudoClass)

pack-priv static PseudoClass
getPseudoClass(int index)

protected PseudoClass
getT(int index)

Implements abstract com.sun.javafx.css.BitSet.getT.

public String
toString()

Overrides java.util.AbstractCollection.toString.

Returns a string representation of this collection.

Inherited from com.sun.javafx.css.BitSet:
addaddAlladdListeneraddListenerclearcontainscontainsAllequalsgetBitshashCodeisEmptyiteratorremoveremoveAllremoveListenerremoveListenerretainAllsize

Field Detail

pseudoClassesback to summary
pack-priv static final List<PseudoClass> pseudoClasses
pseudoClassMapback to summary
pack-priv static final Map<String, Integer> pseudoClassMap

Constructor Detail

PseudoClassStateback to summary
public PseudoClassState()

Create an empty set of PseudoClass

PseudoClassStateback to summary
pack-priv PseudoClassState(List<String> pseudoClassNames)

Method Detail

getElementTypeback to summary
protected Class<PseudoClass> getElementType()

Implements abstract com.sun.javafx.css.BitSet.getElementType.

Doc from com.sun.javafx.css.BitSet.getElementType.

Returns the element type.

Annotations
@Override
getIndexback to summary
protected int getIndex(PseudoClass t)

Implements abstract com.sun.javafx.css.BitSet.getIndex.

Annotations
@Override
getPseudoClassback to summary
public static PseudoClass getPseudoClass(String pseudoClass)
See Also
javafx.css.PseudoClass#getPseudoClass(String)
getPseudoClassback to summary
pack-priv static PseudoClass getPseudoClass(int index)
getTback to summary
protected PseudoClass getT(int index)

Implements abstract com.sun.javafx.css.BitSet.getT.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.util.AbstractCollection.toString.

Doc from java.util.AbstractCollection.toString.

Returns a string representation of this collection. The string representation consists of a list of the collection's elements in the order they are returned by its iterator, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (comma and space). Elements are converted to strings as by String#valueOf(Object).

Annotations
@Override