com.vaadin.ui.renderers.

Interface Renderer<T>

    • Method Detail

      • getPresentationType

        Class<T> getPresentationType()

        Returns the class literal corresponding to the presentation type T.

        Returns:

        the class literal of T

      • encode

        elemental.json.JsonValue encode​(T value)

        Encodes the given value into a JsonValue.

        Parameters:

        value - the value to encode

        Returns:

        a JSON representation of the given value

      • remove

        @Deprecated
        void remove()
        Deprecated.

        This method is inherited from Extension but should never be called directly with a Renderer.

        Specified by:

        remove in interface Extension

      • setParent

        @Deprecated
        void setParent​(ClientConnector parent)
        Deprecated.

        This method is inherited from Extension but should never be called directly with a Renderer.

        Specified by:

        setParent in interface Extension

        Parameters:

        parent - the parent connector