com.vaadin.flow.component.template.internal.

Class AbstractInjectableElementInitializer

  • java.lang.Object
    • com.vaadin.flow.component.template.internal.AbstractInjectableElementInitializer
    • Constructor Detail

      • AbstractInjectableElementInitializer

        protected AbstractInjectableElementInitializer(Element element)

        Creates an initializer for the element.

        Parameters:

        element - element to initialize

    • Method Detail

      • isStaticAttribute

        protected abstract boolean isStaticAttribute(String name,
                                                     String value)

        Checks whether the attribute declaration is an attribute with a static value ( so it can be set on the serve side).

        Parameters:

        name - the template attribute name

        value - the template attribute value

        Returns:

        whether the attribute declaration is an attribute with a static value

      • getElement

        protected Element getElement()

        Returns server side element to initialize.

        Returns:

        the server side element to initialize