Package sc.fiji.snt.event
Class SNTEvent
java.lang.Object
sc.fiji.snt.event.SNTEvent
Base event class for SNT events. Represents various application-level events
such as quit, exit, and data transfer operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEvent type indicating no specific eventstatic final intEvent type indicating a quit/exit eventstatic final intEvent type indicating data should be sent to TrakEM2protected int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NO_EVENT
public static final int NO_EVENTEvent type indicating no specific event- See Also:
-
QUIT
public static final int QUITEvent type indicating a quit/exit event- See Also:
-
SEND_TO_TRAKEM2
public static final int SEND_TO_TRAKEM2Event 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
-