Subversion Repositories bacoAlunos

Rev

Rev 1814 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1830 jmachado 1
package pt.estgp.estgweb.utils.documentBuilder;
1814 jmachado 2
 
1830 jmachado 3
import pt.estgp.estgweb.services.data.RepositoryFile4JsonView;
4
import pt.estgp.estgweb.web.controllers.utils.FilesUploadResult;
1814 jmachado 5
 
6
/**
7
 * Created by jorgemachado on 11/10/17.
8
 */
1830 jmachado 9
public class ImageComponent extends SimpleDocComponent
1814 jmachado 10
{
1830 jmachado 11
    RepositoryFile4JsonView image;
12
    int width;
13
    int height;
1814 jmachado 14
 
1830 jmachado 15
    FilesUploadResult filesUploadResult;
16
 
17
    public ImageComponent() {
18
    }
19
 
20
    public ImageComponent(1.5.0/docs/api/java/lang/String.html">String title) {
21
        super(title);
22
    }
23
 
24
    public RepositoryFile4JsonView getImage() {
1814 jmachado 25
        return image;
26
    }
27
 
1830 jmachado 28
    public void setImage(RepositoryFile4JsonView image) {
1814 jmachado 29
        this.image = image;
30
    }
1830 jmachado 31
 
32
    public FilesUploadResult getFilesUploadResult() {
33
        return filesUploadResult;
34
    }
35
 
36
    public void setFilesUploadResult(FilesUploadResult filesUploadResult) {
37
        this.filesUploadResult = filesUploadResult;
38
    }
39
 
40
    public int getWidth() {
41
        return width;
42
    }
43
 
44
    public void setWidth(int width) {
45
        this.width = width;
46
    }
47
 
48
    public int getHeight() {
49
        return height;
50
    }
51
 
52
    public void setHeight(int height) {
53
        this.height = height;
54
    }
1814 jmachado 55
}