/**
*
*/
public static RotationEnum getRotationValue(JRComponentElement element) {
RotationEnum ownRotation = ((BarbecueComponent)element.getComponent()).getOwnRotation();
if (ownRotation != null) {
return ownRotation;
}
JRStyle style = JRStyleResolver.getBaseStyle(element);
if (style != null) {
RotationEnum rotation = style.getRotationValue();
if (rotation != null) {
return rotation;
}
}
return RotationEnum.NONE;