blob: 8cee16575d27343c29a6681f1ca804bf71198cb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
/*
@VaadinApache2LicenseForJavaFiles@
*/
package com.vaadin.shared.ui;
import java.util.ArrayList;
import java.util.List;
import com.vaadin.shared.ComponentState;
import com.vaadin.shared.communication.URLReference;
public class AbstractMediaState extends ComponentState {
private boolean showControls;
private String altText;
private boolean htmlContentAllowed;
private boolean autoplay;
private boolean muted;
private List<URLReference> sources = new ArrayList<URLReference>();
private List<String> sourceTypes = new ArrayList<String>();
public boolean isShowControls() {
return showControls;
}
public void setShowControls(boolean showControls) {
this.showControls = showControls;
}
public String getAltText() {
return altText;
}
public void setAltText(String altText) {
this.altText = altText;
}
public boolean isHtmlContentAllowed() {
return htmlContentAllowed;
}
public void setHtmlContentAllowed(boolean htmlContentAllowed) {
this.htmlContentAllowed = htmlContentAllowed;
}
public boolean isAutoplay() {
return autoplay;
}
public void setAutoplay(boolean autoplay) {
this.autoplay = autoplay;
}
public boolean isMuted() {
return muted;
}
public void setMuted(boolean muted) {
this.muted = muted;
}
public List<URLReference> getSources() {
return sources;
}
public void setSources(List<URLReference> sources) {
this.sources = sources;
}
public List<String> getSourceTypes() {
return sourceTypes;
}
public void setSourceTypes(List<String> sourceTypes) {
this.sourceTypes = sourceTypes;
}
}
|