Class GraphicalSchemeEventHandlerComponent
- 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.ContainerComponent<IHandlerCollectionModel,VoidParameterization>
-
- com._1c.g5.v8.dt.bp.scheme.ui.aef.components.GraphicalSchemeEventHandlerComponent
-
- All Implemented Interfaces:
IComponent<IHandlerCollectionModel>
,IEventChannel
public class GraphicalSchemeEventHandlerComponent extends ContainerComponent<IHandlerCollectionModel,VoidParameterization>
Graphical scheme item event component
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description GraphicalSchemeEventHandlerComponent(VoidParameterization parameterization)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
attachToModel()
Attaches this component to the model.protected void
createComponents()
Creates the child components of this component.protected StandardComponent<IHandlerModel<?>,?>
createEventSelectionComponent()
Create an event selection inner component.protected void
detachFromModel()
Detaches this component from the model.void
dispose()
Disposes this component, its view models and its child components.protected String
getEventName(Event event)
Returns an event localized name for the given event.-
Methods inherited from class com._1c.g5.aef2.standard.components.ContainerComponent
addComponent, button, button, checkBox, checkBox, combo, createContainerViewModel, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, text, updateViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, disposeViewModels, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, setLayoutData, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, beginExternalUpdate, checkComponents, checkViewModels, commit, 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
-
GraphicalSchemeEventHandlerComponent
public GraphicalSchemeEventHandlerComponent(VoidParameterization parameterization)
Constructor.- Parameters:
parameterization
- - component parametrization. Can't benull
.
-
-
Method Detail
-
dispose
public void dispose()
Description copied from interface:IComponent
Disposes this component, its view models and its child components.- Specified by:
dispose
in interfaceIComponent<IHandlerCollectionModel>
- Overrides:
dispose
in classComponent<IHandlerCollectionModel,VoidParameterization>
-
attachToModel
protected void attachToModel()
Description copied from class:Component
Attaches this component to the model. Override it to add some listeners to the model.- Overrides:
attachToModel
in classComponent<IHandlerCollectionModel,VoidParameterization>
-
detachFromModel
protected void detachFromModel()
Description copied from class:Component
Detaches this component from the model. Override it to remove listeners from the model.- Overrides:
detachFromModel
in classComponent<IHandlerCollectionModel,VoidParameterization>
-
createComponents
protected void createComponents()
Description copied from class:Component
Creates the child components of this component. Override it to fill a component with a child components.Method can be called multiple times.
- Overrides:
createComponents
in classComponent<IHandlerCollectionModel,VoidParameterization>
-
createEventSelectionComponent
protected StandardComponent<IHandlerModel<?>,?> createEventSelectionComponent()
Create an event selection inner component.- Returns:
- new event selection inner component. Can't return
null
.
-
-