}
@PostConstructResource
public final void initialize() {
FacesContext context = FacesContext.getCurrentInstance();
Skin skin = SkinFactory.getInstance(context).getSkin(context);
String gradientTypeString = null;
if (gradientTypeString == null || gradientTypeString.length() == 0) {
gradientTypeString = (String) skin.getParameter(context, Skin.GRADIENT_TYPE);
}
this.gradientType = GradientType.getByParameter(gradientTypeString);
initializeProperties(context, skin);
this.headerBackgroundColor = skin.getColorParameter(context, baseColor);
this.headerGradientColor = skin.getColorParameter(context, gradientColor);
}