if (newElementRenderer == null) {
this.elementRenderer = new ElementRenderer[0];
} else {
this.elementRenderer = newElementRenderer;
}
this.effectManager = new EffectManager();
this.effectManager.setAlternateKey(nifty.getAlternateKey());
this.layoutPart = newLayoutPart;
this.enabled = true;
this.enabledCount = 0;
this.visible = true;