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:
- The AbstractViewRenderer applies common view attributes.
- This class applies scrolling to the element
- Renders any newly added children or all children if the view is being rendered for the first time.
- 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.