Class ButtonRenderer

  • All Implemented Interfaces:
    IModelRenderer

    public class ButtonRenderer
    extends ModelRenderer
    This class transforms a button to its viewmodel.
    Since:
    9.2
    Author:
    A.Pragt
    • Constructor Detail

      • ButtonRenderer

        public ButtonRenderer()
    • Method Detail

      • toModel

        public ElementModel toModel​(com.aquima.interactions.composer.IElement element,
                                    IRendererContext context)
        Description copied from interface: IModelRenderer
        This method transforms an element to a viemodel.
        Parameters:
        element - The element to transform, not null.
        context - The context, not null.
        Returns:
        The viewmodel, never null.