You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.template.internal.

Interface DeprecatedPolymerPublishedEventHandler

  • All Superinterfaces:

    Serializable

    All Known Implementing Classes:

    PolymerPublishedEventRpcHandler

    @Deprecated
    public interface DeprecatedPolymerPublishedEventHandler
    extends Serializable
    Deprecated.
    Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.

    Service for injecting the polymer event handler when the module is available.

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

    Since:

    Author:

    Vaadin Ltd

    • Method Summary

      All Methods
      Modifier and Type Method Description
      Object getTemplateItem​(Component template, elemental.json.JsonObject argValue, Type convertedType)

      Deprecated.

      Get the template model object and type.

      boolean isTemplateModelValue​(Component instance, elemental.json.JsonValue argValue, Class<?> convertedType)

      Deprecated.

      Validate that the given Component instance is a PolymerTemplate and that the value can be converted.

    • Method Detail

      • isTemplateModelValue

        boolean isTemplateModelValue​(Component instance,
                                     elemental.json.JsonValue argValue,
                                     Class<?> convertedType)
        Deprecated.

        Validate that the given Component instance is a PolymerTemplate and that the value can be converted.

        Parameters:

        instance - Component to be validated

        argValue - received value

        convertedType - target type that value should be converted to

        Returns:

        true if valid template model value

      • getTemplateItem

        Object getTemplateItem​(Component template,
                               elemental.json.JsonObject argValue,
                               Type convertedType)
        Deprecated.

        Get the template model object and type.

        Parameters:

        template - polymer template to get model from

        argValue - argument value

        convertedType - value type

        Returns:

        the provided model value

        Throws:

        IllegalStateException - if the component is not attached to the UI