|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaxcent.JaxcentObject
jaxcent.JaxcentHtmlElement
jaxcent.HtmlImage
The class HtmlImage corresponds to IMG tags on the page.
Constructor Summary | |
HtmlImage(JaxcentPage page,
SearchType searchType,
java.lang.String str)
Search for HTML element on page by specified search type and search string. |
|
HtmlImage(JaxcentPage page,
SearchType searchType,
java.lang.String[] attributes,
java.lang.String[] values)
Create new HTML element on page using the specified attributes and values. |
|
HtmlImage(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. |
|
HtmlImage(JaxcentPage page,
SearchType searchType,
java.lang.String tag,
java.lang.String text)
Create new HTML Element on page using the specified tag. |
|
HtmlImage(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. |
|
HtmlImage(JaxcentPage page,
java.lang.String id)
Search for HTML element on page by specified ID |
Method Summary | |
void |
blur()
Lose the input focus. |
void |
click()
Simulate a mouse click on the HTML element. |
void |
focus()
Get the input focus. |
java.lang.String |
getAlign()
Retrieve the "align" property |
int |
getBorder()
Retrieve the "border" property |
boolean |
getComplete()
Checks if loading is complete |
int |
getHeight()
Retrieve the "height" property |
int |
getHspace()
Retrieve the "hspace" property |
boolean |
getIsMap()
Retrieve the "isMap" property |
java.lang.String |
getLowsrc()
Retrieve the "lowsrc" property |
java.lang.String |
getName()
Retrieve the "name" property |
java.lang.String |
getSrc()
Retrieve the "src" property |
java.lang.String |
getUseMap()
Retrieve the "useMap" property |
int |
getVspace()
Retrieve the "vspace" property |
protected void |
onAbort()
Override to handle the "abort" event |
protected void |
onBlur()
Override to handle the "blur" event |
protected void |
onClick()
Override to handle the "click" event |
protected void |
onClick(java.util.Map pageData)
Override to handle the "click" event and receive current page data |
protected void |
onComplete()
Override to handle the "complete" event |
protected void |
onError()
Override to handle the "error" event |
protected void |
onFocus()
Override to handle the "focus" event |
protected void |
onLoad()
Override to handle the "load" event |
void |
scrollIntoView(boolean top)
Bring the element into view, by scrolling if necessary. |
void |
setAlign(java.lang.String value)
Set the "align" property |
void |
setBorder(int value)
Set the "border" property |
void |
setHeight(int value)
Set the "height" property |
void |
setHspace(int value)
Set the "hspace" property |
void |
setLowsrc(java.lang.String value)
Set the "lowsrc" property |
void |
setName(java.lang.String value)
Set the "name" property |
void |
setSrc(java.lang.String value)
Set the "src" property |
void |
setUseMap(java.lang.String value)
Set the "useMap" property |
void |
setVspace(int value)
Set the "vspace" property |
Methods inherited from class jaxcent.JaxcentHtmlElement |
getAttribute, getID, getInnerText, getStyle, getTag, hide, insertAfter, insertAtBeginning, insertAtBeginning, insertAtEnd, insertAtEnd, insertBefore, setAttribute, setInnerText, setStyle, setStyle, setStyle, setStyle, setVisible, show |
Methods inherited from class jaxcent.JaxcentObject |
addJavaScriptVerification, getId, getProperty, 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 |
public HtmlImage(JaxcentPage page, java.lang.String id)
public HtmlImage(JaxcentPage page, SearchType searchType, java.lang.String str)
public HtmlImage(JaxcentPage page, SearchType searchType, java.lang.String str, int index)
public HtmlImage(JaxcentPage page, SearchType searchType, java.lang.String tag, java.lang.String text) throws Jaxception
public HtmlImage(JaxcentPage page, SearchType searchType, java.lang.String[] attributes, java.lang.String[] values) throws Jaxception
public HtmlImage(JaxcentPage page, SearchType searchType, java.lang.String text, java.lang.String[] attributes, java.lang.String[] values) throws Jaxception
Method Detail |
protected void onClick()
protected void onClick(java.util.Map pageData)
protected void onFocus()
protected void onBlur()
protected void onLoad()
protected void onComplete()
protected void onError()
protected void onAbort()
public void setAlign(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getAlign() throws Jaxception
Jaxception
public void setBorder(int value) throws Jaxception
Jaxception
public int getBorder() throws Jaxception
Jaxception
public boolean getComplete() throws Jaxception
Jaxception
public void setHeight(int value) throws Jaxception
Jaxception
public int getHeight() throws Jaxception
Jaxception
public void setHspace(int value) throws Jaxception
Jaxception
public int getHspace() throws Jaxception
Jaxception
public boolean getIsMap() throws Jaxception
Jaxception
public void setLowsrc(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getLowsrc() throws Jaxception
Jaxception
public void setName(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getName() throws Jaxception
Jaxception
public void setSrc(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getSrc() throws Jaxception
Jaxception
public void setUseMap(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getUseMap() throws Jaxception
Jaxception
public void setVspace(int value) throws Jaxception
Jaxception
public int getVspace() throws Jaxception
Jaxception
public void blur() throws Jaxception
Jaxception
public void click() throws Jaxception
Jaxception
public void focus() throws Jaxception
Jaxception
public void scrollIntoView(boolean top) throws Jaxception
Jaxception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |