public void refreshAttributes(
final Nifty nifty,
final Screen screen,
final Element element,
final ControlAttributes attributes) {
Attributes attrib = new Attributes(getAttributes());
attributes.refreshAttributes(attrib);
applyAttributes(element, attrib, nifty.getRenderEngine());
applyPostAttributes(element, attrib, nifty.getRenderEngine());
attributes.refreshEffects(effects);
screen.layoutLayers();