|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaxcent.JaxcentObject
jaxcent.JaxcentHtmlElement
jaxcent.HtmlTableRow
The class HtmlTableRow corresponds to TR tags on the page, i.e. to rows of tables. Objects of this class can also be obtained by calling the getRow method of HtmlTable objects. To add rows to a table on the page, call the insertRow, insertRowText or insertRowHtml methods of HtmlTable.
Constructor Summary | |
HtmlTableRow(JaxcentPage page,
SearchType searchType,
java.lang.String str)
Search for HTML element on page by specified search type and search string. |
|
HtmlTableRow(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. |
|
HtmlTableRow(JaxcentPage page,
java.lang.String id)
Search for HTML element on page by specified ID |
Method Summary | |
void |
blur()
Lose the input focus. |
void |
delete()
Delete this element. |
void |
deleteAllCells()
Remove all cells. |
void |
deleteCell(int index)
Delete the cell at the specified index. |
void |
focus()
Get the input focus. |
HtmlTableCell |
getCell(int index)
Return the cell at the specified index. |
java.lang.String |
getInnerHTML()
Retrieve the "innerHTML" property |
int |
getNumCells()
Returns the number of cells in the row. |
int |
getRowIndex()
Retrieve the "rowIndex" property |
java.lang.String |
getVAlign()
Retrieve the "vAlign" property |
HtmlTableCell |
insertCell(int index,
java.lang.String innerHTML)
Insert a cell in the table at the specified index. |
HtmlTableCell |
insertCell(int index,
java.lang.String innerHTML,
java.lang.String[] attributes,
java.lang.String[] values)
Insert a row in the table at the specified index, and set attributes of the new cell as specified. |
protected void |
onBlur()
Override to handle the "blur" event |
protected void |
onClick()
Override to handle the "click" event |
protected void |
onFocus()
Override to handle the "focus" event |
protected void |
onMouseDown()
Override to handle the "mouseDown" event |
protected void |
onMouseUp()
Override to handle the "mouseUp" event |
void |
scrollIntoView(boolean top)
Bring the element into view, by scrolling if necessary. |
void |
setInnerHTML(java.lang.String value)
Set the "innerHTML" property |
void |
setRowIndex(int value)
Set the "rowIndex" property |
void |
setVAlign(java.lang.String value)
Set the "vAlign" 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 HtmlTableRow(JaxcentPage page, java.lang.String id)
public HtmlTableRow(JaxcentPage page, SearchType searchType, java.lang.String str)
public HtmlTableRow(JaxcentPage page, SearchType searchType, java.lang.String str, int index)
Method Detail |
protected void onClick()
protected void onMouseDown()
protected void onMouseUp()
protected void onFocus()
protected void onBlur()
public int getNumCells() throws Jaxception
Jaxception
public HtmlTableCell getCell(int index) throws Jaxception
Jaxception
public void deleteCell(int index) throws Jaxception
Jaxception
public HtmlTableCell insertCell(int index, java.lang.String innerHTML) throws Jaxception
Jaxception
public HtmlTableCell insertCell(int index, java.lang.String innerHTML, java.lang.String[] attributes, java.lang.String[] values) throws Jaxception
Jaxception
public void deleteAllCells() throws Jaxception
Jaxception
public void setInnerHTML(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getInnerHTML() throws Jaxception
Jaxception
public void setRowIndex(int value) throws Jaxception
Jaxception
public int getRowIndex() throws Jaxception
Jaxception
public void setVAlign(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getVAlign() throws Jaxception
Jaxception
public void scrollIntoView(boolean top) throws Jaxception
Jaxception
public void blur() throws Jaxception
Jaxception
public void focus() throws Jaxception
Jaxception
public void delete() throws Jaxception
Jaxception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |