* Constructor.
*/
public PanelHeaderDemo() {
super(ComponentDemoId.panelHeader, "Panel Header");
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ConfirmationMessage, this,
new String[]{
"/components/panel/panelHeader/panelHeaderConfirmationMessage.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ErrorMessage, this,
new String[]{
"/components/panel/panelHeader/panelHeaderErrorMessage.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.InfoMessage, this,
new String[]{
"/components/panel/panelHeader/panelHeaderInfoMessage.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.None, this,
new String[]{
"/components/panel/panelHeader/panelHeaderNone.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.WarningMessage, this,
new String[]{
"/components/panel/panelHeader/panelHeaderWarningMessage.xhtml"
}));
setDefaultVariant(VARIANTS.None);