|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaxcent.JaxcentObject
jaxcent.JaxcentHtmlElement
jaxcent.HtmlTable
The class HtmlTable corresponds to TABLE tags on the page.
Constructor Summary | |
HtmlTable(JaxcentPage page,
SearchType searchType,
java.lang.String str)
Search for HTML element on page by specified search type and search string. |
|
HtmlTable(JaxcentPage page,
SearchType searchType,
java.lang.String[] attributes,
java.lang.String[] values)
Create new HTML element on page using the specified attributes and values. |
|
HtmlTable(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. |
|
HtmlTable(JaxcentPage page,
SearchType searchType,
java.lang.String tag,
java.lang.String text)
Create new HTML Element on page using the specified tag. |
|
HtmlTable(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. |
|
HtmlTable(JaxcentPage page,
java.lang.String id)
Search for HTML element on page by specified ID |
Method Summary | |
void |
deleteAllRows()
Remove all Rows. |
void |
deleteFromBottom(int n)
Remove N rows from bottom. |
void |
deleteFromTop(int n)
Remove N rows from top. |
void |
deleteRow(int index)
Delete the row at the specified index. |
int |
getBorder()
Retrieve the "border" property |
java.lang.String |
getCaption()
Retrieve the "caption" property |
int |
getCellPadding()
Retrieve the "cellPadding" property |
int |
getCellSpacing()
Retrieve the "cellSpacing" property |
java.lang.String |
getFrame()
Retrieve the "frame" property |
int |
getNumRows()
Returns the number of rows in the table. |
HtmlTableRow |
getRow(int index)
Return the row at the specified index. |
java.lang.String |
getRules()
Retrieve the "rules" property |
int |
getWidth()
Retrieve the "width" property |
HtmlTableRow |
insertRow(int index,
java.lang.String[] innerHTML)
Insert a row in the table at the specified index. |
HtmlTableRow |
insertRow(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 each 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 |
setBorder(int value)
Set the "border" property |
void |
setCaption(java.lang.String value)
Set the "caption" property |
void |
setCellPadding(int value)
Set the "cellPadding" property |
void |
setCellSpacing(int value)
Set the "cellSpacing" property |
void |
setFrame(java.lang.String value)
Set the "frame" property |
void |
setRules(java.lang.String value)
Set the "rules" property |
void |
setWidth(int value)
Set the "width" 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 HtmlTable(JaxcentPage page, java.lang.String id)
public HtmlTable(JaxcentPage page, SearchType searchType, java.lang.String str)
public HtmlTable(JaxcentPage page, SearchType searchType, java.lang.String str, int index)
public HtmlTable(JaxcentPage page, SearchType searchType, java.lang.String tag, java.lang.String text) throws Jaxception
public HtmlTable(JaxcentPage page, SearchType searchType, java.lang.String[] attributes, java.lang.String[] values) throws Jaxception
public HtmlTable(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 onMouseDown()
protected void onMouseUp()
protected void onFocus()
protected void onBlur()
public int getNumRows() throws Jaxception
Jaxception
public HtmlTableRow getRow(int index) throws Jaxception
Jaxception
public void deleteRow(int index) throws Jaxception
Jaxception
public HtmlTableRow insertRow(int index, java.lang.String[] innerHTML) throws Jaxception
Jaxception
public HtmlTableRow insertRow(int index, java.lang.String[] innerHTML, java.lang.String[][] attributes, java.lang.String[][] values) throws Jaxception
Jaxception
public void deleteAllRows() throws Jaxception
Jaxception
public void deleteFromTop(int n) throws Jaxception
Jaxception
public void deleteFromBottom(int n) throws Jaxception
Jaxception
public void setBorder(int value) throws Jaxception
Jaxception
public int getBorder() throws Jaxception
Jaxception
public void setCaption(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getCaption() throws Jaxception
Jaxception
public void setCellPadding(int value) throws Jaxception
Jaxception
public int getCellPadding() throws Jaxception
Jaxception
public void setCellSpacing(int value) throws Jaxception
Jaxception
public int getCellSpacing() throws Jaxception
Jaxception
public void setFrame(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getFrame() throws Jaxception
Jaxception
public void setRules(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getRules() throws Jaxception
Jaxception
public void setWidth(int value) throws Jaxception
Jaxception
public int getWidth() throws Jaxception
Jaxception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |