/**
* XML Binding
*
- * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (C) 2011 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
*
* Contact:
* GiWoong Kim <giwoong.kim@samsung.com>
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.12.18 at 11:23:37 AM KST
+// Generated on: 2014.12.22 at 07:46:39 PM KST
//
* <all>
* <element name="region" type="{http://www.tizen.org/emulator/skin/dbi}regionType"/>
* <element name="maskImage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="rotaryImage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
@XmlElement(required = true)
protected RegionType region;
protected String maskImage;
+ protected String rotaryImage;
@XmlAttribute(name = "id", required = true)
protected int id;
}
/**
+ * Gets the value of the rotaryImage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRotaryImage() {
+ return rotaryImage;
+ }
+
+ /**
+ * Sets the value of the rotaryImage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRotaryImage(String value) {
+ this.rotaryImage = value;
+ }
+
+ /**
* Gets the value of the id property.
*
*/
public enum SkinImageType {
PROFILE_IMAGE_TYPE_NORMAL,
PROFILE_IMAGE_TYPE_PRESSED,
- DISPLAY_MASK_IMAGE
+ DISPLAY_MASK_IMAGE,
+ DISPLAY_ROTARY_IMAGE
}
private Display display;
String displayMaskKey = makeKey(id, imageType);
skinImageMap.put(displayMaskKey,
new Image(display, skinPath + File.separator + displayMaskImage));
+ } else if (SkinImageType.DISPLAY_ROTARY_IMAGE == imageType) {
+ String displayRotaryImage = rotation.getDisplay().getRotaryImage();
+ if (StringUtil.isEmpty(StringUtil.nvl(displayRotaryImage))) {
+ return null;
+ }
+
+ String displayRotaryKey = makeKey(id, imageType);
+ skinImageMap.put(displayRotaryKey,
+ new Image(display, skinPath + File.separator + displayRotaryImage));
}
break;