|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.Node
org.kde.koala.Element
org.kde.koala.HTMLElement
org.kde.koala.HTMLInputElement
public class HTMLInputElement
Form control. Note. Depending upon the environment the page is being viewed, the value property may be read-only for the file upload input type. For the "password" input type, the actual value returned may be masked to prevent unauthorized use. See the INPUT element definition in HTML 4.0.
Constructor Summary | |
---|---|
|
HTMLInputElement()
|
protected |
HTMLInputElement(java.lang.Class dummy)
|
|
HTMLInputElement(HTMLInputElement other)
|
|
HTMLInputElement(Node other)
|
Method Summary | |
---|---|
java.lang.String |
accept()
A comma-separated list of content types that a server processing this form will handle correctly. |
java.lang.String |
accessKey()
A single character access key to give access to the form control. |
java.lang.String |
align()
Aligns this object (vertically or horizontally) with respect to its surrounding text. |
java.lang.String |
alt()
Alternate text for user agents not rendering the normal content of this element. |
void |
blur()
Removes keyboard focus from this element. |
boolean |
checked()
Describes whether a radio or check box is checked, when type has the value "Radio" or "Checkbox". |
void |
click()
Simulate a mouse-click. |
boolean |
defaultChecked()
When type has the value "Radio" or "Checkbox",
stores the initial value of the checked
attribute. |
java.lang.String |
defaultValue()
Stores the initial control value (i.e., the initial value of value ). |
boolean |
disabled()
The control is unavailable in this context. |
void |
focus()
Gives keyboard focus to this element. |
HTMLFormElement |
formElement()
### KDE 4.0: remove. |
long |
getSize()
Size information. |
long |
maxLength()
Maximum number of characters for text fields, when type
has the value "Text" or "Password". |
java.lang.String |
name()
Form control or object name when submitted with a form. |
boolean |
readOnly()
This control is read-only. |
void |
select()
Select the contents of the text area. |
void |
setAccept(java.lang.String arg1)
see accept |
void |
setAccessKey(java.lang.String arg1)
see accessKey |
void |
setAlign(java.lang.String arg1)
see align |
void |
setAlt(java.lang.String arg1)
see alt |
void |
setChecked(boolean arg1)
see checked |
void |
setDefaultChecked(boolean arg1)
see defaultChecked |
void |
setDefaultValue(java.lang.String arg1)
see defaultValue |
void |
setDisabled(boolean arg1)
see disabled |
void |
setMaxLength(long arg1)
see maxLength |
void |
setName(java.lang.String arg1)
see name |
void |
setReadOnly(boolean arg1)
see readOnly |
void |
setSize(long arg1)
see getSize |
void |
setSrc(java.lang.String arg1)
see src |
void |
setTabIndex(long arg1)
see tabIndex |
void |
setType(java.lang.String arg1)
see type |
void |
setUseMap(java.lang.String arg1)
see useMap |
void |
setValue(java.lang.String arg1)
see value |
java.lang.String |
src()
When the type attribute has the value "Image",
this attribute specifies the location of the image to be used
to decorate the graphical submit button. |
long |
tabIndex()
Index that represents the element's position in the tabbing order. |
java.lang.String |
type()
The type of control created. |
java.lang.String |
useMap()
Use client-side image map. |
java.lang.String |
value()
The current form control value. |
Methods inherited from class org.kde.koala.HTMLElement |
---|
addCSSProperty, all, assignOther, children, className, dir, id, innerHTML, innerText, lang, removeCSSProperty, setClassName, setDir, setId, setInnerHTML, setInnerText, setLang, setTitle, title |
Methods inherited from class org.kde.koala.Node |
---|
addEventListener, appendChild, applyChanges, attributes, childNodes, cloneNode, dispatchEvent, elementId, firstChild, getRect, hasAttributes, hasChildNodes, index, insertBefore, isNull, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, op_equals, op_not_equals, ownerDocument, parentNode, prefix, previousSibling, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected HTMLInputElement(java.lang.Class dummy)
public HTMLInputElement()
public HTMLInputElement(HTMLInputElement other)
public HTMLInputElement(Node other)
Method Detail |
---|
public java.lang.String defaultValue()
value
).
public void setDefaultValue(java.lang.String arg1)
public boolean defaultChecked()
type
has the value "Radio" or "Checkbox",
stores the initial value of the checked
attribute.
public void setDefaultChecked(boolean arg1)
public HTMLFormElement formElement()
public java.lang.String accept()
public void setAccept(java.lang.String arg1)
public java.lang.String accessKey()
public void setAccessKey(java.lang.String arg1)
public java.lang.String align()
public void setAlign(java.lang.String arg1)
public java.lang.String alt()
public void setAlt(java.lang.String arg1)
public boolean checked()
type
has the value "Radio" or "Checkbox". The value is
true if explicitly set. Represents the current state of the
checkbox or radio button. See the
checked attribute definition in HTML 4.0.
public void setChecked(boolean arg1)
public boolean disabled()
public void setDisabled(boolean arg1)
public long maxLength()
type
has the value "Text" or "Password". See the
maxlength attribute definition in HTML 4.0.
public void setMaxLength(long arg1)
public java.lang.String name()
public void setName(java.lang.String arg1)
public boolean readOnly()
type
has the
value "text" or "password" only. See the
readonly attribute definition in HTML 4.0.
public void setReadOnly(boolean arg1)
public long getSize()
public void setSize(long arg1)
public java.lang.String src()
type
attribute has the value "Image",
this attribute specifies the location of the image to be used
to decorate the graphical submit button. See the
src attribute definition in HTML 4.0.
public void setSrc(java.lang.String arg1)
public long tabIndex()
public void setTabIndex(long arg1)
public java.lang.String type()
public void setType(java.lang.String arg1)
public java.lang.String useMap()
public void setUseMap(java.lang.String arg1)
public java.lang.String value()
public void setValue(java.lang.String arg1)
public void blur()
public void focus()
public void select()
INPUT
elements whose type
attribute has one of the
following values: "Text", "File", or "Password".
public void click()
INPUT
elements whose
type
attribute has one of the following values:
"Button", "Checkbox", "Radio", "Reset", or "Submit".
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |