Class LwtLabelView
- java.lang.Object
-
- com._1c.g5.aef2.views.View<LwtRenderingParameters,VM,LC>
-
- com._1c.g5.aef2.lwt.views.LwtView<VM,LC>
-
- com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView<LabelViewModel,LightLabel>
-
- com._1c.g5.aef2.standard.lwt.views.LwtLabelView
-
- All Implemented Interfaces:
IView<LwtRenderingParameters,LabelViewModel,LightLabel>
public class LwtLabelView extends AbstractLwtStandardView<LabelViewModel,LightLabel>
The LWT label view.
-
-
Constructor Summary
Constructors Constructor Description LwtLabelView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbind(LabelViewModel viewModel, LightLabel lightControl)Binds the view model and native control together to this view.LightLabelcreateControl(ILightComposite lightComposite, LabelViewModel viewModel)Creates a light control for the view without decorations.-
Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView
createLightControl, setEnabledApperance
-
Methods inherited from class com._1c.g5.aef2.lwt.views.LwtView
getContentControl, handleFocusEvent, isControlDisposed, setContentControl, uiAsyncExec, uiSyncExec
-
Methods inherited from class com._1c.g5.aef2.views.View
bindListener, bindNativeControl, bindValue, bindValue, bindViewModel, getNativeControl, getParameters, getViewModel, handleEventChannelEvent, initialize, manageObservable, queueAndWaitEvent, queueEvent, registerEventChannelListener, unbind, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
-
-
-
-
Method Detail
-
createControl
public LightLabel createControl(ILightComposite lightComposite, LabelViewModel viewModel)
Description copied from class:AbstractLwtStandardViewCreates a light control for the view without decorations.- Specified by:
createControlin classAbstractLwtStandardView<LabelViewModel,LightLabel>- Parameters:
lightComposite- the parent light composite.viewModel- the view mode to create a control for.- Returns:
- the newly created control.
-
bind
protected void bind(LabelViewModel viewModel, LightLabel lightControl)
Description copied from class:ViewBinds the view model and native control together to this view. Override this method to customize the binding.- Overrides:
bindin classAbstractLwtStandardView<LabelViewModel,LightLabel>- Parameters:
viewModel- the view model to bind.lightControl- the native control to bind.
-
-