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 an embedded object

Author(s):
tomason
Version:
$Id: $
 
 public class ObjectTag extends CommonAttributes {
 
 	ObjectTag(BigInteger idHtmlElement parentAttributes attributes) {
 		super(id"object"parentattributes);
 	}

Defines that the object should only be declared, not created or instantiated until needed

Returns:
whether to instantiate lazily
 
 	public String getDeclare() {
 		return getAttribute("declare");
 	}

Defines a class ID value as set in the Windows Registry or a URL

Returns:
class id
 
 	public String getClassid() {
 		return getAttribute("classid");
 	}

Defines where to find the code for the object

Returns:
URL with code base
 
 	public String getCodebase() {
 		return getAttribute("codebase");
 	}

Specifies the URL of the resource to be used by the object

Returns:
URL of data
 
 	public String getData() {
 		return getAttribute("data");
 	}

Specifies the MIME type of data specified in the data attribute

Returns:
MIME type of data
 
 	public String getType() {
 		return getAttribute("type");
 	}

The internet media type of the code referred to by the classid attribute

Returns:
MIME type of media
 
 	public String getCodetype() {
 		return getAttribute("codetype");
 	}

A space separated list of URL's to archives. The archives contains resources relevant to the object

Returns:
list of resources
 
 	public String getArchive() {
 		return getAttribute("archive");
 	}

Defines a text to display while the object is loading

Returns:
text to be displayed while loading
 
	public String getStandby() {
		return getAttribute("standby");
	}

Specifies the height of the object

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

Specifies the width of the object

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

Specifies the name of a client-side image map to be used with the object

Returns:
name of the map
	public String getUsemap() {
		return getAttribute("usemap");
	}

Specifies a name for the object

Returns:
name of the object
		return getAttribute("name");
	}

Specifies the tab order of an element

Returns:
tab indedx
	public String getTabindex() {
		return getAttribute("tabindex");
	}

Specifies the alignment of the element according to surrounding elements

Returns:
alignment of the element
	public String getAlign() {
		return getAttribute("align");
	}

Specifies the width of the border around an element

Returns:
width of the border
	public String getBorder() {
		return getAttribute("border");
	}

Specifies the whitespace on left and right side of an object

Returns:
horizontal whitespace
	public String getHspace() {
		return getAttribute("hspace");
	}

Specifies the whitespace on top and bottom of an object

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