Ignore:
Timestamp:
Apr 20, 2010, 5:21:42 PM (14 years ago)
Author:
tobias
Message:

comments added
all methods of the wsdl file implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/ViewItem.java

    r862 r865  
    44import de.dass_it.vanhelsing.gui.items.ItemType;
    55import 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 */
    712public class ViewItem extends ItemType implements UserObjectItem {
    813        private String key;
     
    1621        private String selectOneMenu;
    1722        private String radioGroup;
    18 
    1923        public ViewItem(){
    2024                inputText = null;
     
    4852
    4953       
    50         //Methoden aus ItemType für die Zuordnung von Änderungen
    5154        public int getResId(){
    5255                return super.getResId();
     
    9396                return selectOneMenu;
    9497        }
    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         */
    96102        public void setRendererFlag(String r){
    97103                if (r.equals("inputText")) {
     
    105111                }
    106112        }
    107 
     113        /**
     114         * Key-Value-Pairs for the SelectOneMenu
     115         * @return an array of key value pairs as an SelectItem object array
     116         */
    108117        public SelectItem[] getKeyValueList() {
    109118                return keyValueList;
    110119        }
    111 
     120        /**
     121         *
     122         * @param keyValueList
     123         */
    112124        public void setKeyValueList(SelectItem[] keyValueList) {
    113125                this.keyValueList = keyValueList;
Note: See TracChangeset for help on using the changeset viewer.