Package com._1c.g5.aef2.standard.events
Class SelectionEvent
- java.lang.Object
-
- com._1c.g5.aef2.events.ViewModelEvent
-
- com._1c.g5.aef2.standard.events.SelectionEvent
-
- All Implemented Interfaces:
IEvent
- Direct Known Subclasses:
TableSelectionEvent,TreeSelectionEvent
public class SelectionEvent extends ViewModelEvent
Selection event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelectionEvent.SelectionType
-
Constructor Summary
Constructors Constructor Description SelectionEvent(IViewModel viewModel)Instantiates a new event.SelectionEvent(IViewModel viewModel, ClientSelectionEvent.ClientSelectionType type)Instantiates a new event with the givenClientSelectionEvent.ClientSelectionType(which will be translated intoSelectionEvent.SelectionType).SelectionEvent(IViewModel viewModel, SelectionEvent.SelectionType type)Instantiates a new event with the given type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectionEvent.SelectionTypegetType()-
Methods inherited from class com._1c.g5.aef2.events.ViewModelEvent
getViewModel
-
-
-
-
Constructor Detail
-
SelectionEvent
public SelectionEvent(IViewModel viewModel, SelectionEvent.SelectionType type)
Instantiates a new event with the given type.- Parameters:
viewModel- the view model.type- the type of the selection event.
-
SelectionEvent
public SelectionEvent(IViewModel viewModel, ClientSelectionEvent.ClientSelectionType type)
Instantiates a new event with the givenClientSelectionEvent.ClientSelectionType(which will be translated intoSelectionEvent.SelectionType).- Parameters:
viewModel- The view modeltype- The client selection type to be translated
-
SelectionEvent
public SelectionEvent(IViewModel viewModel)
Instantiates a new event.- Parameters:
viewModel- the view model.
-
-
Method Detail
-
getType
public SelectionEvent.SelectionType getType()
- Returns:
- the type of the event.
-
-