001 
002 /*
003  *  JScripter Standard 1.0 - To Script In Java
004  *  Copyright (C) 2008-2011  J.J.Liu<jianjunliu@126.com> <http://www.jscripter.org>
005  *  
006  *  This program is free software: you can redistribute it and/or modify
007  *  it under the terms of the GNU Affero General Public License as published by
008  *  the Free Software Foundation, either version 3 of the License, or
009  *  (at your option) any later version.
010  *  
011  *  This program is distributed in the hope that it will be useful,
012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014  *  GNU Affero General Public License for more details.
015  *  
016  *  You should have received a copy of the GNU Affero General Public License
017  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
018  */
019 
020 package js.user;
021 
022 import js.*;
023 import js.core.*;
024 
025 /**
026  * <p>An <b>opaque</b> class representing JavaScript client-side objects of the global 
027  * {@link JsClient#HTMLIFrameElement} class.</p>
028  * <p>This class represents an inline sub-window 
029  * in an HTML page, or a {@link JsHTMLElement} object created with the HTML 
030  * <tt>&lt;iframe&gt;</tt> tag.</p>
031  * <p>An object of this class behaves very much like that of {@link JsHTMLFrameElement} 
032  * except for small differences in their attribute members. {@link JsHTMLIFrameElement} 
033  * objects become part of the {@link JsWindow#frames} array of the containing window. 
034  * When accessed through that array, they are represented by {@link JsWindow}, and the 
035  * properties listed in {@link JsHTMLIFrameElement} do not apply.</p> 
036  * <p>When an <tt>&lt;iframe&gt;</tt> element is accessed as a document element by ID 
037  * or tag name, it is represented by this class, with all the properties available. Use 
038  * {@link JsHTMLIFrameElement#src} to query or set the URL of the element, and use 
039  * {@link JsHTMLIFrameElement#contentDocument} to access the contents of the <tt>&lt;iframe&gt;</tt> 
040  * element. Be aware, however, that the same-origin policy may prevent access to the 
041  * {@link JsHTMLIFrameElement#contentDocument} property.</p> 
042  *
043  * @author <a href="mailto:jianjunliu@126.com">J.J.Liu (Jianjun Liu)</a> at <a href="http://www.jscripter.org" target="_blank">http://www.jscripter.org</a>
044  * @see JsWindow#frames
045  * @see JsHTMLFrameElement
046  *
047  * @javascript <b>Opaque</b> types can be resolved but no class objects for them can be
048  * generated into the target codes. Re-compilers must exit with error on the operations of
049  * accessing that kind of class objects.
050  * The <tt>checkcast</tt> operation to the class literal of this interface must be ignored
051  * and <tt>instanceof</tt> to it always <tt>true</tt>.
052  */
053 public class JsHTMLIFrameElement extends JsClient.HTMLIFrameElement.Prototype
054 {
055     /**
056      * <p>An <b>internal</b> class containing membership data for its enclosing
057      * opaque class.</p>
058      * <p>This class is only used inside of <b>opaque</b> or <b>internal</b> classes or
059      * class members.</p>
060      *
061      * @author <a href="mailto:jianjunliu@126.com">J.J.Liu (Jianjun Liu)</a> at <a href="http://www.jscripter.org" target="_blank">http://www.jscripter.org</a>
062      * 
063      * @javascript Re-compilers must report error on resolving an <b>internal</b> class.
064      */
065     protected static abstract class Members extends JsClient.HTMLIFrameElement.Prototype.Members
066     {
067         /**
068          * <p>An <b>internal</b> static field defining a member ID of the field name and
069          * used internally to define a member of the same name.</p>
070          * @since 1.0
071          * @see JsHTMLIFrameElement#contentDocument
072          * @see JsHTMLIFrameElement.Member#contentDocument
073          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
074          */
075         public final static Mid contentDocument = id("contentDocument");
076         /**
077          * <p>An <b>internal</b> static field defining a member ID of the field name and
078          * used internally to define a member of the same name.</p>
079          * @since 1.0
080          * @see JsHTMLIFrameElement#src
081          * @see JsHTMLIFrameElement.Member#src
082          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
083          */
084         public final static Mid src             = id("src"            );
085         /**
086          * <p>An <b>internal</b> static field defining a member ID of the field name and
087          * used internally to define a member of the same name.</p>
088          * @since 1.0
089          * @see JsHTMLIFrameElement#align
090          * @see JsHTMLIFrameElement.Member#align
091          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
092          */
093         public final static Mid align           = id("align"          );
094         /**
095          * <p>An <b>internal</b> static field defining a member ID of the field name and
096          * used internally to define a member of the same name.</p>
097          * @since 1.0
098          * @see JsHTMLIFrameElement#frameBorder
099          * @see JsHTMLIFrameElement.Member#frameBorder
100          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
101          */
102         public final static Mid frameBorder     = id("frameBorder"    );
103         /**
104          * <p>An <b>internal</b> static field defining a member ID of the field name and
105          * used internally to define a member of the same name.</p>
106          * @since 1.0
107          * @see JsHTMLIFrameElement#height
108          * @see JsHTMLIFrameElement.Member#height
109          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
110          */
111         public final static Mid height          = id("height"         );
112         /**
113          * <p>An <b>internal</b> static field defining a member ID of the field name and
114          * used internally to define a member of the same name.</p>
115          * @since 1.0
116          * @see JsHTMLIFrameElement#longDesc
117          * @see JsHTMLIFrameElement.Member#longDesc
118          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
119          */
120         public final static Mid longDesc        = id("longDesc"       );
121         /**
122          * <p>An <b>internal</b> static field defining a member ID of the field name and
123          * used internally to define a member of the same name.</p>
124          * @since 1.0
125          * @see JsHTMLIFrameElement#marginHeight
126          * @see JsHTMLIFrameElement.Member#marginHeight
127          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
128          */
129         public final static Mid marginHeight    = id("marginHeight"   );
130         /**
131          * <p>An <b>internal</b> static field defining a member ID of the field name and
132          * used internally to define a member of the same name.</p>
133          * @since 1.0
134          * @see JsHTMLIFrameElement#marginWidth
135          * @see JsHTMLIFrameElement.Member#marginWidth
136          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
137          */
138         public final static Mid marginWidth     = id("marginWidth"    );
139         /**
140          * <p>An <b>internal</b> static field defining a member ID of the field name and
141          * used internally to define a member of the same name.</p>
142          * @since 1.0
143          * @see JsHTMLIFrameElement#name
144          * @see JsHTMLIFrameElement.Member#name
145          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
146          */
147         public final static Mid name            = id("name"           );
148         /**
149          * <p>An <b>internal</b> static field defining a member ID of the field name and
150          * used internally to define a member of the same name.</p>
151          * @since 1.0
152          * @see JsHTMLIFrameElement#scrolling
153          * @see JsHTMLIFrameElement.Member#scrolling
154          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
155          */
156         public final static Mid scrolling       = id("scrolling"      );
157         /**
158          * <p>An <b>internal</b> static field defining a member ID of the field name and
159          * used internally to define a member of the same name.</p>
160          * @since 1.0
161          * @see JsHTMLIFrameElement#width
162          * @see JsHTMLIFrameElement.Member#width
163          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
164          */
165         public final static Mid width           = id("width"          );
166     }
167     /**
168      * <p>An <b>opaque</b> class representing members of its enclosing <b>opaque</b> type.</p>
169      * <p>Note that, this class is <b>opaque</b> but its constructors are all <b>internal</b>. 
170      * This class and the subclasses of this class are used to declare either <b>opaque</b> 
171      * <tt>public</tt> instance fields of the opaque type {@link js.Var.Member} or the 
172      * <b>opaque</b> <tt>public</tt> static fields of other <b>opaque</b> types while their 
173      * constructors are used to define the fields inside <b>opaque</b> classes. Under 
174      * either circumstance, the field names must be exactly same as the member names, as 
175      * the <b>opaque</b> fields of <b>opaque</b> types are resolved by re-compilers directly 
176      * based on the field names.</p>
177      *
178      * @author <a href="mailto:jianjunliu@126.com">J.J.Liu (Jianjun Liu)</a> at <a href="http://www.jscripter.org" target="_blank">http://www.jscripter.org</a>
179      * 
180      * @javascript <b>Opaque</b> types can be resolved but no class objects for them can be created
181      * in the target codes. Re-compilers must exit with error on operations accessing that kind 
182      * of class objects.
183      * Re-compilers must resolve an <b>opaque</b> instance field declared by this class in
184      * {@link js.Var.Member} or its subclasses to the JavaScript identifier: 
185      * <pre>q.m</pre>
186      * where <tt>m</tt> is the identifier of the field name and <tt>q</tt> is the identifier
187      * resolved from the instance of the enclosing member. Re-compilers must resolve an 
188      * <b>opaque</b> static field declared by this class in <b>opaque</b> types other than 
189      * {@link js.Var.Member} and its subclasses to the JavaScript identifier: 
190      * <pre>m</pre>
191      * where <tt>m</tt> is the identifier of the field name. And re-compilers must report
192      * error on the access to <b>opaque</b> fields declared by this class under any other 
193      * circumstances.
194      */
195     public static class Member extends JsClient.HTMLIFrameElement.Prototype.Member
196     {
197         /**
198          * <p>Internally constructs a member based on a qualifying member.</p>
199          * <p>This constructor is <b>internal</b> and only called inside of <b>opaque</b>
200          * or <b>internal</b> classes or class members.</p>
201          * <p>Note that, this constructor is <b>internal</b> but its declaring class is
202          * <b>opaque</b>. This constructor is used to define <b>opaque</b> instance fields 
203          * declared in the declaring class of this constructor itself or its subclasses. 
204          * Under this circumstance, the field names must be exactly same as the member 
205          * names, as the <b>opaque</b> instance fields of the <b>opaque</b> type 
206          * {@link js.Var.Member} or its subclasses are resolved by re-compilers directly
207          * to their names appending to the name resolved from the specified qualifying 
208          * member with a dot in between.</p>
209          * @param q A qualifying member
210          * @param mid The ID of the member to construct
211          * @since 1.0
212          * @javascript Re-compilers must report error on the invocation to an <b>internal</b> constructor.
213          */
214         public Member(JsObject.Member q, Mid mid) {
215             super(q, mid);
216         }
217         /**
218          * <p>Internally constructs a member without a qualifying member.</p>
219          * <p>This constructor is <b>internal</b> and only called inside of <b>opaque</b>
220          * or <b>internal</b> classes or class members.</p>
221          * <p>Note that, this constructor is <b>internal</b> but its declaring class is
222          * <b>opaque</b>. This constructor is used to define <b>opaque</b> static fields, 
223          * declared in <b>opaque</b> types other than the declaring class of this constructor 
224          * itself and its subclasses. Under this circumstance, the field names must be
225          * exactly same as the member names, as the <b>opaque</b> static fields of <b>opaque</b>
226          * types are generally resolved by re-compilers directly to identifiers of their names.</p>
227          * @param mid The ID of the member to construct
228          * @since 1.0
229          * @javascript Re-compilers must report error on the invocation to an <b>internal</b> constructor.
230          */
231         public Member(Mid mid) {
232             super(mid);
233         }
234         @Override
235         /**
236          * <p>Evaluates the property, represented by the current member instance, of the
237          * argument object.</p>
238          * @param o The argument object
239          * @return The value of the current member based on the object argument.
240          * @since 1.0
241          * @javascript Re-compilers must convert the instance invocation of this method into
242          * the JavaScript expression: 
243          * <pre>o.m</pre>
244          * where <tt>m</tt> is the identifier name resolved from the current member
245          * instance of the invocation.
246          */
247         public JsHTMLIFrameElement with(ObjectLike o) {
248             return new JsHTMLIFrameElement(super.with(o));
249         }
250 
251         /**
252          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
253          * name of this field, qualified by the current member instance of the field, and 
254          * to access the property of the name on an object.</p>
255          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
256          * object is a read-only reference to the document this frame contains, if there 
257          * is any and it is available, or <tt>null</tt> otherwise.</p> 
258          * @since 1.0
259          * @javascript Re-compilers must resolve the member of this instance field to the
260          * identifier of the field name appending to the identifier resolved from its 
261          * qualifying member with a dot in between.
262          */
263         public final JsHTMLDocument.Member contentDocument = new JsHTMLDocument.Member(this, Members.contentDocument);
264         /**
265          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
266          * name of this field, qualified by the current member instance of the field, and 
267          * to access the property of the name on an object.</p>
268          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
269          * object refers to a string designating the URL from which the initial content 
270          * was loaded. Setting this property causes the frame to load a new document. 
271          * The property simply mirrors the <tt>src</tt> attribute of the HTML <tt>&lt;frame&gt;</tt> 
272          * tag and it is not a {@link JsLocation} object like {@link JsWindow#location}.</p> 
273          * @since 1.0
274          * @javascript Re-compilers must resolve the member of this instance field to the
275          * identifier of the field name appending to the identifier resolved from its 
276          * qualifying member with a dot in between.
277          */
278         public final Value.String.Member src          = new Value.String.Member(this, Members.src         );
279         /**
280          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
281          * name of this field, qualified by the current member instance of the field, and 
282          * to access the property of the name on an object.</p>
283          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
284          * object refers to a string specifying the horizontal alignment of the element 
285          * with respect to the surrounding context. Possible values are:
286          * <ul>
287          * <li><tt>"left"</tt>: text lines are rendered flush left.</li>
288          * <li><tt>"center"</tt>: text lines are centered.</li>
289          * <li><tt>"right"</tt>: text lines are rendered flush right.</li>
290          * <li><tt>"justify"</tt>: text lines are justified to both margins.</li>
291          * </ul>
292          * The default value of this attribute depends on the base text direction. 
293          * For left to right text, the default is "left", while for right to left text, 
294          * it is "right".</p>
295          * <p>This attribute is deprecated by HTML 4.01 and should be handled by style sheets.</p> 
296          * @since 1.0
297          * @javascript Re-compilers must resolve the member of this instance field to the
298          * identifier of the field name appending to the identifier resolved from its 
299          * qualifying member with a dot in between.
300          */
301         public final Value.String.Member align        = new Value.String.Member(this, Members.align       );
302         /**
303          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
304          * name of this field, qualified by the current member instance of the field, and 
305          * to access the property of the name on an object.</p>
306          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
307          * object refers to a string specifying the requested frame borders. 
308          * Set the property to "0" for a frame without borders.</p>
309          * @since 1.0
310          * @javascript Re-compilers must resolve the member of this instance field to the
311          * identifier of the field name appending to the identifier resolved from its 
312          * qualifying member with a dot in between.
313          */
314         public final Value.String.Member frameBorder  = new Value.String.Member(this, Members.frameBorder );
315         /**
316          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
317          * name of this field, qualified by the current member instance of the field, and 
318          * to access the property of the name on an object.</p>
319          * @since 1.0
320          * @javascript Re-compilers must resolve the member of this instance field to the
321          * identifier of the field name appending to the identifier resolved from its 
322          * qualifying member with a dot in between.
323          */
324         public final Value.String.Member height       = new Value.String.Member(this, Members.height      );
325         /**
326          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
327          * name of this field, qualified by the current member instance of the field, and 
328          * to access the property of the name on an object.</p>
329          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
330          * object refers to a string designating a long description of this frame. The 
331          * description should supplement the short description provided by the {@link JsHTMLElement#title} 
332          * attribute, and may be particularly useful for non-visual web browsers.</p>
333          * @since 1.0
334          * @javascript Re-compilers must resolve the member of this instance field to the
335          * identifier of the field name appending to the identifier resolved from its 
336          * qualifying member with a dot in between.
337          */
338         public final Value.String.Member longDesc     = new Value.String.Member(this, Members.longDesc    );
339         /**
340          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
341          * name of this field, qualified by the current member instance of the field, and 
342          * to access the property of the name on an object.</p>
343          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
344          * object refers to a string designating the amount of space to be left between 
345          * the frame's contents in its left and right margins. The value must be greater 
346          * than zero in pixels. The default value depends on the web browser.</p>
347          * @since 1.0
348          * @javascript Re-compilers must resolve the member of this instance field to the
349          * identifier of the field name appending to the identifier resolved from its 
350          * qualifying member with a dot in between.
351          */
352         public final Value.String.Member marginHeight = new Value.String.Member(this, Members.marginHeight);
353         /**
354          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
355          * name of this field, qualified by the current member instance of the field, and 
356          * to access the property of the name on an object.</p>
357          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
358          * object refers to a string designating the amount of space to be left between 
359          * the frame's contents in its top and bottom margins. The value must be greater 
360          * than zero in pixels. The default value depends on the web browser.</p>
361          * @since 1.0
362          * @javascript Re-compilers must resolve the member of this instance field to the
363          * identifier of the field name appending to the identifier resolved from its 
364          * qualifying member with a dot in between.
365          */
366         public final Value.String.Member marginWidth  = new Value.String.Member(this, Members.marginWidth );
367         /**
368          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
369          * name of this field, qualified by the current member instance of the field, and 
370          * to access the property of the name on an object.</p>
371          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
372          * object refers to a string assigning a name to the current frame. The name 
373          * may be used as the target of subsequent links.</p> 
374          * @since 1.0
375          * @javascript Re-compilers must resolve the member of this instance field to the
376          * identifier of the field name appending to the identifier resolved from its 
377          * qualifying member with a dot in between.
378          */
379         public final Value.String.Member name         = new Value.String.Member(this, Members.name        );
380         /**
381          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
382          * name of this field, qualified by the current member instance of the field, and 
383          * to access the property of the name on an object.</p>
384          * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
385          * object refers to a string specifying whether or not the frame should have 
386          * scrollbars. Possible values: 
387          * <ul>
388          * <li><tt>"auto"</tt>: Tells the browser to provide scrollbars for the frame 
389          * window when necessary. This is the default value.</li>
390          * <li><tt>"yes"</tt>: Tells the browser to always provide scrollbars for the 
391          * frame window.</li>
392          * <li><tt>"no"</tt>: Tells the browser not to provide scrollbars for the frame 
393          * window.</li>
394          * </ul></p>
395          * @since 1.0
396          * @javascript Re-compilers must resolve the member of this instance field to the
397          * identifier of the field name appending to the identifier resolved from its 
398          * qualifying member with a dot in between.
399          */
400         public final Value.String.Member scrolling    = new Value.String.Member(this, Members.scrolling   );
401         /**
402          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
403          * name of this field, qualified by the current member instance of the field, and 
404          * to access the property of the name on an object.</p>
405          * @since 1.0
406          * @javascript Re-compilers must resolve the member of this instance field to the
407          * identifier of the field name appending to the identifier resolved from its 
408          * qualifying member with a dot in between.
409          */
410         public final Value.String.Member width        = new Value.String.Member(this, Members.width       );
411     }
412 
413     /**
414      * <p>Casts an <b>opaque</b> object to the current <b>opaque</b> type by wrapping it
415      * with the wrapping constructor.</p>
416      * @param var The argument of an <b>opaque</b> object.
417      * @since 1.0
418      * @javascript Re-compilers must ignore the construction operation of this constructor,
419      * that is, replacing it with its only argument.
420      */
421     public JsHTMLIFrameElement(JsObject var) {
422         super(var);
423     }
424 
425     /**
426      * <p>An <b>opaque</b> static field defining a member that is named by the field name
427      * without a qualifying member and to access the property of the name on an object.</p>
428      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
429      * object is a read-only reference to the document this frame contains, if there 
430      * is any and it is available, or <tt>null</tt> otherwise.</p> 
431      * @since 1.0
432      * @javascript Re-compilers must resolve the member of this static field to the
433      * identifier of the field name.
434      */
435     public static final JsHTMLDocument.Member contentDocument = new JsHTMLDocument.Member(Members.contentDocument);
436     /**
437      * <p>An <b>opaque</b> static field defining a member that is named by the field name
438      * without a qualifying member and to access the property of the name on an object.</p>
439      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
440      * object refers to a string designating the URL from which the initial content 
441      * was loaded. Setting this property causes the frame to load a new document. 
442      * The property simply mirrors the <tt>src</tt> attribute of the HTML <tt>&lt;frame&gt;</tt> 
443      * tag and it is not a {@link JsLocation} object like {@link JsWindow#location}.</p> 
444      * @since 1.0
445      * @javascript Re-compilers must resolve the member of this static field to the
446      * identifier of the field name.
447      */
448     public static final Value.String.Member src          = new Value.String.Member(Members.src         );
449     /**
450      * <p>An <b>opaque</b> static field defining a member that is named by the field name
451      * without a qualifying member and to access the property of the name on an object.</p>
452      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
453      * object refers to a string specifying the horizontal alignment of the element 
454      * with respect to the surrounding context. Possible values are:
455      * <ul>
456      * <li><tt>"left"</tt>: text lines are rendered flush left.</li>
457      * <li><tt>"center"</tt>: text lines are centered.</li>
458      * <li><tt>"right"</tt>: text lines are rendered flush right.</li>
459      * <li><tt>"justify"</tt>: text lines are justified to both margins.</li>
460      * </ul>
461      * The default value of this attribute depends on the base text direction. 
462      * For left to right text, the default is "left", while for right to left text, 
463      * it is "right".</p>
464      * <p>This attribute is deprecated by HTML 4.01 and should be handled by style sheets.</p> 
465      * @since 1.0
466      * @javascript Re-compilers must resolve the member of this static field to the
467      * identifier of the field name.
468      */
469     public static final Value.String.Member align        = new Value.String.Member(Members.align       );
470     /**
471      * <p>An <b>opaque</b> static field defining a member that is named by the field name
472      * without a qualifying member and to access the property of the name on an object.</p>
473      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
474      * object refers to a string specifying the requested frame borders. 
475      * Set the property to "0" for a frame without borders.</p>
476      * @since 1.0
477      * @javascript Re-compilers must resolve the member of this static field to the
478      * identifier of the field name.
479      */
480     public static final Value.String.Member frameBorder  = new Value.String.Member(Members.frameBorder );
481     /**
482      * <p>An <b>opaque</b> static field defining a member that is named by the field name
483      * without a qualifying member and to access the property of the name on an object.</p>
484      * @since 1.0
485      * @javascript Re-compilers must resolve the member of this static field to the
486      * identifier of the field name.
487      */
488     public static final Value.String.Member height       = new Value.String.Member(Members.height      );
489     /**
490      * <p>An <b>opaque</b> static field defining a member that is named by the field name
491      * without a qualifying member and to access the property of the name on an object.</p>
492      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
493      * object refers to a string designating a long description of this frame. The 
494      * description should supplement the short description provided by the {@link JsHTMLElement#title} 
495      * attribute, and may be particularly useful for non-visual web browsers.</p>
496      * @since 1.0
497      * @javascript Re-compilers must resolve the member of this static field to the
498      * identifier of the field name.
499      */
500     public static final Value.String.Member longDesc     = new Value.String.Member(Members.longDesc    );
501     /**
502      * <p>An <b>opaque</b> static field defining a member that is named by the field name
503      * without a qualifying member and to access the property of the name on an object.</p>
504      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
505      * object refers to a string designating the amount of space to be left between 
506      * the frame's contents in its left and right margins. The value must be greater 
507      * than zero in pixels. The default value depends on the web browser.</p>
508      * @since 1.0
509      * @javascript Re-compilers must resolve the member of this static field to the
510      * identifier of the field name.
511      */
512     public static final Value.String.Member marginHeight = new Value.String.Member(Members.marginHeight);
513     /**
514      * <p>An <b>opaque</b> static field defining a member that is named by the field name
515      * without a qualifying member and to access the property of the name on an object.</p>
516      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
517      * object refers to a string designating the amount of space to be left between 
518      * the frame's contents in its top and bottom margins. The value must be greater 
519      * than zero in pixels. The default value depends on the web browser.</p>
520      * @since 1.0
521      * @javascript Re-compilers must resolve the member of this static field to the
522      * identifier of the field name.
523      */
524     public static final Value.String.Member marginWidth  = new Value.String.Member(Members.marginWidth );
525     /**
526      * <p>An <b>opaque</b> static field defining a member that is named by the field name
527      * without a qualifying member and to access the property of the name on an object.</p>
528      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
529      * object refers to a string assigning a name to the current frame. The name 
530      * may be used as the target of subsequent links.</p> 
531      * @since 1.0
532      * @javascript Re-compilers must resolve the member of this static field to the
533      * identifier of the field name.
534      */
535     public static final Value.String.Member name         = new Value.String.Member(Members.name        );
536     /**
537      * <p>An <b>opaque</b> static field defining a member that is named by the field name
538      * without a qualifying member and to access the property of the name on an object.</p>
539      * @since 1.0
540      * @javascript Re-compilers must resolve the member of this static field to the
541      * identifier of the field name.
542      */
543     public static final Value.String.Member scrolling    = new Value.String.Member(Members.scrolling   );
544     /**
545      * <p>An <b>opaque</b> static field defining a member that is named by the field name
546      * without a qualifying member and to access the property of the name on an object.</p>
547      * <p>The property, identified by this member, of a {@link JsHTMLIFrameElement} 
548      * object refers to a string specifying whether or not the frame should have 
549      * scrollbars. Possible values: 
550      * <ul>
551      * <li><tt>"auto"</tt>: Tells the browser to provide scrollbars for the frame 
552      * window when necessary. This is the default value.</li>
553      * <li><tt>"yes"</tt>: Tells the browser to always provide scrollbars for the 
554      * frame window.</li>
555      * <li><tt>"no"</tt>: Tells the browser not to provide scrollbars for the frame 
556      * window.</li>
557      * </ul></p>
558      * @since 1.0
559      * @javascript Re-compilers must resolve the member of this static field to the
560      * identifier of the field name.
561      */
562     public static final Value.String.Member width        = new Value.String.Member(Members.width       );
563 
564     @Override
565     /**
566      * <p>Returns the primitive value associated with the current instance, if there is one.
567      * This invocation simply returns the instance itself for the current instance is an 
568      * object and there is no primitive value for it.</p>
569      * @return The current object itself.
570      * @since 1.0
571      * @javascript Re-compilers must convert the instance invocation of this method directly
572      * into a JavaScript invocation on its current object instance without changing the 
573      * method name, but expanding variable arguments, if any, into comma-separated values. 
574      */
575     public final JsHTMLIFrameElement valueOf() {
576         return new JsHTMLIFrameElement((JsObject)var().valueOf());
577     }
578 }