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;
 
Deprecated. Defines an embedded applet. See w3schools.

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

Specifies a relative base URL for applets specified in the code attribute

Returns:
a relative base URL for applets specified in the code attribute
 
 	public String getCodebase() {
 		return getAttribute("codebase");
 	}

Specifies the location of an archive file

Returns:
the location of an archive file
 
 	public String getArchive() {
 		return getAttribute("archive");
 	}

Specifies the file name of a Java applet

Returns:
the file name of a Java applet
 
 	public String getCode() {
 		return getAttribute("code");
 	}

Specifies a reference to a serialized representation of an applet

Returns:
a reference to a serialized representation of an applet
 
 	public String getObject() {
 		return getAttribute("object");
 	}

Specifies an alternate text for an applet

Returns:
an alternate text for an applet
 
 	public String getAlt() {
 		return getAttribute("alt");
 	}

Defines the name for an applet (to use in scripts)

Returns:
the name for an applet
 
 	public String getNameAttribute() {
 		return getAttribute("name");
 	}

Specifies the width of an applet

Returns:
the width of an applet
 
 	public String getWidth() {
 		return getAttribute("width");
 	}

Specifies the height of an applet

Returns:
the height of an applet
 
	public String getHeight() {
		return getAttribute("height");
	}

Specifies the alignment of an applet according to surrounding elements

Returns:
the alignment of an applet according to surrounding elements
	public String getAlign() {
		return getAttribute("align");
	}

Defines the horizontal spacing around an applet

Returns:
the horizontal spacing around an applet
	public String getHspace() {
		return getAttribute("hspace");
	}

Defines the vertical spacing around an applet

Returns:
the vertical spacing around an applet
	public String getVspace() {
		return getAttribute("vspace");
	}
New to GrepCode? Check out our FAQ X