Project

General

Profile

Download (1.28 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.vaadin.event;
10

    
11
import com.vaadin.ui.TextField;
12

    
13
import eu.etaxonomy.vaadin.mvp.AbstractView;
14

    
15
/**
16
 * @author a.kohlbecker
17
 * @since Dec 7, 2017
18
 *
19
 */
20
public class UpdateResultsEvent {
21

    
22
    private AbstractView sourceView = null;
23
    TextField field;
24
    String newText;
25

    
26

    
27
    /**
28
     * @param sourceView
29
     */
30
    public UpdateResultsEvent(TextField field, String newText, AbstractView sourceView) {
31
        super();
32
        this.sourceView = sourceView;
33
        this.field = field;
34
        this.newText = newText;
35
    }
36

    
37
    /**
38
     * @return the sourceView
39
     */
40
    public AbstractView getSourceView() {
41
        return sourceView;
42
    }
43

    
44
    /**
45
     * @param sourceView the sourceView to set
46
     */
47
    public void setSourceView(AbstractView sourceView) {
48
        this.sourceView = sourceView;
49
    }
50

    
51
    /**
52
     * @return the field
53
     */
54
    public TextField getField() {
55
        return field;
56
    }
57

    
58
    /**
59
     * @return the newText
60
     */
61
    public String getNewText() {
62
        return newText;
63
    }
64

    
65

    
66

    
67
}
(29-29/29)