Class SNTEvent

java.lang.Object
sc.fiji.snt.event.SNTEvent

public class SNTEvent extends Object
Base event class for SNT events. Represents various application-level events such as quit, exit, and data transfer operations.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Event type indicating no specific event
    static final int
    Event type indicating a quit/exit event
    static final int
    Event type indicating data should be sent to TrakEM2
    protected int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SNTEvent(int type)
    Constructs a new SNT event with the specified type.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the type of this SNT event.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NO_EVENT

      public static final int NO_EVENT
      Event type indicating no specific event
      See Also:
    • QUIT

      public static final int QUIT
      Event type indicating a quit/exit event
      See Also:
    • SEND_TO_TRAKEM2

      public static final int SEND_TO_TRAKEM2
      Event type indicating data should be sent to TrakEM2
      See Also:
    • type

      protected int type
  • Constructor Details

    • SNTEvent

      public SNTEvent(int type)
      Constructs a new SNT event with the specified type.
      Parameters:
      type - the event type (e.g., NO_EVENT, QUIT, SEND_TO_TRAKEM2)
  • Method Details

    • getType

      public int getType()
      Gets the type of this SNT event.
      Returns:
      the event type