1 26 27 package org.objectweb.jonas_lib.deployment.xml; 28 29 35 public abstract class AbsDescriptionElement extends AbsElement implements DescriptionGroupXml { 36 37 40 private Icon icon = null; 41 42 45 private String description = null; 46 47 50 private String displayName = null; 51 52 55 public AbsDescriptionElement() { 56 super(); 57 icon = new Icon(); 58 } 59 60 63 public String getDisplayName() { 64 return displayName; 65 } 66 67 68 72 public void setDisplayName(String displayname) { 73 displayName = displayname; 74 } 75 78 public Icon getIcon() { 79 return icon; 80 } 81 82 83 87 public void setIcon(Icon icon) { 88 this.icon = icon; 89 } 90 91 92 96 public void setSmallIcon(String small) { 97 icon.setSmallIcon(small); 98 } 99 100 104 public String setSmallIcon() { 105 return icon.getSmallIcon(); 106 } 107 111 public void setLargeIcon(String large) { 112 icon.setLargeIcon(large); 113 } 114 118 public String setLargeIcon() { 119 return icon.getLargeIcon(); 120 } 121 122 125 public String getDescription() { 126 return description; 127 } 128 129 133 public void setDescription(String description) { 134 this.description = description; 135 } 136 137 } 138 | Popular Tags |