|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaxcent.JaxcentObject
jaxcent.JaxcentHtmlElement
jaxcent.HtmlInputText
The class HtmlInputText corresponds to INPUT tags of TYPE TEXT on the page.
Constructor Summary | |
HtmlInputText(JaxcentPage page,
SearchType searchType,
java.lang.String str)
Search for HTML element on page by specified search type and search string. |
|
HtmlInputText(JaxcentPage page,
SearchType searchType,
java.lang.String[] attributes,
java.lang.String[] values)
Create new HTML element on page using the specified attributes and values. |
|
HtmlInputText(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. |
|
HtmlInputText(JaxcentPage page,
SearchType searchType,
java.lang.String tag,
java.lang.String text)
Create new HTML Element on page using the specified tag. |
|
HtmlInputText(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. |
|
HtmlInputText(JaxcentPage page,
java.lang.String id)
Search for HTML element on page by specified ID |
Method Summary | |
void |
blur()
Lose the input focus. |
void |
focus()
Get the input focus. |
java.lang.String |
getDefaultValue()
Retrieve the "defaultValue" property |
boolean |
getDisabled()
Retrieve the "disabled" property |
java.lang.String |
getMaxLength()
Returns the maximum number of characters allowed in field |
java.lang.String |
getName()
Retrieve the "name" property |
boolean |
getReadOnly()
Retrieve the "readOnly" property |
int |
getSize()
Retrieve the "size" property |
java.lang.String |
getValue()
Retrieve the "value" property |
protected void |
onBlur()
Override to handle the "blur" event |
protected void |
onChange()
Override to handle the "change" event |
protected void |
onChange(java.lang.String value)
Override to handle the "change" event and receive current element value |
protected void |
onClick()
Override to handle the "click" event |
protected void |
onClick(java.lang.String value)
Override to handle the "click" event and receive current element value |
protected void |
onFocus()
Override to handle the "focus" event |
protected void |
onKeyDown()
Override to handle the "keyDown" event |
protected void |
onKeyDown(java.lang.String value)
Override to handle the "keyDown" event and receive current element value |
protected void |
onKeypress()
Override to handle the "keypress" event |
protected void |
onKeypress(java.lang.String value)
Override to handle the "keypress" event and receive current element value |
protected void |
onKeyUp()
Override to handle the "keyUp" event |
protected void |
onKeyUp(java.lang.String value)
Override to handle the "keyUp" event and receive current element value |
protected void |
onMouseDown()
Override to handle the "mouseDown" event |
protected void |
onMouseDown(java.lang.String value)
Override to handle the "mouseDown" event and receive current element value |
protected void |
onMouseUp()
Override to handle the "mouseUp" event |
protected void |
onMouseUp(java.lang.String value)
Override to handle the "mouseUp" event and receive current element value |
protected void |
onSelect()
Override to handle the "select" event |
void |
scrollIntoView(boolean top)
Bring the element into view, by scrolling if necessary. |
void |
select()
Select the text in the field. |
void |
setDefaultValue(java.lang.String value)
Set the "defaultValue" property |
void |
setDisabled(boolean value)
Set the "disabled" property |
void |
setMaxLength(java.lang.String value)
Sets the maximum number of characters allowed in field |
void |
setReadOnly(boolean value)
Set the "readOnly" property |
void |
setSize(int value)
Set the "size" property |
void |
setValue(java.lang.String value)
Set the "value" 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 HtmlInputText(JaxcentPage page, java.lang.String id)
public HtmlInputText(JaxcentPage page, SearchType searchType, java.lang.String str)
public HtmlInputText(JaxcentPage page, SearchType searchType, java.lang.String str, int index)
public HtmlInputText(JaxcentPage page, SearchType searchType, java.lang.String tag, java.lang.String text) throws Jaxception
public HtmlInputText(JaxcentPage page, SearchType searchType, java.lang.String[] attributes, java.lang.String[] values) throws Jaxception
public HtmlInputText(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.lang.String value)
protected void onFocus()
protected void onBlur()
protected void onSelect()
protected void onMouseDown()
protected void onMouseDown(java.lang.String value)
protected void onMouseUp()
protected void onMouseUp(java.lang.String value)
protected void onKeyDown()
protected void onKeyDown(java.lang.String value)
protected void onKeyUp()
protected void onKeyUp(java.lang.String value)
protected void onKeypress()
protected void onKeypress(java.lang.String value)
protected void onChange()
protected void onChange(java.lang.String value)
public void setDefaultValue(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getDefaultValue() throws Jaxception
Jaxception
public void setDisabled(boolean value) throws Jaxception
Jaxception
public boolean getDisabled() throws Jaxception
Jaxception
public void setMaxLength(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getMaxLength() throws Jaxception
Jaxception
public java.lang.String getName() throws Jaxception
Jaxception
public void setReadOnly(boolean value) throws Jaxception
Jaxception
public boolean getReadOnly() throws Jaxception
Jaxception
public void setSize(int value) throws Jaxception
Jaxception
public int getSize() throws Jaxception
Jaxception
public void setValue(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getValue() throws Jaxception
Jaxception
public void blur() throws Jaxception
Jaxception
public void focus() throws Jaxception
Jaxception
public void select() 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 |