jaxcent
Class HtmlObjectTag

java.lang.Object
  extended byjaxcent.JaxcentObject
      extended byjaxcent.JaxcentHtmlElement
          extended byjaxcent.HtmlObjectTag

public class HtmlObjectTag
extends JaxcentHtmlElement

The class HtmlObjectTag corresponds to OBJECT tags on the page.


Constructor Summary
HtmlObjectTag(JaxcentPage page, SearchType searchType, java.lang.String str)
          Search for HTML element on page by specified search type and search string.
HtmlObjectTag(JaxcentPage page, SearchType searchType, java.lang.String[] attributes, java.lang.String[] values)
          Create new HTML element on page using the specified attributes and values.
HtmlObjectTag(JaxcentPage page, SearchType searchType, java.lang.String str, int index)
          Search for HTML Element on page by specified search type and search string, and search index.
HtmlObjectTag(JaxcentPage page, SearchType searchType, java.lang.String tag, java.lang.String text)
          Create new HTML Element on page using the specified tag.
HtmlObjectTag(JaxcentPage page, SearchType searchType, java.lang.String text, java.lang.String[] attributes, java.lang.String[] values)
          Create new HTML element on page using the specified text and attributes and values.
HtmlObjectTag(JaxcentPage page, java.lang.String id)
          Search for HTML element on page by specified ID
 
Method Summary
 boolean checkParamsExist()
          Check if any PARAM elements exist in the OBJECT tag.
 java.lang.String getAlign()
          Retrieve the "align" property
 java.lang.String getArchive()
          Retrieve the "archive" property
 int getBorder()
          Retrieve the "border" property
 java.lang.String getClassid()
          Retrieve the "classid" property
 java.lang.String getCodebase()
          Retrieve the "codebase" property
 java.lang.String getData()
          Retrieve the "data" property
 java.lang.String getHeight()
          Retrieve the "height" property
 int getHspace()
          Retrieve the "hspace" property
 java.lang.String getName()
          Retrieve the "name" property
 java.lang.String getStandby()
          Retrieve the "standby" property
 java.lang.String getType()
          Retrieve the "type" property
 java.lang.String getUseMap()
          Retrieve the "useMap" property
 int getVspace()
          Retrieve the "vspace" property
 java.lang.String getWidth()
          Retrieve the "width" property
 void setAlign(java.lang.String value)
          Set the "align" property
 void setArchive(java.lang.String value)
          Set the "archive" property
 void setBorder(int value)
          Set the "border" property
 void setClassid(java.lang.String value)
          Set the "classid" property
 void setCodebase(java.lang.String value)
          Set the "codebase" property
 void setData(java.lang.String value)
          Set the "data" property
 void setHeight(java.lang.String value)
          Set the "height" property
 void setHspace(int value)
          Set the "hspace" property
 void setName(java.lang.String value)
          Set the "name" property
 void setStandby(java.lang.String value)
          Set the "standby" property
 void setType(java.lang.String value)
          Set the "type" property
 void setUseMap(java.lang.String value)
          Set the "useMap" property
 void setVspace(int value)
          Set the "vspace" property
 void setWidth(java.lang.String value)
          Set the "width" property
 
Methods inherited from class jaxcent.JaxcentHtmlElement
checkNodeExists, deleteElement, getAttribute, getID, getInnerText, getStyle, getTag, hide, insertAfter, insertAtBeginning, insertAtBeginning, insertAtEnd, insertAtEnd, insertBefore, onDragDrop, setAttribute, setCssClass, setDraggable, setEnabled, setInnerText, setStyle, setStyle, setStyle, setStyle, setVisible, show
 
Methods inherited from class jaxcent.JaxcentObject
addJavaScriptVerification, getId, getProperty, getSelectedIndex, getSelectedValue, setId, setProperty, setProperty, setProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlObjectTag

public HtmlObjectTag(JaxcentPage page,
                     java.lang.String id)
Search for HTML element on page by specified ID


HtmlObjectTag

public HtmlObjectTag(JaxcentPage page,
                     SearchType searchType,
                     java.lang.String str)
Search for HTML element on page by specified search type and search string. If the search returns multiple objects, use the first one.


HtmlObjectTag

public HtmlObjectTag(JaxcentPage page,
                     SearchType searchType,
                     java.lang.String str,
                     int index)
Search for HTML Element on page by specified search type and search string, and search index. The search is expected to return multiple results. The search index is 0-based, and specifies the index in the multiple results. This constructor is not for use with createNew.


HtmlObjectTag

