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,AbstractLwtWrappingView,AbstractSwtSpinnerView,AdoptedCommonAttributeContentSwtView,AdoptedCommonAttributeContentSwtView.LwtWrapped,AdoptedExchangePlanContentSwtTreeView,AdoptedExchangePlanContentSwtTreeView.LwtWrapped,AdoptedPredefinedDataSwtTreeView,AdoptedPredefinedDataSwtTreeView.LwtWrapped,AggregatesLwtTableView,AggregatesSwtTableView,CharacteristicsTableView,CommonAttributeContentLwtView,CommonAttributeContentSwtView,CommonAttributesDataLwtView,CommonAttributesDataSwtView,ConfigurationStandaloneContentSwtTreeView,ConfigurationStandaloneContentSwtTreeView.LwtWrapped,DataExchangeSwtTableView,DataExchangeSwtTableView.LwtWrapped,DataSeparatorsLwtView,DataSeparatorsSwtView,DtActionBarView,DtActionBarView,DtColorActionBarView,DtColorActionBarView,DtComboSelectView,DtComboSelectView,DtEditableComboView,DtEditableComboView,DtLabelView,DtPictureView,DtPictureView,DtTableView,DtTreeView,ExchangePlanContentSwtTreeView,ExchangePlanContentSwtTreeView.LwtWrapped,HttpServicesLwtView,HttpServicesSwtView,LwtAllowedIncomingShareRequestTypesView,LwtBigDecimalSpinnerView,LwtButtonView,LwtCharacteristicsTableView,LwtCheckableLabelView,LwtCheckboxView,LwtComboMdPropertyStateView,LwtComboView,LwtCompositeView,LwtConditionalAppearanceView,LwtDateControlView,LwtDateValueView,LwtDistributionSupportTreeView,LwtDoubleSpinnerView,LwtDtTableView,LwtDtTreeView,LwtEmptyHeavyView,LwtGanttChartScalingView,LwtGridView,LwtIconLabelView,LwtImageButtonView,LwtImageComboView,LwtLabelView,LwtLinkView,LwtLongSpinnerView,LwtMdPropertyStateView,LwtMobileApplicationUrlsView,LwtNullableSpinnerView,LwtNumberValueView,LwtPredefinedItemCodeView,LwtPropertiesScrolledCompositeView,LwtPropertiesScrolledCompositeView,LwtRadioGroupView,LwtRadioGroupView,LwtRequiredPermissionMessageView,LwtRequiredPermissionsView,LwtScrolledCompositeContentView,LwtScrolledCompositeView,LwtSectionView,LwtSeparatorView,LwtShortcutView,LwtSpinnerView,LwtTabFolderView,LwtTextPreviewView,LwtTextView,LwtToolBarView,LwtTreeView,LwtView,LwtWebSocketClientHeadersView,LwtWrapperView,NotSupportedLwtView,NotSupportedSwtView,PredefinedAccountAccountingFlagsLwtView,PredefinedAccountAccountingFlagsSwtView,PredefinedAccountExtDimensionTypesLwtView,PredefinedAccountExtDimensionTypesSwtView,PredefinedDataLwtView,PredefinedDataSwtView,ReturnToLwtView,ReturnToSwtView,SelectableLwtLabelView,SelectableSwtLabelView,ShortcutView,SwtAllowedIncomingShareRequestTypesView,SwtBigDecimalSpinnerView,SwtButtonView,SwtCheckableLabelView,SwtCheckBoxView,SwtComboView,SwtCompositeView,SwtConditionalAppearanceView,SwtDateControlView,SwtDateValueView,SwtDistributionSupportTreeView,SwtDoubleSpinnerView,SwtEmptyHeavyView,SwtGanttChartScalingView,SwtGridView,SwtIconLabelView,SwtImageButtonView,SwtLabelView,SwtLinkView,SwtLongSpinnerView,SwtMdPropertyStateView,SwtMobileApplicationUrlsView,SwtNullableSpinnerView,SwtNumberValueView,SwtPredefinedItemCodeView,SwtPropertiesScrolledCompositeView,SwtPropertiesScrolledCompositeView,SwtRadioGroupView,SwtRadioGroupView,SwtRequiredPermissionMessageView,SwtRequiredPermissionsView,SwtScrolledCompositeView,SwtSectionView,SwtSeparatorView,SwtSpinnerView,SwtStandardView,SwtTabFolderView,SwtTextPreviewView,SwtTextView,SwtToolBarView,SwtTreeView,SwtView,SwtWebSocketClientHeadersView,View,WebServicesLwtView,WebServicesSwtView
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
Modifier and TypeMethodDescriptionvoidbindNativeControl(NC control) Binds the native control to this view.voidbindViewModel(VM viewModel) Binds the view model to this view.Gets the bound native control for this view.Gets the bound view model for this view.voidinitialize(P parameters) Initializes this view with parameters.voidUnbinds the native control from this view, if any.voidUnbinds the bound view mode form this view, if any.
-
Method Details
-
initialize
Initializes this view with parameters.- Parameters:
parameters- the parameters to initialize with.
-
bindViewModel
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
nullif no view model is bound.
-
unbindViewModel
void unbindViewModel()Unbinds the bound view mode form this view, if any. -
bindNativeControl
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
nullif no native control is bound.
-
unbindNativeControl
void unbindNativeControl()Unbinds the native control from this view, if any.
-