jaxcent
Class HtmlInlineFrame

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

public class HtmlInlineFrame
extends JaxcentHtmlElement

The class HtmlInlineFrame corresponds to IFRAME tags on the page.


Constructor Summary
HtmlInlineFrame(JaxcentPage page, SearchType searchType, java.lang.String str)
          Search for HTML element on page by specified search type and search string.
HtmlInlineFrame(JaxcentPage page, SearchType searchType, java.lang.String[] attributes, java.lang.String[] values)
          Create new HTML element on page using the specified attributes and values.
HtmlInlineFrame(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.
HtmlInlineFrame(JaxcentPage page, SearchType searchType, java.lang.String tag, java.lang.String text)
          Create new HTML Element on page using the specified tag.
HtmlInlineFrame(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.
HtmlInlineFrame(JaxcentPage page, java.lang.String id)
          Search for HTML element on page by specified ID
 
Method Summary
 java.lang.String getAlign()
          Retrieve the "align" property
 int getFrameborder()
          Retrieve the "frameborder" property
 java.lang.String getHeight()
          Retrieve the "height" property
 java.lang.String getLongdesc()
          Retrieve the "longdesc" property
 int getMarginheight()
          Retrieve the "marginheight" property
 int getMarginwidth()
          Retrieve the "marginwidth" property
 java.lang.String getName()
          Retrieve the "name" property
 java.lang.String getScrolling()
          Retrieve the "scrolling" property
 java.lang.String getSrc()
          Retrieve the "src" property
 java.lang.String getWidth()
          Retrieve the "width" property
 void setAlign(java.lang.String value)
          Set the "align" property
 void setFrameborder(int value)
          Set the "frameborder" property
 void setHeight(java.lang.String value)
          Set the "height" property
 void setLongdesc(java.lang.String value)
          Set the "longdesc" property
 void setMarginheight(int value)
          Set the "marginheight" property
 void setMarginwidth(int value)
          Set the "marginwidth" property
 void setName(java.lang.String value)
          Set the "name" property
 void setScrolling(java.lang.String value)
          Set the "scrolling" property
 void setSrc(java.lang.String value)
          Set the "src" 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

HtmlInlineFrame

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


HtmlInlineFrame

public HtmlInlineFrame(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.


HtmlInlineFrame

public HtmlInlineFrame(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.


HtmlInlineFrame

public HtmlInlineFrame(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 "IFRAME". If text is non null, the new element is populated with that text.


HtmlInlineFrame

public HtmlInlineFrame(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.


HtmlInlineFrame

public HtmlInlineFrame(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

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

setFrameborder

public void setFrameborder(int value)
                    throws Jaxception
Set the "frameborder" property

Throws:
Jaxception

getFrameborder

public int getFrameborder()
                   throws Jaxception
Retrieve the "frameborder" 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

setMarginheight

public void setMarginheight(int value)
                     throws Jaxception
Set the "marginheight" property

Throws:
Jaxception

getMarginheight

public int getMarginheight()
                    throws Jaxception
Retrieve the "marginheight" property

Throws:
Jaxception

setMarginwidth

public void setMarginwidth(int value)
                    throws Jaxception
Set the "marginwidth" property

Throws:
Jaxception

getMarginwidth

public int getMarginwidth()
                   throws Jaxception
Retrieve the "marginwidth" 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

setSrc

public void setSrc(java.lang.String value)
            throws Jaxception
Set the "src" property

Throws:
Jaxception

getSrc

public java.lang.String getSrc()
                        throws Jaxception
Retrieve the "src" property

Throws:
Jaxception

setLongdesc

public void setLongdesc(java.lang.String value)
                 throws Jaxception
Set the "longdesc" property

Throws:
Jaxception

getLongdesc

public java.lang.String getLongdesc()
                             throws Jaxception
Retrieve the "longdesc" 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

setScrolling

public void setScrolling(java.lang.String value)
                  throws Jaxception
Set the "scrolling" property

Throws:
Jaxception

getScrolling

public java.lang.String getScrolling()
                              throws Jaxception
Retrieve the "scrolling" property

Throws:
Jaxception