|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.transform.html.HTMLElement
com.ibm.hats.transform.html.InputElement
com.ibm.hats.transform.html.TextInputElement
public class TextInputElement
TextInputElement is the HTMLElement which represents an HTML form input such as the following:
User Name: <input type="text" name="userid" value="" />which appears as
HTMLElementFactory.createTextInput(FieldComponentElement)| Field Summary | |
|---|---|
static String |
IME_ACTIVE
|
static String |
IME_AUTO
|
static String |
IME_DISABLED
|
static String |
IME_INACTIVE
|
| Fields inherited from class com.ibm.hats.transform.html.HTMLElement |
|---|
ATTR_ACCESS_KEY, ATTR_ACTION, ATTR_ALT, ATTR_CLASS_NAME, ATTR_DIR, ATTR_FOR, ATTR_HREF, ATTR_ID, ATTR_IMG_ALT, ATTR_MAX_LENGTH, ATTR_NAME, ATTR_ON_BLUR, ATTR_ON_CHANGE, ATTR_ON_CLICK, ATTR_ON_CUT, ATTR_ON_DROP, ATTR_ON_FOCUS, ATTR_ON_KEY_DOWN, ATTR_ON_KEY_PRESS, ATTR_ON_KEY_UP, ATTR_ON_MOUSEDOWN, ATTR_ON_MOUSEOVER, ATTR_ON_PASTE, ATTR_SIZE, ATTR_SRC, ATTR_STYLE, ATTR_TARGET, ATTR_TYPE, ATTR_VALUE, CLASSNAME, FLAG_CHECKED, FLAG_DISABLED, FLAG_MULTIPLE, FLAG_READ_ONLY, FLAG_SELECTED, tagName |
| Constructor Summary | |
|---|---|
TextInputElement()
Constructor for TextInputElement, sets the type attribute to text. |
|
| Method Summary | |
|---|---|
String |
getAlt()
|
int |
getMaxLength()
Returns the maximum length for the value of this input. |
String |
getOnChange()
Returns the onChange attribute. |
String |
getOnCut()
|
String |
getOnDrop()
|
String |
getOnKeyDown()
Gets the onKeyDown attribute. |
String |
getOnKeyPress()
Gets the onKeyPress attribute. |
String |
getOnKeyUp()
Gets the onKeyUp attribute. |
String |
getOnPaste()
|
int |
getSize()
Returns the size of this input field. |
void |
setAlt(String alt)
|
void |
setMaxLength(int maxLength)
Sets the maximum length for this input field. |
void |
setOnChange(String onChange)
Sets the onChange attribute. |
void |
setOnCut(String s)
|
void |
setOnDrop(String s)
|
void |
setOnKeyDown(String s)
Sets the onKeyDown attribute. |
void |
setOnKeyPress(String s)
Sets the onKeyPress attribute. |
void |
setOnKeyUp(String s)
Sets the onKeyUp attribute. |
void |
setOnPaste(String s)
|
void |
setSize(int size)
Sets the size of this input field. |
| Methods inherited from class com.ibm.hats.transform.html.InputElement |
|---|
getOnBlur, getOnClick, getOnFocus, getType, getValue, isDisabled, renderEndTag, setDisabled, setOnBlur, setOnClick, setOnFocus, setType, setValue |
| Methods inherited from class com.ibm.hats.transform.html.HTMLElement |
|---|
addFlag, appendClassName, appendStyle, buildTag, buildTag, getAttribute, getClassName, getDir, getId, getName, getStyle, getTagName, hasFlag, removeFlag, render, render, render, render, renderEndTag, setAlign, setAttribute, setClassName, setDir, setId, setName, setStyle, setTagName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String IME_ACTIVE
public static final String IME_INACTIVE
public static final String IME_AUTO
public static final String IME_DISABLED
| Constructor Detail |
|---|
public TextInputElement()
type attribute to text.
| Method Detail |
|---|
public int getMaxLength()
public String getOnChange()
public int getSize()
public String getOnKeyPress()
public void setOnKeyPress(String s)
s - The onKeyPress attribute to be set.public String getOnKeyUp()
public void setOnKeyUp(String s)
s - The onKeyUp attribute to be set.public void setOnKeyDown(String s)
s - The onKeyDown attribute to be set.public String getOnKeyDown()
public void setMaxLength(int maxLength)
maxLength - The maxLength to setpublic void setOnChange(String onChange)
onChange - The onChange to setpublic void setSize(int size)
size - The size to setpublic void setAlt(String alt)
public String getAlt()
public void setOnPaste(String s)
public String getOnPaste()
public void setOnDrop(String s)
public String getOnDrop()
public void setOnCut(String s)
public String getOnCut()
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||