1:
37:
38: package ;
39:
40: import ;
41: import ;
42: import ;
43:
44:
49: public class DomHTMLObjectElement
50: extends DomHTMLElement
51: implements HTMLObjectElement
52: {
53:
54: protected DomHTMLObjectElement(DomHTMLDocument owner, String namespaceURI,
55: String name)
56: {
57: super(owner, namespaceURI, name);
58: }
59:
60: public HTMLFormElement getForm()
61: {
62: return (HTMLFormElement) getParentElement("form");
63: }
64:
65: public String getCode()
66: {
67: return getHTMLAttribute("code");
68: }
69:
70: public void setCode(String code)
71: {
72: setHTMLAttribute("code", code);
73: }
74:
75: public String getAlign()
76: {
77: return getHTMLAttribute("align");
78: }
79:
80: public void setAlign(String align)
81: {
82: setHTMLAttribute("align", align);
83: }
84:
85: public String getArchive()
86: {
87: return getHTMLAttribute("archive");
88: }
89:
90: public void setArchive(String archive)
91: {
92: setHTMLAttribute("archive", archive);
93: }
94:
95: public String getBorder()
96: {
97: return getHTMLAttribute("border");
98: }
99:
100: public void setBorder(String border)
101: {
102: setHTMLAttribute("border", border);
103: }
104:
105: public String getCodeBase()
106: {
107: return getHTMLAttribute("codebase");
108: }
109:
110: public void setCodeBase(String codeBase)
111: {
112: setHTMLAttribute("codebase", codeBase);
113: }
114:
115: public String getCodeType()
116: {
117: return getHTMLAttribute("codetype");
118: }
119:
120: public void setCodeType(String codeType)
121: {
122: setHTMLAttribute("codetype", codeType);
123: }
124:
125: public String getData()
126: {
127: return getHTMLAttribute("data");
128: }
129:
130: public void setData(String data)
131: {
132: setHTMLAttribute("data", data);
133: }
134:
135: public boolean getDeclare()
136: {
137: return getBooleanHTMLAttribute("declare");
138: }
139:
140: public void setDeclare(boolean declare)
141: {
142: setBooleanHTMLAttribute("declare", declare);
143: }
144:
145: public String getHeight()
146: {
147: return getHTMLAttribute("height");
148: }
149:
150: public void setHeight(String height)
151: {
152: setHTMLAttribute("height", height);
153: }
154:
155: public int getHspace()
156: {
157: return getIntHTMLAttribute("hspace");
158: }
159:
160: public void setHspace(int hspace)
161: {
162: setIntHTMLAttribute("hspace", hspace);
163: }
164:
165: public String getName()
166: {
167: return getHTMLAttribute("name");
168: }
169:
170: public void setName(String name)
171: {
172: setHTMLAttribute("name", name);
173: }
174:
175: public String getStandby()
176: {
177: return getHTMLAttribute("standby");
178: }
179:
180: public void setStandby(String standby)
181: {
182: setHTMLAttribute("standby", standby);
183: }
184:
185: public int getTabIndex()
186: {
187: return getIntHTMLAttribute("tabindex");
188: }
189:
190: public void setTabIndex(int tabIndex)
191: {
192: setIntHTMLAttribute("tabindex", tabIndex);
193: }
194:
195: public String getType()
196: {
197: return getHTMLAttribute("type");
198: }
199:
200: public void setType(String type)
201: {
202: setHTMLAttribute("type", type);
203: }
204:
205: public String getUseMap()
206: {
207: return getHTMLAttribute("usemap");
208: }
209:
210: public void setUseMap(String useMap)
211: {
212: setHTMLAttribute("usemap", useMap);
213: }
214:
215: public int getVspace()
216: {
217: return getIntHTMLAttribute("vspace");
218: }
219:
220: public void setVspace(int vspace)
221: {
222: setIntHTMLAttribute("vspace", vspace);
223: }
224:
225: public String getWidth()
226: {
227: return getHTMLAttribute("width");
228: }
229:
230: public void setWidth(String width)
231: {
232: setHTMLAttribute("width", width);
233: }
234:
235: public Document getContentDocument()
236: {
237:
238: return null;
239: }
240:
241: }