Package com._1c.g5.aef2.events
Class ViewModelEvent
- java.lang.Object
-
- com._1c.g5.aef2.events.ViewModelEvent
-
- All Implemented Interfaces:
IEvent
- Direct Known Subclasses:
ClickEvent
,ExecuteActionEvent
,FocusEvent
,SelectionEvent
,TabItemChangedEvent
,ValidationRequiredEvent
public class ViewModelEvent extends Object implements IEvent
The view model event. It is used to identify the sender of the event.
-
-
Constructor Summary
Constructors Constructor Description ViewModelEvent(IViewModel viewModel)
Instantiates a newViewModelEvent
with the givenviewModel
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IViewModel
getViewModel()
Returns the event view model.
-
-
-
Constructor Detail
-
ViewModelEvent
public ViewModelEvent(IViewModel viewModel)
Instantiates a newViewModelEvent
with the givenviewModel
.- Parameters:
viewModel
- the view model of the sending part.
-
-
Method Detail
-
getViewModel
public IViewModel getViewModel()
Returns the event view model.- Returns:
- the
IViewModel
-
-