- Timestamp:
- Apr 20, 2010, 5:21:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/ViewItem.java
r862 r865 4 4 import de.dass_it.vanhelsing.gui.items.ItemType; 5 5 import de.dass_it.vanhelsing.gui.items.UserObjectItem; 6 6 /** 7 * The class ViewItem is used for the visualization of a SimpleResource object. 8 * Rendered SimpleResources are ArrayLists of ViewItem objects. 9 * @author tgoecke 10 * 11 */ 7 12 public class ViewItem extends ItemType implements UserObjectItem { 8 13 private String key; … … 16 21 private String selectOneMenu; 17 22 private String radioGroup; 18 19 23 public ViewItem(){ 20 24 inputText = null; … … 48 52 49 53 50 //Methoden aus ItemType für die Zuordnung von Änderungen51 54 public int getResId(){ 52 55 return super.getResId(); … … 93 96 return selectOneMenu; 94 97 } 95 98 /** 99 * Set the string property of the intended render type to the value of the none empty string "bernd" 100 * @param r valid inputs are inputText, selectOneMenu and radioGroup 101 */ 96 102 public void setRendererFlag(String r){ 97 103 if (r.equals("inputText")) { … … 105 111 } 106 112 } 107 113 /** 114 * Key-Value-Pairs for the SelectOneMenu 115 * @return an array of key value pairs as an SelectItem object array 116 */ 108 117 public SelectItem[] getKeyValueList() { 109 118 return keyValueList; 110 119 } 111 120 /** 121 * 122 * @param keyValueList 123 */ 112 124 public void setKeyValueList(SelectItem[] keyValueList) { 113 125 this.keyValueList = keyValueList;
Note:
See TracChangeset
for help on using the changeset viewer.