Skip to content

MaterialDesignJsVeiwRenderer / view.core.renderers.viewRenderers.layouts / LayoutRenderer / <init>

<init>

LayoutRenderer(view:L)

This constructor is used when rendering the view for the first time.

LayoutRenderer(view:L, element: <ERROR CLASS>, reRendering:Boolean= true)

This is the base class for renderers that render layout views.

The procedure for rendering layout views goes as follows:

  1. The AbstractViewRenderer applies common view attributes.
  2. This class applies scrolling to the element
  3. Renders any newly added children or all children if the view is being rendered for the first time.
  4. Removes any child UI components that were removed from the layout view

Listener functions for child view rendering/removal so that subclassing layout renderers can apply layout specific positioning logic.