Java Doc for HTMLInputElement.java in  » Web-Server » Rimfaxe-Web-Server » org » w3c » dom » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Rimfaxe Web Server » org.w3c.dom.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.w3c.dom.html.HTMLInputElement

All known Subclasses:   org.apache.html.dom.HTMLInputElementImpl,
HTMLInputElement
public interface HTMLInputElement extends HTMLElement(Code)
Form control. Note. Depending upon the environment in which 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.

See also the Document Object Model (DOM) Level 2 Specification.





Method Summary
public  voidblur()
     Removes keyboard focus from this element.
public  voidclick()
     Simulate a mouse-click.
public  voidfocus()
     Gives keyboard focus to this element.
public  StringgetAccept()
     A comma-separated list of content types that a server processing this form will handle correctly.
public  StringgetAccessKey()
     A single character access key to give access to the form control.
public  StringgetAlign()
     Aligns this object (vertically or horizontally) with respect to its surrounding text.
public  StringgetAlt()
     Alternate text for user agents not rendering the normal content of this element.
public  booleangetChecked()
     When the type attribute of the element has the value "Radio" or "Checkbox", this represents the current state of the form control, in an interactive user agent.
public  booleangetDefaultChecked()
     When type has the value "Radio" or "Checkbox", this represents the HTML checked attribute of the element.
public  StringgetDefaultValue()
     When the type attribute of the element has the value "Text", "File" or "Password", this represents the HTML value attribute of the element.
public  booleangetDisabled()
     The control is unavailable in this context.
public  HTMLFormElementgetForm()
     Returns the FORM element containing this control.
public  intgetMaxLength()
     Maximum number of characters for text fields, when type has the value "Text" or "Password".
public  StringgetName()
     Form control or object name when submitted with a form.
public  booleangetReadOnly()
     This control is read-only.
public  StringgetSize()
     Size information.
public  StringgetSrc()
     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.
public  intgetTabIndex()
     Index that represents the element's position in the tabbing order.
public  StringgetType()
     The type of control created.
public  StringgetUseMap()
     Use client-side image map.
public  StringgetValue()
     When the type attribute of the element has the value "Text", "File" or "Password", this represents the current contents of the corresponding form control, in an interactive user agent.
public  voidselect()
     Select the contents of the text area.
public  voidsetAccept(String accept)
    
public  voidsetAccessKey(String accessKey)
    
public  voidsetAlign(String align)
    
public  voidsetAlt(String alt)
    
public  voidsetChecked(boolean checked)
    
public  voidsetDefaultChecked(boolean defaultChecked)
    
public  voidsetDefaultValue(String defaultValue)
    
public  voidsetDisabled(boolean disabled)
    
public  voidsetMaxLength(int maxLength)
    
public  voidsetName(String name)
    
public  voidsetReadOnly(boolean readOnly)
    
public  voidsetSize(String size)
    
public  voidsetSrc(String src)
    
public  voidsetTabIndex(int tabIndex)
    
public  voidsetUseMap(String useMap)
    
public  voidsetValue(String value)
    



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



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



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



getAccept
public String getAccept()(Code)
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.



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



getAlign
public String getAlign()(Code)
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.



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



getChecked
public boolean getChecked()(Code)
When the type attribute of the element has the value "Radio" or "Checkbox", this represents the current state of the form control, in an interactive user agent. Changes to this attribute change the state of the form control, but do not change the value of the HTML value attribute of the element.



getDefaultChecked
public boolean getDefaultChecked()(Code)
When type has the value "Radio" or "Checkbox", this represents the HTML checked attribute of the element. The value of this attribute does not change if the state of the corresponding form control, in an interactive user agent, changes. Changes to this attribute, however, resets the state of the form control. See the checked attribute definition in HTML 4.0.



getDefaultValue
public String getDefaultValue()(Code)
When the type attribute of the element has the value "Text", "File" or "Password", this represents the HTML value attribute of the element. The value of this attribute does not change if the contents of the corresponding form control, in an interactive user agent, changes. Changing this attribute, however, resets the contents of the form control. See the value attribute definition in HTML 4.0.



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



getForm
public HTMLFormElement getForm()(Code)
Returns the FORM element containing this control. Returns null if this control is not within the context of a form.



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



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



getReadOnly
public boolean getReadOnly()(Code)
This control is read-only. Relevant only when type has the value "Text" or "Password". See the readonly attribute definition in HTML 4.0.



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



getSrc
public String getSrc()(Code)
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.



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



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



getUseMap
public String getUseMap()(Code)
Use client-side image map. See the usemap attribute definition in HTML 4.0.



getValue
public String getValue()(Code)
When the type attribute of the element has the value "Text", "File" or "Password", this represents the current contents of the corresponding form control, in an interactive user agent. Changing this attribute changes the contents of the form control, but does not change the value of the HTML value attribute of the element. When the type attribute of the element has the value "Button", "Hidden", "Submit", "Reset", "Image", "Checkbox" or "Radio", this represents the HTML value attribute of the element. See the value attribute definition in HTML 4.0.



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



setAccept
public void setAccept(String accept)(Code)



setAccessKey
public void setAccessKey(String accessKey)(Code)



setAlign
public void setAlign(String align)(Code)



setAlt
public void setAlt(String alt)(Code)



setChecked
public void setChecked(boolean checked)(Code)



setDefaultChecked
public void setDefaultChecked(boolean defaultChecked)(Code)



setDefaultValue
public void setDefaultValue(String defaultValue)(Code)



setDisabled
public void setDisabled(boolean disabled)(Code)



setMaxLength
public void setMaxLength(int maxLength)(Code)



setName
public void setName(String name)(Code)



setReadOnly
public void setReadOnly(boolean readOnly)(Code)



setSize
public void setSize(String size)(Code)



setSrc
public void setSrc(String src)(Code)



setTabIndex
public void setTabIndex(int tabIndex)(Code)



setUseMap
public void setUseMap(String useMap)(Code)



setValue
public void setValue(String value)(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.