Interface Renderer<A extends Action>

All Known Subinterfaces:
WrappingRenderer<A>
All Known Implementing Classes:
AbstractRenderer, CompactButtonRenderer, ExtensionSignalTransporter.SendSignalRenderer, ListColumnExportRenderer, OnSaveRenderer, PrefixSuffixRenderer, ResetMetadataRenderer, StartServiceRenderer, StopServiceRenderer, TabControl, ToolbarButtonRenderer, ValidationRenderer

public interface Renderer<A extends Action>
A renderer is an object that knows how to render an action in the client interface. In the web client, this usually means outputting some HTML. In other types of clients, this may mean something completely different, such as creating a swing button, or menu item.
Version:
2.7
Author:
nicklas
Last modified
$Date: 2023-02-22 08:58:38 +0100 (Wed, 22 Feb 2023) $
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(A action)
    Deprecated.
    In 3.19.8, implement the render(Action, Extension) method instead.
    default void
    render(A action, Extension<? extends A> ext)
    Render the action in the client application.
  • Method Details

    • render

      @Deprecated void render(A action)
      Deprecated.
      In 3.19.8, implement the render(Action, Extension) method instead. This method will never be called from the BASE core except for the default implementation of render(Action, Extension).
      Render the action in the client application.
      Parameters:
      action - The action to render
    • render

      default void render(A action, Extension<? extends A> ext)
      Render the action in the client application.

      The default implementation of this method simply call the render(Action) method.

      Parameters:
      action - The action to render
      Since:
      3.19.8