org.anadix.html
Class ObjectTag

java.lang.Object
  extended by org.anadix.html.HtmlElement
      extended by org.anadix.html.CoreAttributes
          extended by org.anadix.html.ObjectTag
All Implemented Interfaces:
Comparable<HtmlElement>, Element

public class ObjectTag
extends CoreAttributes

Defines an embedded object

Version:
$Id: $
Author:
tomason

Method Summary
 String getAlign()
          Specifies the alignment of the element according to surrounding elements
 String getArchive()
          A space separated list of URL's to archives.
 String getBorder()
          Specifies the width of the border around an element
 String getClassid()
          Defines a class ID value as set in the Windows Registry or a URL
 String getCodebase()
          Defines where to find the code for the object
 String getCodetype()
          The internet media type of the code referred to by the classid attribute
 String getData()
          Specifies the URL of the resource to be used by the object
 String getDeclare()
          Defines that the object should only be declared, not created or instantiated until needed
 String getDir()
          Specifies the text direction for the content in an element
 String getHeight()
          Specifies the height of the object
 String getHspace()
          Specifies the whitespace on left and right side of an object
 String getLang()
          Specifies a language code for the content in an element
 String getNameAttribute()
          Specifies a name for the object
 String getOnclick()
          Script to be run on a mouse click
 String getOndblclick()
          Script to be run on a mouse double-click
 String getOnkeydown()
          Script to be run when a key is pressed
 String getOnkeypress()
          Script to be run when a key is pressed and released
 String getOnkeyup()
          Script to be run when a key is released
 String getOnmousedown()
          Script to be run when mouse button is pressed
 String getOnmousemove()
          Script to be run when mouse pointer moves
 String getOnmouseout()
          Script to be run when mouse pointer moves out of an element
 String getOnmouseover()
          Script to be run when mouse pointer moves over an element
 String getOnmouseup()
          Script to be run when mouse button is released
 String getStandby()
          Defines a text to display while the object is loading
 String getTabindex()
          Specifies the tab order of an element
 String getType()
          Specifies the MIME type of data specified in the data attribute
 String getUsemap()
          Specifies the name of a client-side image map to be used with the object
 String getVspace()
          Specifies the whitespace on top and bottom of an object
 String getWidth()
          Specifies the width of the object
 
Methods inherited from class org.anadix.html.CoreAttributes
getClassAttribute, getIdAttribute, getStyle, getTitle
 
Methods inherited from class org.anadix.html.HtmlElement
compareTo, equals, getAttribute, getAttributes, getId, getName, getParent, getPosition, getSource, getTextContent, hashCode, setPosition, setSource, setTextContent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getDeclare

public String getDeclare()
Defines that the object should only be declared, not created or instantiated until needed

Returns:
whether to instantiate lazily

getClassid

public String getClassid()
Defines a class ID value as set in the Windows Registry or a URL

Returns:
class id

getCodebase

public String getCodebase()
Defines where to find the code for the object

Returns:
URL with code base

getData

public String getData()
Specifies the URL of the resource to be used by the object

Returns:
URL of data

getType

public String getType()
Specifies the MIME type of data specified in the data attribute

Returns:
MIME type of data

getCodetype

public String getCodetype()
The internet media type of the code referred to by the classid attribute

Returns:
MIME type of media

getArchive

public String getArchive()
A space separated list of URL's to archives. The archives contains resources relevant to the object

Returns:
list of resources

getStandby

public String getStandby()
Defines a text to display while the object is loading

Returns:
text to be displayed while loading

getHeight

public String getHeight()
Specifies the height of the object

Returns:
height of the object

getWidth

public String getWidth()
Specifies the width of the object

Returns:
width of the object

getUsemap

public String getUsemap()
Specifies the name of a client-side image map to be used with the object

Returns:
name of the map

getNameAttribute

public String getNameAttribute()
Specifies a name for the object

Returns:
name of the object

getTabindex

public String getTabindex()
Specifies the tab order of an element

Returns:
tab indedx

getAlign

public String getAlign()
Specifies the alignment of the element according to surrounding elements

Returns:
alignment of the element

getBorder

public String getBorder()
Specifies the width of the border around an element

Returns:
width of the border

getHspace

public String getHspace()
Specifies the whitespace on left and right side of an object

Returns:
horizontal whitespace

getVspace

public String getVspace()
Specifies the whitespace on top and bottom of an object

Returns:
vertical whitespace

getLang

public String getLang()
Specifies a language code for the content in an element

Returns:
language code for content of the element

getDir

public String getDir()
Specifies the text direction for the content in an element

Returns:
text direction for the content of the element

getOnclick

public String getOnclick()
Script to be run on a mouse click

Returns:
script on mouse click

getOndblclick

public String getOndblclick()
Script to be run on a mouse double-click

Returns:
script on double-click

getOnmousedown

public String getOnmousedown()
Script to be run when mouse button is pressed

Returns:
script on mouse button press

getOnmouseup

public String getOnmouseup()
Script to be run when mouse button is released

Returns:
script on mouse button release

getOnmouseover

public String getOnmouseover()
Script to be run when mouse pointer moves over an element

Returns:
script on mouse over element

getOnmousemove

public String getOnmousemove()
Script to be run when mouse pointer moves

Returns:
script on mouse move within the element

getOnmouseout

public String getOnmouseout()
Script to be run when mouse pointer moves out of an element

Returns:
script on mouse moving out of the element

getOnkeypress

public String getOnkeypress()
Script to be run when a key is pressed and released

Returns:
script on key press and release

getOnkeydown

public String getOnkeydown()
Script to be run when a key is pressed

Returns:
script on key press

getOnkeyup

public String getOnkeyup()
Script to be run when a key is released

Returns:
script on key release


Copyright © 2012. All Rights Reserved.