Package com.vaadin.shared.ui
Class AbstractMediaState
- java.lang.Object
-
- com.vaadin.shared.communication.SharedState
-
- com.vaadin.shared.AbstractComponentState
-
- com.vaadin.shared.ui.AbstractMediaState
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AudioState,VideoState
public class AbstractMediaState extends AbstractComponentState
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringaltTextbooleanautoplaybooleanhtmlContentAllowedbooleanloopLooping of media active (true) or not.booleanmutedPreloadModepreloadPreload mode for the media.booleanshowControlsList<URLReference>sourcesList<String>sourceTypes-
Fields inherited from class com.vaadin.shared.AbstractComponentState
caption, captionAsHtml, description, errorLevel, errorMessage, height, id, immediate, primaryStyleName, readOnly, styles, width
-
Fields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources
-
-
Constructor Summary
Constructors Constructor Description AbstractMediaState()
-
-
-
Field Detail
-
showControls
public boolean showControls
-
htmlContentAllowed
public boolean htmlContentAllowed
-
autoplay
@NoLayout public boolean autoplay
-
muted
@NoLayout public boolean muted
-
preload
@NoLayout public PreloadMode preload
Preload mode for the media.- Since:
- 7.7.11
-
loop
@NoLayout public boolean loop
Looping of media active (true) or not.- Since:
- 7.7.11
-
sources
public List<URLReference> sources
-
-