Class LayerListenerFixture

java.lang.Object
org.eclipse.nebula.widgets.nattable.test.fixture.layer.LayerListenerFixture
All Implemented Interfaces:
ILayerListener

public class LayerListenerFixture extends Object implements ILayerListener
This class helps us test the event flow by providing access to the ILayerEvent fired.
  • Constructor Details

    • LayerListenerFixture

      public LayerListenerFixture()
  • Method Details

    • handleLayerEvent

      public void handleLayerEvent(ILayerEvent event)
      Description copied from interface: ILayerListener
      Handle an event notification from an ILayer
      Specified by:
      handleLayerEvent in interface ILayerListener
      Parameters:
      event - the event
    • getReceivedEvents

      public List<ILayerEvent> getReceivedEvents()
    • clearReceivedEvents

      public void clearReceivedEvents()
    • getEventsCount

      public int getEventsCount()
    • containsInstanceOf

      public boolean containsInstanceOf(Class<? extends ILayerEvent> class1)
    • getReceivedEvent

      public ILayerEvent getReceivedEvent(Class<? extends ILayerEvent> class1)