All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.fhframework.events.ViewEvent Maven / Gradle / Ivy

package pl.fhframework.events;

import lombok.Getter;
import lombok.Setter;
import pl.fhframework.model.forms.Component;
import pl.fhframework.model.forms.Form;
import pl.fhframework.model.forms.FormElement;

/**
 * Created by krzysztof.kobylarek on 2016-10-20.
 */
//consider if we would be able to merge it with class EventData
@Getter @Setter
public class ViewEvent {
    Component sourceObject;
    Form sourceForm;
    Object optionalValue;

    public ViewEvent(Component sourceObject, Form sourceForm) {
        this.sourceObject = sourceObject;
        this.sourceForm = sourceForm;
    }

    public ViewEvent(Component sourceObject, Form sourceForm, Object optionalValue) {
        this.sourceObject = sourceObject;
        this.sourceForm = sourceForm;
        this.optionalValue = optionalValue;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy