* Constructor.
*/
public PanelPopupDemo() {
super(ComponentDemoId.panelPopup, "Panel Popup");
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Relative, this,
new String[]{
"/components/panel/panelPopup/panelPopupRelative.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Centered, this,
new String[]{
"/components/panel/panelPopup/panelPopupCentered.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Hover, this,
new String[]{
"/components/panel/panelPopup/panelPopupHover.xhtml"
}));
setDefaultVariant(VARIANTS.Relative);