package com.vaadin.ui;
import com.vaadin.terminal.Resource;
-import com.vaadin.terminal.gwt.client.ui.VAudio;
+import com.vaadin.terminal.gwt.client.ui.VAudioPaintable;
/**
* The Audio component translates into an HTML5 <audio> element and as
* @author Vaadin Ltd
* @since 6.7.0
*/
-@ClientWidget(VAudio.class)
+@ClientWidget(VAudioPaintable.class)
public class Audio extends AbstractMedia {
public Audio() {
import com.vaadin.terminal.PaintTarget;
import com.vaadin.terminal.gwt.client.ui.VCheckBox;
-@ClientWidget(com.vaadin.terminal.gwt.client.ui.VCheckBox.class)
+@ClientWidget(com.vaadin.terminal.gwt.client.ui.VCheckBoxPaintable.class)
public class CheckBox extends AbstractField<Boolean> {
/**
* Creates a new checkbox.
import com.vaadin.terminal.PaintException;
import com.vaadin.terminal.PaintTarget;
import com.vaadin.terminal.Resource;
-import com.vaadin.terminal.gwt.client.ui.VVideo;
+import com.vaadin.terminal.gwt.client.ui.VVideoPaintable;
/**
* The Video component translates into an HTML5 <video> element and as
* @author Vaadin Ltd
* @since 6.7.0
*/
-@ClientWidget(VVideo.class)
+@ClientWidget(VVideoPaintable.class)
public class Video extends AbstractMedia {
private Resource poster;
public void paintContent(PaintTarget target) throws PaintException {
super.paintContent(target);
if (getPoster() != null) {
- target.addAttribute(VVideo.ATTR_POSTER, getPoster());
+ target.addAttribute(VVideoPaintable.ATTR_POSTER, getPoster());
}
}
}