Class ElementClassList

  • All Implemented Interfaces:
    Serializable

    public class ElementClassList
    extends SerializableNodeList<String>
    Handles CSS class names for an element.

    For internal use only. May be renamed or removed in a future release.

    Since:
    1.0
    Author:
    Vaadin Ltd
    See Also:
    Serialized Form
    • Constructor Detail

      • ElementClassList

        public ElementClassList​(StateNode node)
        Creates a new class list for the given node.
        Parameters:
        node - the node that the list belongs to
    • Method Detail

      • getClassList

        public ClassList getClassList()
        Creates a view into this list.
        Returns:
        a view into this list