Java Doc for Form.java in  » Ajax » gwtext-2.01 » com » gwtext » client » widgets » form » 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 » Ajax » gwtext 2.01 » com.gwtext.client.widgets.form 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.gwtext.client.widgets.BaseExtWidget
   com.gwtext.client.widgets.form.Form

Form
public class Form extends BaseExtWidget (Code)
Form widget.



Constructor Summary
public  Form(JavaScriptObject jsObj)
    

Method Summary
native public  voidadd(Field field)
     Add a Field to the current open container (e.g.
native public  voidaddListener(FormListener listener)
     Add a Form listener.
native public  voidclearInvalid()
     Clears all invalid messages in this form.
native protected  JavaScriptObjectcreate(JavaScriptObject config)
    
native public  FieldfindField(String id)
     Find a Field in this form by id, dataIndex, name or hiddenName.
native public  StringgetValues()
    
public static  Forminstance(JavaScriptObject formJS)
    
native public  booleanisDirty()
     Returns true if any fields in this form have changed since their original load.
native public  booleanisValid()
     Returns true if client-side validation on the form is successful.
public  voidload(String url)
    
public  voidload(String url, UrlParam[] params, Connection.Method method, String waitMsg)
    
native public  voidloadRecord(Record record)
     Loads a Record into this form.
native public  voidremove(Field field)
     Removes a field from the items collection (does NOT remove its markup).
native public  voidreset()
     Resets this form.
native public  voidsubmit()
     Shortcut to do a submit action.
public  voidsubmit(String url)
     Submit the form.
public  voidsubmit(String url, UrlParam[] params, Connection.Method method, String waitMsg, boolean clientValidation)
     Subit the form.
native public  voidsubmit(JavaScriptObject configJS)
     Submit the form using the specified configuration.
native public  voidupdateRecord(Record record)
     Persists the values in this Form into the passed Record object.


Constructor Detail
Form
public Form(JavaScriptObject jsObj)(Code)




Method Detail
add
native public void add(Field field)(Code)
Add a Field to the current open container (e.g. column, fieldset, etc.).
Parameters:
  field - the field to add



addListener
native public void addListener(FormListener listener)(Code)
Add a Form listener.
Parameters:
  listener - the form listener



clearInvalid
native public void clearInvalid()(Code)
Clears all invalid messages in this form.



create
native protected JavaScriptObject create(JavaScriptObject config)(Code)



findField
native public Field findField(String id)(Code)
Find a Field in this form by id, dataIndex, name or hiddenName.
Parameters:
  id - the field ID,dataIndex, name or hiddenName to search for the field



getValues
native public String getValues()(Code)
Returns the fields in this form as a String form vield values as String



instance
public static Form instance(JavaScriptObject formJS)(Code)



isDirty
native public boolean isDirty()(Code)
Returns true if any fields in this form have changed since their original load. true if dirty



isValid
native public boolean isValid()(Code)
Returns true if client-side validation on the form is successful. true if valid



load
public void load(String url)(Code)



load
public void load(String url, UrlParam[] params, Connection.Method method, String waitMsg)(Code)



loadRecord
native public void loadRecord(Record record)(Code)
Loads a Record into this form. The name of the Fields in the com.gwtext.client.data.RecordDef must match the names of the Fields in the From.
Parameters:
  record - the Record to load



remove
native public void remove(Field field)(Code)
Removes a field from the items collection (does NOT remove its markup).
Parameters:
  field - the field to remove



reset
native public void reset()(Code)
Resets this form.



submit
native public void submit()(Code)
Shortcut to do a submit action.



submit
public void submit(String url)(Code)
Submit the form.
Parameters:
  url - the url to sumbit to



submit
public void submit(String url, UrlParam[] params, Connection.Method method, String waitMsg, boolean clientValidation)(Code)
Subit the form.
Parameters:
  url - the url to submit to
Parameters:
  params - additional params to submit
Parameters:
  method - the submit method
Parameters:
  waitMsg - the wait message
Parameters:
  clientValidation - pass true to call form.isValid() prior to posting to validate the form on the client (defaults to false)
See Also:   com.gwtext.client.core.Connection.GET
See Also:   com.gwtext.client.core.Connection.POST



submit
native public void submit(JavaScriptObject configJS)(Code)
Submit the form using the specified configuration.
Parameters:
  configJS - form submit config



updateRecord
native public void updateRecord(Record record)(Code)
Persists the values in this Form into the passed Record object.
Parameters:
  record - the record to edit



Fields inherited from com.gwtext.client.widgets.BaseExtWidget
protected JavaScriptObject jsObj(Code)(Java Doc)

Methods inherited from com.gwtext.client.widgets.BaseExtWidget
public boolean equals(Object obj)(Code)(Java Doc)
public ExtElement getEl()(Code)(Java Doc)
native protected Element getElement(JavaScriptObject jsObj)(Code)(Java Doc)
public JavaScriptObject getJsObj()(Code)(Java Doc)
public int getOffsetHeight()(Code)(Java Doc)
public int getOffsetWidth()(Code)(Java Doc)
protected Element getStyleElement()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
protected void onAttach()(Code)(Java Doc)
protected void onLoad()(Code)(Java Doc)
native public void purgeListeners()(Code)(Java Doc)
public void setHeight(String height)(Code)(Java Doc)
public void setJsObj(JavaScriptObject jsObj)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public void setWidth(String width)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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