/** * Constructs an event with the given name * * @param name * The name of this event * @param eventType * The event type of this event * @param component * The component type of this event */ @SuppressWarnings("unchecked") public Event(String name, EventTypes eventType, ComponentHierarchyBase component) { super(ComponentTypes.Event); setID(getClassCanonicalName()); setName(name); setComponent(component); setEventType(eventType); returnVariable(StaticStrings.LOCAL_STORAGE_VARIABLE_KEY); }
/** * Constructs an event with the given name * * @param name * The name of this event * @param eventType * The event type of this event * @param component * The component type of this event */ @SuppressWarnings("unchecked") public Event(String name, EventTypes eventType, ComponentHierarchyBase component) { super(ComponentTypes.Event); setID(getClassCanonicalName()); setName(name); setComponent(component); setEventType(eventType); returnVariable(StaticStrings.LOCAL_STORAGE_VARIABLE_KEY); }
/** * Constructs an event with the given name * * @param name * The name of this event * @param eventType * The event type of this event * @param component * The component type of this event */ @SuppressWarnings("unchecked") public Event(String name, EventTypes eventType, ComponentHierarchyBase component) { super(ComponentTypes.Event); setID(getClassCanonicalName()); setName(name); setComponent(component); setEventType(eventType); returnVariable(StaticStrings.LOCAL_STORAGE_VARIABLE_KEY); }