Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2011 Tomas Schlosser
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 package org.anadix.html;
 
Defines a window (a frame) in a frameset

Author(s):
tomason
Version:
$Id: $
 
 public class FrameTag extends CoreAttributes {
 
 	FrameTag(BigInteger idHtmlElement parentAttributes attributes) {
 		super(id"frame"parentattributes);
 	}

Specifies a page that contains a long description of the content of a frame

Returns:
URL of page with long description
 
 	public String getLongdesc() {
 		return getAttribute("longdesc");
 	}

Specifies the name of a frame

Returns:
name of the frame
 
 	public String getNameAttribute() {
 		return getAttribute("name");
 	}

Specifies the URL of the document to show in a frame

Returns:
url of content
 
 	public String getSrc() {
 		return getAttribute("src");
 	}

Specifies whether or not to display a border around a frame

Returns:
display a border
 
 	public String getFrameborder() {
 		return getAttribute("frameborder");
 	}

Specifies the left and right margins of a frame

Returns:
horizontal margin
 
 	public String getMarginwidth() {
 		return getAttribute("marginwidth");
 	}

Specifies the top and bottom margins of a frame

Returns:
vertical margin
 
 	public String getMarginheight() {
 		return getAttribute("marginheight");
 	}

Specifies that a frame is not resizable

Returns:
whether the frame is resizable
 
 	public String getNoresize() {
 		return getAttribute("noresize");
 	}

Specifies whether or not to display scrollbars in a frame

Returns:
whether the frame has scrolling visible
 
	public String getScrolling() {
		return getAttribute("scrolling");
	}
New to GrepCode? Check out our FAQ X