Package javafx.css

Class SimpleSelector


  • public final class SimpleSelector
    extends Selector
    A simple selector which behaves according to the CSS standard.
    Since:
    9
    • Method Detail

      • getName

        public String getName()
        Returns:
        The name of the java class to which this selector is applied, or *.
      • getStyleClasses

        public List<String> getStyleClasses()
        Returns:
        Immutable List<String> of style-classes of the selector
      • getId

        public String getId()
      • toString

        public String toString()
        Converts this object to a string.
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object.