|
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
public class InputElement
InputElement is the parent class for all form related HTMLElements with the tag name of input. It is
subclassed by elements with specific type attributes. It is recommended that you use the specific subclasses
of InputElement instead of InputElement itself.
| Field Summary |
|---|
| 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 | |
|---|---|
InputElement()
Class constructor which sets the tag name of the element to input. |
|
| Method Summary | |
|---|---|
String |
getOnBlur()
Returns the onBlur attribute. |
String |
getOnClick()
Returns the onClick attribute. |
String |
getOnFocus()
Returns the onFocus attribute. |
String |
getType()
Gets the type attribute. |
String |
getValue()
Gets the initialValue. |
boolean |
isDisabled()
Determines whether or not the disabled flag has been set on this CheckboxElement. |
void |
renderEndTag(StringBuffer buffer)
Does nothing. |
void |
setDisabled(boolean value)
Adds or removes the disabled flag on this CheckBoxElement. |
void |
setOnBlur(String onBlur)
Sets the onBlur attribute. |
void |
setOnClick(String onClick)
Sets the onClick attribute. |
void |
setOnFocus(String onFocus)
Sets the onFocus attribute. |
void |
setType(String type)
Sets the type attribute. |
void |
setValue(String value)
Sets the initialValue. |
| 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 |
| Constructor Detail |
|---|
public InputElement()
input.
| Method Detail |
|---|
public void renderEndTag(StringBuffer buffer)
renderEndTag in class HTMLElementpublic String getOnClick()
public String getOnFocus()
public String getOnBlur()
public String getType()
public void setOnClick(String onClick)
onClick - The onClick to setpublic void setOnFocus(String onFocus)
onFocus - The onFocus to setpublic void setOnBlur(String onBlur)
onBlur - The onBlur to setpublic void setType(String type)
type - The type to setpublic String getValue()
public void setValue(String value)
value - The initialValue to set.public boolean isDisabled()
disabled flag has been set on this CheckboxElement.
public void setDisabled(boolean value)
disabled flag on this CheckBoxElement.
value - true to add the flag, false to remove the flag
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||