java.lang.Object
no.ntnu.principes.event.PrincipesEvent<T>
- Type Parameters:
T- The type of payload data associated with the event.
- Direct Known Subclasses:
CloseModalEvent,HouseholdNameChangedEvent,NavigateEvent,NavigationClearStackEvent,OpenModalEvent,TaskCompletionUpdatedEvent,TaskCreatedEvent,TasksCreatedEvent,TasksDistributedEvent
A generic base class for defining events within the application.
The class is parameterized to carry a payload of any type, encapsulating the event-specific data. It serves as a foundation for creating custom event types with additional fields and methods as needed.
Subclasses can extend this class to represent specific event types, encapsulating event-related context and data while leveraging encapsulation and immutability.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrincipesEvent
public PrincipesEvent()
-