* Constructor.
*/
public MediaDemo() {
super(ComponentDemoId.media, "Media");
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Typical, "Typical", this,
new String[]{
"/components/graphic/media/mediaTypical.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.AllControls, "All controls", this,
new String[]{
"/components/graphic/media/mediaAllControls.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Link, this,
new String[]{
"/components/graphic/media/mediaLink.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.NoControls, "No controls", this,
new String[]{
"/components/graphic/media/mediaNoControls.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Quicktime, this,
new String[]{
"/components/graphic/media/mediaQuicktime.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Real, this,
new String[]{
"/components/graphic/media/mediaReal.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Windows, this,
new String[]{
"/components/graphic/media/mediaWindows.xhtml"
}));
setDefaultVariant(VARIANTS.Typical);