Class LayerListenerFixture
java.lang.Object
org.eclipse.nebula.widgets.nattable.test.fixture.layer.LayerListenerFixture
- All Implemented Interfaces:
ILayerListener
This class helps us test the event flow by providing access to the
ILayerEvent fired.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancontainsInstanceOf(Class<? extends ILayerEvent> class1) intgetReceivedEvent(Class<? extends ILayerEvent> class1) voidhandleLayerEvent(ILayerEvent event) Handle an event notification from anILayer
-
Constructor Details
-
LayerListenerFixture
public LayerListenerFixture()
-
-
Method Details
-
handleLayerEvent
Description copied from interface:ILayerListenerHandle an event notification from anILayer- Specified by:
handleLayerEventin interfaceILayerListener- Parameters:
event- the event
-
getReceivedEvents
-
clearReceivedEvents
public void clearReceivedEvents() -
getEventsCount
public int getEventsCount() -
containsInstanceOf
-
getReceivedEvent
-