summaryrefslogtreecommitdiff
path: root/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/VrHelpItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/VrHelpItem.java')
-rwxr-xr-xSDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/VrHelpItem.java55
1 files changed, 0 insertions, 55 deletions
diff --git a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/VrHelpItem.java b/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/VrHelpItem.java
deleted file mode 100755
index 20c9a1e3a..000000000
--- a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/VrHelpItem.java
+++ /dev/null
@@ -1,55 +0,0 @@
-package com.smartdevicelink.proxy.rpc;
-
-import java.util.Hashtable;
-
-import com.smartdevicelink.proxy.RPCStruct;
-import com.smartdevicelink.proxy.constants.Names;
-import com.smartdevicelink.util.DebugTool;
-
-public class VrHelpItem extends RPCStruct {
-
- public VrHelpItem() { }
- public VrHelpItem(Hashtable hash) {
- super(hash);
- }
- public void setText(String text) {
- if (text != null) {
- store.put(Names.text, text);
- } else {
- store.remove(Names.text);
- }
- }
- public String getText() {
- return (String) store.get(Names.text);
- }
- public void setImage(Image image) {
- if (image != null) {
- store.put(Names.image, image);
- } else {
- store.remove(Names.image);
- }
- }
- public Image getImage() {
- Object obj = store.get(Names.image);
- if (obj instanceof Image) {
- return (Image) obj;
- } else if (obj instanceof Hashtable) {
- try {
- return new Image((Hashtable) obj);
- } catch (Exception e) {
- DebugTool.logError("Failed to parse " + getClass().getSimpleName() + "." + Names.image, e);
- }
- }
- return null;
- }
- public void setPosition(Integer position) {
- if (position != null) {
- store.put(Names.position, position);
- } else {
- store.remove(Names.position);
- }
- }
- public Integer getPosition() {
- return (Integer) store.get(Names.position);
- }
-}