Class LinkComponent<M extends IModel>
- java.lang.Object
- 
- com._1c.g5.aef2.components.Component<M,P>
- 
- com._1c.g5.aef2.standard.components.StandardComponent<M,P>
- 
- com._1c.g5.aef2.standard.components.AbstractControlComponent<M,ILinkParametrization,LinkViewModel>
- 
- com._1c.g5.aef2.standard.components.LinkComponent<M>
 
 
 
 
- 
- All Implemented Interfaces:
- IComponent<M>,- IEventChannel
 - Direct Known Subclasses:
- MdPictureComponent,- MobileDigiSignComponent,- OpenEditorByLinkComponent,- OpenEditorInFormByLinkComponent,- OpenGeographicalSchemaEditorInFormByLinkComponent,- OpenGraphicalSchemeEditorInFormByLinkComponent,- OpenMdHelpComponent,- OpenMoxelEditorByLinkComponent,- OpenSuppressionSettingsEditorByLinkComponent,- OpenTimeScaleEditorByLinkComponent
 
 public class LinkComponent<M extends IModel> extends AbstractControlComponent<M,ILinkParametrization,LinkViewModel> The link component.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponentStandardComponent.BindingDirection
 
- 
 - 
Constructor SummaryConstructors Constructor Description LinkComponent(ILinkParametrization parameterization)Instantiates a new link component with the given parameterization.LinkComponent(String text)Instantiates a new link component.LinkComponent(String text, boolean underlined)Instantiates a new link component.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LinkViewModelcreateControlViewModel()Creates control view model instance.voiddispose()Disposes this component, its view models and its child components.protected voidhandleLinkClicked(IViewModel viewModel)Handles the link clicked event.- 
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponentcreateViewModels, disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModels
 - 
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponentbindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
 - 
Methods inherited from class com._1c.g5.aef2.components.ComponentaddComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, disposeComponents, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
 
- 
 
- 
- 
- 
Constructor Detail- 
LinkComponentpublic LinkComponent(ILinkParametrization parameterization) Instantiates a new link component with the given parameterization.- Parameters:
- parameterization- the parameterization.
 
 - 
LinkComponentpublic LinkComponent(String text) Instantiates a new link component.- Parameters:
- text- the link text.
 
 - 
LinkComponentpublic LinkComponent(String text, boolean underlined) Instantiates a new link component.- Parameters:
- text- the link text.
- underlined- is the link text underlined.
 
 
- 
 - 
Method Detail- 
disposepublic void dispose() Description copied from interface:IComponentDisposes this component, its view models and its child components.- Specified by:
- disposein interface- IComponent<M extends IModel>
- Overrides:
- disposein class- Component<M extends IModel,ILinkParametrization>
 
 - 
createControlViewModelprotected LinkViewModel createControlViewModel() Description copied from class:AbstractControlComponentCreates control view model instance.- Specified by:
- createControlViewModelin class- AbstractControlComponent<M extends IModel,ILinkParametrization,LinkViewModel>
- Returns:
- a newly created control view model.
 
 - 
handleLinkClickedprotected void handleLinkClicked(IViewModel viewModel) Handles the link clicked event.- Parameters:
- viewModel- the view model of the event sender.
 
 
- 
 
-