1 57 package org.enhydra.apache.wml.dom; 58 59 import org.enhydra.apache.wml.WMLSelectElement; 60 61 65 66 public class WMLSelectElementImpl extends WMLElementImpl implements WMLSelectElement { 67 68 public WMLSelectElementImpl (WMLDocumentImpl owner, String tagName) { 69 super( owner, tagName); 70 } 71 72 public void setMultiple(boolean newValue) { 73 setAttribute("multiple", newValue); 74 } 75 76 public boolean getMultiple() { 77 return getAttribute("multiple", false); 78 } 79 80 public void setValue(String newValue) { 81 setAttribute("value", newValue); 82 } 83 84 public String getValue() { 85 return getAttribute("value"); 86 } 87 88 public void setTabIndex(int newValue) { 89 setAttribute("tabindex", newValue); 90 } 91 92 public int getTabIndex() { 93 return getAttribute("tabindex", 0); 94 } 95 96 public void setClassName(String newValue) { 97 setAttribute("class", newValue); 98 } 99 100 public String getClassName() { 101 return getAttribute("class"); 102 } 103 104 public void setXmlLang(String newValue) { 105 setAttribute("xml:lang", newValue); 106 } 107 108 public String getXmlLang() { 109 return getAttribute("xml:lang"); 110 } 111 112 public void setTitle(String newValue) { 113 setAttribute("title", newValue); 114 } 115 116 public String getTitle() { 117 return getAttribute("title"); 118 } 119 120 public void setIValue(String newValue) { 121 setAttribute("ivalue", newValue); 122 } 123 124 public String getIValue() { 125 return getAttribute("ivalue"); 126 } 127 128 public void setId(String newValue) { 129 setAttribute("id", newValue); 130 } 131 132 public String getId() { 133 return getAttribute("id"); 134 } 135 136 public void setIName(String newValue) { 137 setAttribute("iname", newValue); 138 } 139 140 public String getIName() { 141 return getAttribute("iname"); 142 } 143 144 public void setName(String newValue) { 145 setAttribute("name", newValue); 146 } 147 148 public String getName() { 149 return getAttribute("name"); 150 } 151 } 152 | Popular Tags |