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:
- FormCommandSetComponent,- FormConditionalAppearanceComponent,- FormDynamicListComponent,- InfobaseAccessSettingsComponent,- InfobaseAccessSettingsComponent,- LayerItemsComponent,- LegendElementsComponent,- MdPictureComponent,- MobileDigiSignComponent,- OpenEditorByLinkComponent,- OpenEditorInFormByLinkComponent,- OpenGanttChartSettingsEditorByLinkComponent,- OpenGeographicalSchemaEditorInFormByLinkComponent,- OpenGraphicalSchemeEditorInFormByLinkComponent,- OpenMdHelpComponent,- OpenMobileCommandBarElementsByLinkComponent,- OpenMoxelEditorByLinkComponent,- OpenPlannerDimensionsEditorByLinkComponent,- OpenSuppressionSettingsEditorByLinkComponent,- OpenTimeScaleEditorByLinkComponent,- PublicationLinkComponent,- UserVisibilityComponent
public class LinkComponent<M extends IModel>
extends AbstractControlComponent<M,ILinkParametrization,LinkViewModel>  
The link component.
- 
Nested Class SummaryNested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponentStandardComponent.BindingDirection
- 
Constructor SummaryConstructorsConstructorDescriptionLinkComponent(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 SummaryModifier and TypeMethodDescriptionprotected LinkViewModelCreates 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, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponentbindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatusMethods 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 Details- 
LinkComponentInstantiates a new link component with the given parameterization.- Parameters:
- parameterization- the parameterization.
 
- 
LinkComponentInstantiates a new link component.- Parameters:
- text- the link text.
 
- 
LinkComponentInstantiates a new link component.- Parameters:
- text- the link text.
- underlined- is the link text underlined.
 
 
- 
- 
Method Details- 
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> 
 
- 
createControlViewModelDescription 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.
 
- 
handleLinkClickedHandles the link clicked event.- Parameters:
- viewModel- the view model of the event sender.
 
 
-