Package com._1c.g5.aef2.views
Interface IView<P extends IRenderingParameters,VM extends IControlViewModel,NC>
-
- All Known Implementing Classes:
AbstractDtComboView
,AbstractDtEditorBarView
,AbstractDtSelectView
,AbstractDtSelectView
,AbstractHeavyCompositeWrapperView
,AbstractHeavyControlWrapperView
,AbstractHeavyWrapperView
,AbstractLwtSpinnerView
,AbstractLwtStandardView
,AbstractSwtSpinnerView
,CommonAttributeContentSwtView
,ConfigurationStandaloneContentSwtTreeView
,ConfigurationStandaloneContentSwtTreeView.LwtWrapped
,DataExchangeSwtTableView
,DataExchangeSwtTableView.LwtWrapped
,DtActionBarView
,DtActionBarView
,DtColorActionBarView
,DtColorActionBarView
,DtComboSelectView
,DtComboSelectView
,DtEditableComboView
,DtEditableComboView
,DtLabelView
,DtPictureView
,DtPictureView
,DtTableView
,DtTreeView
,ExchangePlanContentSwtTreeView
,ExchangePlanContentSwtTreeView.LwtWrapped
,LwtBigDecimalSpinnerView
,LwtButtonView
,LwtCheckableLabelView
,LwtCheckboxView
,LwtComboMdPropertyStateView
,LwtComboView
,LwtCompositeView
,LwtConditionalAppearanceView
,LwtDateControlView
,LwtDateValueView
,LwtDoubleSpinnerView
,LwtDtTableView
,LwtDtTreeView
,LwtGanttChartScalingView
,LwtGridView
,LwtImageButtonView
,LwtImageComboView
,LwtLabelView
,LwtLinkView
,LwtLongSpinnerView
,LwtMdPropertyStateView
,LwtNullableSpinnerView
,LwtNumberValueView
,LwtPredefinedItemCodeView
,LwtPropertiesScrolledCompositeView
,LwtPropertiesScrolledCompositeView
,LwtRadioGroupView
,LwtScrolledCompositeContentView
,LwtScrolledCompositeView
,LwtSectionView
,LwtSeparatorView
,LwtShortcutView
,LwtSpinnerView
,LwtTabFolderView
,LwtTextPreviewView
,LwtTextView
,LwtToolBarView
,LwtView
,LwtWrapperView
,PredefinedDataLwtView
,PredefinedDataSwtView
,ShortcutView
,SwtBigDecimalSpinnerView
,SwtButtonView
,SwtCheckableLabelView
,SwtCheckBoxView
,SwtComboView
,SwtCompositeView
,SwtConditionalAppearanceView
,SwtDateControlView
,SwtDateValueView
,SwtDoubleSpinnerView
,SwtGanttChartScalingView
,SwtGridView
,SwtImageButtonView
,SwtLabelView
,SwtLinkView
,SwtLongSpinnerView
,SwtMdPropertyStateView
,SwtNullableSpinnerView
,SwtNumberValueView
,SwtPredefinedItemCodeView
,SwtPropertiesScrolledCompositeView
,SwtPropertiesScrolledCompositeView
,SwtRadioGroupView
,SwtScrolledCompositeView
,SwtSectionView
,SwtSeparatorView
,SwtSpinnerView
,SwtStandardView
,SwtTabFolderView
,SwtTextPreviewView
,SwtTextView
,SwtToolBarView
,SwtView
,View
public interface IView<P extends IRenderingParameters,VM extends IControlViewModel,NC>
Represents an AEF view. The view is a connecting layer between the view models and the native UI framework widgets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bindNativeControl(NC control)
Binds the native control to this view.void
bindViewModel(VM viewModel)
Binds the view model to this view.NC
getNativeControl()
Gets the bound native control for this view.VM
getViewModel()
Gets the bound view model for this view.void
initialize(P parameters)
Initializes this view with parameters.void
unbindNativeControl()
Unbinds the native control from this view, if any.void
unbindViewModel()
Unbinds the bound view mode form this view, if any.
-
-
-
Method Detail
-
initialize
void initialize(P parameters)
Initializes this view with parameters.- Parameters:
parameters
- the parameters to initialize with.
-
bindViewModel
void bindViewModel(VM viewModel)
Binds the view model to this view.- Parameters:
viewModel
- the view model to bind.
-
getViewModel
VM getViewModel()
Gets the bound view model for this view.- Returns:
- the view model or
null
if no view model is bound.
-
unbindViewModel
void unbindViewModel()
Unbinds the bound view mode form this view, if any.
-
bindNativeControl
void bindNativeControl(NC control)
Binds the native control to this view.- Parameters:
control
- the control to bind.
-
getNativeControl
NC getNativeControl()
Gets the bound native control for this view.- Returns:
- the native control or
null
if no native control is bound.
-
unbindNativeControl
void unbindNativeControl()
Unbinds the native control from this view, if any.
-
-