KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > html > dom > HTMLFrameElementImpl


1 /*
2  * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.html.dom;
17
18 import org.w3c.dom.html.HTMLFrameElement;
19
20 /**
21  * @xerces.internal
22  * @version $Revision: 1.11 $ $Date: 2005/04/18 00:46:04 $
23  * @author <a HREF="mailto:arkin@exoffice.com">Assaf Arkin</a>
24  * @see org.w3c.dom.html.HTMLFrameElement
25  * @see org.apache.xerces.dom.ElementImpl
26  */

27 public class HTMLFrameElementImpl
28     extends HTMLElementImpl
29     implements HTMLFrameElement
30 {
31
32     private static final long serialVersionUID = 3905523791584243765L;
33
34     public String JavaDoc getFrameBorder()
35     {
36         return getAttribute( "frameborder" );
37     }
38     
39     
40     public void setFrameBorder( String JavaDoc frameBorder )
41     {
42         setAttribute( "frameborder", frameBorder );
43     }
44   
45   
46     public String JavaDoc getLongDesc()
47     {
48         return getAttribute( "longdesc" );
49     }
50     
51     
52     public void setLongDesc( String JavaDoc longDesc )
53     {
54         setAttribute( "longdesc", longDesc );
55     }
56   
57   
58     public String JavaDoc getMarginHeight()
59     {
60         return getAttribute( "marginheight" );
61     }
62     
63     
64     public void setMarginHeight( String JavaDoc marginHeight )
65     {
66         setAttribute( "marginheight", marginHeight );
67     }
68   
69   
70     public String JavaDoc getMarginWidth()
71     {
72         return getAttribute( "marginwidth" );
73     }
74     
75     
76     public void setMarginWidth( String JavaDoc marginWidth )
77     {
78         setAttribute( "marginwidth", marginWidth );
79     }
80   
81   
82     public String JavaDoc getName()
83     {
84         return getAttribute( "name" );
85     }
86     
87     
88     public void setName( String JavaDoc name )
89     {
90         setAttribute( "name", name );
91     }
92
93     
94     public boolean getNoResize()
95     {
96         return getBinary( "noresize" );
97     }
98     
99     
100     public void setNoResize( boolean noResize )
101     {
102         setAttribute( "noresize", noResize );
103     }
104
105     
106     public String JavaDoc getScrolling()
107     {
108         return capitalize( getAttribute( "scrolling" ) );
109     }
110     
111     
112     public void setScrolling( String JavaDoc scrolling )
113     {
114         setAttribute( "scrolling", scrolling );
115     }
116   
117   
118     public String JavaDoc getSrc()
119     {
120         return getAttribute( "src" );
121     }
122     
123     
124     public void setSrc( String JavaDoc src )
125     {
126         setAttribute( "src", src );
127     }
128
129     
130     /**
131      * Constructor requires owner document.
132      *
133      * @param owner The owner HTML document
134      */

135     public HTMLFrameElementImpl( HTMLDocumentImpl owner, String JavaDoc name )
136     {
137         super( owner, name );
138     }
139   
140
141 }
142
143
Popular Tags