private SizeValue insetBottom = new SizeValue("0px");
public void activate(final Nifty nifty, final Element element, final EffectProperties parameter) {
try {
PaddingAttributeParser parser = new PaddingAttributeParser(parameter.getProperty("border", "1px"));
borderLeft = new SizeValue(parser.getLeft());
borderRight = new SizeValue(parser.getRight());
borderTop = new SizeValue(parser.getTop());
borderBottom = new SizeValue(parser.getBottom());
parser = new PaddingAttributeParser(parameter.getProperty("color", "#ffff"));
colorLeft = new Color(parser.getLeft());
colorRight = new Color(parser.getRight());
colorTop = new Color(parser.getTop());
colorBottom = new Color(parser.getBottom());
parser = new PaddingAttributeParser(parameter.getProperty("inset", "0px"));
insetLeft = new SizeValue(parser.getLeft());
insetRight = new SizeValue(parser.getRight());
insetTop = new SizeValue(parser.getTop());
insetBottom = new SizeValue(parser.getBottom());
} catch (Exception e) {
log.warning(e.getMessage());
}
}