Class ButtonComponent
- 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<IModel,ILabeledParametrization,ButtonViewModel>
- 
- com._1c.g5.aef2.standard.components.ButtonComponent
 
 
 
 
- 
- All Implemented Interfaces:
- IComponent<IModel>,- IEventChannel
 
 public class ButtonComponent extends AbstractControlComponent<IModel,ILabeledParametrization,ButtonViewModel> The button component.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponentStandardComponent.BindingDirection
 
- 
 - 
Constructor SummaryConstructors Constructor Description ButtonComponent(ILabeledParametrization parameterization)Instantiates a new component with the given parameterization.ButtonComponent(String text)Instantiates a new component with the given parameters.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ButtonViewModelcreateControlViewModel()Creates control view model instance.- 
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, dispose, 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- 
ButtonComponentpublic ButtonComponent(ILabeledParametrization parameterization) Instantiates a new component with the given parameterization.- Parameters:
- parameterization- the parameterization.
 
 - 
ButtonComponentpublic ButtonComponent(String text) Instantiates a new component with the given parameters.- Parameters:
- text- the text of the button.
 
 
- 
 - 
Method Detail- 
createControlViewModelprotected ButtonViewModel createControlViewModel() Description copied from class:AbstractControlComponentCreates control view model instance.- Specified by:
- createControlViewModelin class- AbstractControlComponent<IModel,ILabeledParametrization,ButtonViewModel>
- Returns:
- a newly created control view model.
 
 
- 
 
-