public HtmlObjectTag(JaxcentPage page,
                     SearchType searchType,
                     java.lang.String tag,
                     java.lang.String text)
              throws Jaxception
Create new HTML Element on page using the specified tag. Search type must be createNew and tag must be "OBJECT". If text is non null, the new element is populated with that text.


HtmlObjectTag

public HtmlObjectTag(JaxcentPage page,
                     SearchType searchType,
                     java.lang.String[] attributes,
                     java.lang.String[] values)
              throws Jaxception
Create new HTML element on page using the specified attributes and values. Search type must be createNew. Attributes and values arrays must have the same length.


HtmlObjectTag

public HtmlObjectTag(JaxcentPage page,
                     SearchType searchType,
                     java.lang.String text,
                     java.lang.String[] attributes,
                     java.lang.String[] values)
              throws Jaxception
Create new HTML element on page using the specified text and attributes and values. Search type must be createNew. Attributes and values arrays must have the same length.

Method Detail

checkParamsExist

public boolean checkParamsExist()
                         throws Jaxception
Check if any PARAM elements exist in the OBJECT tag.

Throws:
Jaxception

setAlign

public void setAlign(java.lang.String value)
              throws Jaxception
Set the "align" property

Throws:
Jaxception

getAlign

public java.lang.String getAlign()
                          throws Jaxception
Retrieve the "align" property

Throws:
Jaxception

setArchive

public void setArchive(java.lang.String value)
                throws Jaxception
Set the "archive" property

Throws:
Jaxception

getArchive

public java.lang.String getArchive()
                            throws Jaxception
Retrieve the "archive" property

Throws:
Jaxception

setBorder

public void setBorder(int value)
               throws Jaxception
Set the "border" property

Throws:
Jaxception

getBorder

public int getBorder()
              throws Jaxception
Retrieve the "border" property

Throws:
Jaxception

setClassid

public void setClassid(java.lang.String value)
                throws Jaxception
Set the "classid" property

Throws:
Jaxception

getClassid

public java.lang.String getClassid()
                            throws Jaxception
Retrieve the "classid" property

Throws:
Jaxception

setCodebase

public void setCodebase(java.lang.String value)
                 throws Jaxception
Set the "codebase" property

Throws:
Jaxception

getCodebase

public java.lang.String getCodebase()
                             throws Jaxception
Retrieve the "codebase" property

Throws:
Jaxception

setData

public void setData(java.lang.String value)
             throws Jaxception
Set the "data" property

Throws:
Jaxception

getData

public java.lang.String getData()
                         throws Jaxception
Retrieve the "data" property

Throws:
Jaxception

setHeight

public void setHeight(java.lang.String value)
               throws Jaxception
Set the "height" property

Throws:
Jaxception

getHeight

public java.lang.String getHeight()
                           throws Jaxception
Retrieve the "height" property

Throws:
Jaxception

setHspace

public void setHspace(int value)
               throws Jaxception
Set the "hspace" property

Throws:
Jaxception

getHspace

public int getHspace()
              throws Jaxception
Retrieve the "hspace" property

Throws:
Jaxception

setName

public void setName(java.lang.String value)
             throws Jaxception
Set the "name" property

Throws:
Jaxception

getName

public java.lang.String getName()
                         throws Jaxception
Retrieve the "name" property

Throws:
Jaxception

setStandby

public void setStandby(java.lang.String value)
                throws Jaxception
Set the "standby" property

Throws:
Jaxception

getStandby

public java.lang.String getStandby()
                            throws Jaxception
Retrieve the "standby" property

Throws:
Jaxception

setType

public void setType(java.lang.String value)
             throws Jaxception
Set the "type" property

Throws:
Jaxception

getType

public java.lang.String getType()
                         throws Jaxception
Retrieve the "type" property

Throws:
Jaxception

setUseMap

public void setUseMap(java.lang.String value)
               throws Jaxception
Set the "useMap" property

Throws:
Jaxception

getUseMap

public java.lang.String getUseMap()
                           throws Jaxception
Retrieve the "useMap" property

Throws:
Jaxception

setVspace

public void setVspace(int value)
               throws Jaxception
Set the "vspace" property

Throws:
Jaxception

getVspace

public int getVspace()
              throws Jaxception
Retrieve the "vspace" property

Throws:
Jaxception

setWidth

public void setWidth(java.lang.String value)
              throws Jaxception
Set the "width" property

Throws:
Jaxception

getWidth

public java.lang.String getWidth()
                          throws Jaxception
Retrieve the "width" property

Throws:
Jaxception