Class LwtTextView
- 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<TextViewModel,LightText>
-
- com._1c.g5.aef2.standard.lwt.views.LwtTextView
-
- All Implemented Interfaces:
IView<LwtRenderingParameters,TextViewModel,LightText>
public class LwtTextView extends AbstractLwtStandardView<TextViewModel,LightText>
The LWT text view.
-
-
Constructor Summary
Constructors Constructor Description LwtTextView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbind(TextViewModel viewModel, LightText nativeControl)Binds the view model and native control together to this view.protected LightTextcreateControl(ILightComposite parent, TextViewModel 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
-
bind
protected void bind(TextViewModel viewModel, LightText nativeControl)
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<TextViewModel,LightText>- Parameters:
viewModel- the view model to bind.nativeControl- the native control to bind.
-
createControl
protected LightText createControl(ILightComposite parent, TextViewModel viewModel)
Description copied from class:AbstractLwtStandardViewCreates a light control for the view without decorations.- Specified by:
createControlin classAbstractLwtStandardView<TextViewModel,LightText>- Parameters:
parent- the parent light composite.viewModel- the view mode to create a control for.- Returns:
- the newly created control.
-
-