Class LwtStandardRenderer
- java.lang.Object
- 
- com._1c.g5.aef2.renderers.Renderer<ILightControl,LwtRenderingParameters>
- 
- com._1c.g5.aef2.lwt.LwtRenderer
- 
- com._1c.g5.aef2.standard.lwt.renderers.LwtStandardRenderer
 
 
 
- 
- All Implemented Interfaces:
- IRenderer<LwtRenderingParameters>
 - Direct Known Subclasses:
- DtLwtRenderer,- LwtPropertyPaletteRenderer
 
 public class LwtStandardRenderer extends LwtRenderer LWT standard controls renderer.
- 
- 
Constructor SummaryConstructors Constructor Description LwtStandardRenderer()Creates a new renderer.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyLayout(IControlViewModel viewModel, ILightControl lightControl)Applies a layout to the given native control.protected <VM extends IViewModel>
 booleancontainsHeavyControls(VM viewModel)Returnstrueif the view model or one of its child corresponds to heavy view.protected ILightLayoutconvertLayout(IAefLayout layout, ILightControl lightControl)Converts the AEF layout to layout for the given native control.protected ILightLayoutDataconvertLayoutData(IAefLayoutData layoutData, ILightControl lightControl)Converts the AEF layout data to layout data for the given native control.protected <VM extends IControlViewModel>
 ILightControlcreateLightControl(IView<LwtRenderingParameters,VM,ILightControl> controlView, VM viewModel, ILightComposite composite, int index)Creates a light control for the given view and view model.protected voiddisposeLightControl(ILightControl lightControl)Disposes the given light control.static IEventChannelgetFocusedEventChannel()voidrender(Iterable<IViewModel> viewModels)Renders the provided view models.- 
Methods inherited from class com._1c.g5.aef2.lwt.LwtRendererdispose, getTargetId, initialize, relayout, viewCanBeReused
 - 
Methods inherited from class com._1c.g5.aef2.renderers.RenderercreateView, findViewClass, getParameters, getTreeTransformation, loadMappings, setMapping, setTreeTransformation
 
- 
 
- 
- 
- 
Method Detail- 
getFocusedEventChannelpublic static IEventChannel getFocusedEventChannel() - Returns:
- the IEventChannelfor the focused view.
 
 - 
renderpublic void render(Iterable<IViewModel> viewModels) Description copied from interface:IRendererRenders the provided view models.- Specified by:
- renderin interface- IRenderer<LwtRenderingParameters>
- Overrides:
- renderin class- LwtRenderer
- Parameters:
- viewModels- the view models to render.
 
 - 
createLightControlprotected <VM extends IControlViewModel> ILightControl createLightControl(IView<LwtRenderingParameters,VM,ILightControl> controlView, VM viewModel, ILightComposite composite, int index) Description copied from class:LwtRendererCreates a light control for the given view and view model.- Overrides:
- createLightControlin class- LwtRenderer
- Parameters:
- controlView- the view to create a light control for.
- viewModel- the view model to create a light control from.
- composite- the light composite.
- index- the created child index.
- Returns:
- the newly created light control.
 
 - 
disposeLightControlprotected void disposeLightControl(ILightControl lightControl) Disposes the given light control. Remove the focus listener about key-binding support.- Overrides:
- disposeLightControlin class- LwtRenderer
- Parameters:
- lightControl- the light control to dispose.
 
 - 
applyLayoutprotected void applyLayout(IControlViewModel viewModel, ILightControl lightControl) Description copied from class:RendererApplies a layout to the given native control.- Specified by:
- applyLayoutin class- Renderer<ILightControl,LwtRenderingParameters>
- Parameters:
- viewModel- the associated view model.
- lightControl- the native control to apply layout to.
 
 - 
convertLayoutprotected ILightLayout convertLayout(IAefLayout layout, ILightControl lightControl) Description copied from class:RendererConverts the AEF layout to layout for the given native control.- Specified by:
- convertLayoutin class- Renderer<ILightControl,LwtRenderingParameters>
- Parameters:
- layout- the AEF layout.
- Returns:
- the converted layout object.
 
 - 
convertLayoutDataprotected ILightLayoutData convertLayoutData(IAefLayoutData layoutData, ILightControl lightControl) Description copied from class:RendererConverts the AEF layout data to layout data for the given native control.- Specified by:
- convertLayoutDatain class- Renderer<ILightControl,LwtRenderingParameters>
- Parameters:
- layoutData- the AEF layout data.
- Returns:
- the converted layout data object.
 
 - 
containsHeavyControlsprotected <VM extends IViewModel> boolean containsHeavyControls(VM viewModel) Returnstrueif the view model or one of its child corresponds to heavy view.- Parameters:
- viewModel- the view model.
- Returns:
- trueif the view model or one of its child corresponds to heavy view.
 
 
- 
 
-