org.kde.koala
Class HTMLInputElement

java.lang.Object
  extended by org.kde.koala.Node
      extended by org.kde.koala.Element
          extended by org.kde.koala.HTMLElement
              extended by org.kde.koala.HTMLInputElement
All Implemented Interfaces:
org.kde.qt.QtSupport

public class HTMLInputElement
extends HTMLElement

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.Element
contentEditable, form, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, isHTMLElement, khtmlMalformedPrefix, khtmlMalformedQualifiedName, khtmlValidAttrName, khtmlValidPrefix, khtmlValidQualifiedName, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentEditable, style, tagName
 
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

HTMLInputElement

protected HTMLInputElement(java.lang.Class dummy)

HTMLInputElement

public HTMLInputElement()

HTMLInputElement

public HTMLInputElement(HTMLInputElement other)

HTMLInputElement

public HTMLInputElement(Node other)
Method Detail

defaultValue

public java.lang.String defaultValue()
Stores the initial control value (i.e., the initial value of value ).


setDefaultValue

public void setDefaultValue(java.lang.String arg1)
see defaultValue


defaultChecked

public boolean defaultChecked()
When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute.


setDefaultChecked

public void setDefaultChecked(boolean arg1)
see defaultChecked


formElement

public HTMLFormElement formElement()
### KDE 4.0: remove.


accept

public java.lang.String accept()
A comma-separated list of content types that a server processing this form will handle correctly. See the accept attribute definition in HTML 4.0.


setAccept

public void setAccept(java.lang.String arg1)
see accept


accessKey

public java.lang.String accessKey()
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.


setAccessKey

public void setAccessKey(java.lang.String arg1)
see accessKey


align

public java.lang.String align()
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.


setAlign

public void setAlign(java.lang.String arg1)
see align


alt

public java.lang.String alt()
Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.0.


setAlt

public void setAlt(java.lang.String arg1)
see alt


checked

public boolean checked()
Describes whether a radio or check box is checked, when 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.


setChecked

public void setChecked(boolean arg1)
see checked


disabled

public boolean disabled()
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.


setDisabled

public void setDisabled(boolean arg1)
see disabled


maxLength

public long maxLength()
Maximum number of characters for text fields, when type has the value "Text" or "Password". See the maxlength attribute definition in HTML 4.0.


setMaxLength

public void setMaxLength(long arg1)
see maxLength


name

public java.lang.String name()
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.


setName

public void setName(java.lang.String arg1)
see name


readOnly

public boolean readOnly()
This control is read-only. When type has the value "text" or "password" only. See the readonly attribute definition in HTML 4.0.


setReadOnly

public void setReadOnly(boolean arg1)
see readOnly


getSize

public long getSize()
Size information. The precise meaning is specific to each type of field. See the size attribute definition in HTML 4.0.


setSize

public void setSize(long arg1)
see getSize


src

public 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. See the src attribute definition in HTML 4.0.


setSrc

public void setSrc(java.lang.String arg1)
see src


tabIndex

public long tabIndex()
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.


setTabIndex

public void setTabIndex(long arg1)
see tabIndex


type

public java.lang.String type()
The type of control created. See the type attribute definition in HTML 4.0.


setType

public void setType(java.lang.String arg1)
see type


useMap

public java.lang.String useMap()
Use client-side image map. See the usemap attribute definition in HTML 4.0.


setUseMap

public void setUseMap(java.lang.String arg1)
see useMap


value

public java.lang.String value()
The current form control value. Used for radio buttons and check boxes. See the value attribute definition in HTML 4.0.


setValue

public void setValue(java.lang.String arg1)
see value


blur

public void blur()
Removes keyboard focus from this element.


focus

public void focus()
Gives keyboard focus to this element.


select

public void select()
Select the contents of the text area. For INPUT elements whose type attribute has one of the following values: "Text", "File", or "Password".


click

public void click()
Simulate a mouse-click. For INPUT elements whose type attribute has one of the following values: "Button", "Checkbox", "Radio", "Reset", or "Submit".