Interface CloseListener

All Superinterfaces:
java.util.EventListener, org.eclipse.swt.internal.SWTEventListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface CloseListener
extends org.eclipse.swt.internal.SWTEventListener
Classes which implement this interface provide methods that deal with the events that are generated when a Chips widget is closed.

After creating an instance of a class that implements this interface it can be added to a control using the addCloseListener method and removed using the removeCloseListener method. When selection occurs in a control the appropriate method will be invoked.

See Also:
CloseEvent
  • Method Summary

    Modifier and Type Method Description
    void onClose​(CloseEvent event)
    Sent when a Chips widget is closed.
  • Method Details

    • onClose

      void onClose​(CloseEvent event)
      Sent when a Chips widget is closed.
      Parameters:
      e - an event containing information about the chips that is closed