Java Doc for Form.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » rave » web » ui » component » 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 » IDE Netbeans » visualweb.api.designer » com.sun.rave.web.ui.component 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.rave.web.ui.component.FormBase
   com.sun.rave.web.ui.component.Form

Form
public class Form extends FormBase (Code)

Component that represents an input form.


Inner Class :public static class VirtualFormDescriptor implements Serializable

Field Summary
final public static  charID_WILD_CHAR
    


Method Summary
public  voidaddInternalVirtualForm(VirtualFormDescriptor descriptor)
     Add a VirtualFormDescriptor to the internal virtual forms.
public  voiddiscardSubmittedValue(EditableValueHolder inputField)
    
public  voiddiscardSubmittedValues(String virtualFormName)
    
public  UIComponentfindComponentById(String id)
     Given a bare, partially qualified, or fully qualified id, find the component.
public static  booleanfullyQualifiedIdMatchesPattern(String fqId, String pattern)
     Determine if the fully qualified id provided matches the supplied pattern.
public static  VirtualFormDescriptor[]generateVirtualForms(String configStr)
    
public static  StringgenerateVirtualFormsConfig(VirtualFormDescriptor[] descriptors)
    
public  StringgetEnctype()
    
public static  StringgetFullyQualifiedId(UIComponent component)
     Obtain the virtual form compatible fully-qualified id for the supplied component.
public  VirtualFormDescriptorgetVirtualFormComponentSubmits(String id)
     Get the virtual form submitted by the component whose id is provided or null if the component does not submit a virtual form.
public static  booleanisValidFullyQualifiedId(String id)
     Determine if the id provided is non-null and exhibits the traits of a fully qualified id.
public  voidprocessDecodes(FacesContext context)
    
public  voidqueueEvent(FacesEvent event)
    
public  voidrestoreNonParticipatingSubmittedValues()
    

Restore the submitted values erased by the virtual form mechanism where appropriate. This method is called in FormRenderer.renderStart.

public  voidsetSubmittedVirtualForm(VirtualFormDescriptor vfd)
    
public  voidsetVirtualForms(VirtualFormDescriptor[] vfds)
    
public  voidsetVirtualFormsConfig(String configStr)
    

Field Detail
ID_WILD_CHAR
final public static char ID_WILD_CHAR(Code)





Method Detail
addInternalVirtualForm
public void addInternalVirtualForm(VirtualFormDescriptor descriptor)(Code)
Add a VirtualFormDescriptor to the internal virtual forms. If an existing VirtualFormDescriptor object is found with the same name, the object is replaced.
Parameters:
  descriptor - The VirtualFormDescriptor to add.



discardSubmittedValue
public void discardSubmittedValue(EditableValueHolder inputField)(Code)

Ensure that the supplied EditableValueHolder component will discard (rather than retain) its submitted value when a virtual form is submitted in which the component does not participate.


Parameters:
  inputField - An EditableValueHolder component that is not a participant in the virtual form that was submittedon this request.
throws:
  IllegalArgumentException - if inputField is null.
throws:
  IllegalArgumentException - if a virtual form has beensubmitted and the supplied inputField participates in it.



discardSubmittedValues
public void discardSubmittedValues(String virtualFormName)(Code)

Ensure that the participants in the supplied virtual form will discard (rather than retain) their submitted values when a different virtual form is submitted.


Parameters:
  virtualFormName - The name of a virtual form on this page which has not been submitted.
throws:
  IllegalArgumentException - if no virtual form exists with the supplied name.
throws:
  IllegalArgumentException - if the supplied virtual form has been submitted on this request.



findComponentById
public UIComponent findComponentById(String id)(Code)
Given a bare, partially qualified, or fully qualified id, find the component. Unlike the inherited findComponent method, this method does recursively search NamingContainers.



fullyQualifiedIdMatchesPattern
public static boolean fullyQualifiedIdMatchesPattern(String fqId, String pattern)(Code)
Determine if the fully qualified id provided matches the supplied pattern. The pattern may be a bare, partially qualified, or fully qualified id. The pattern may also end with the NamingContainer.SEPARATOR_CHAR followed by the Form.ID_WILD_CHAR, in which case the children of the component indicated by the pattern will be considered a match.



generateVirtualForms
public static VirtualFormDescriptor[] generateVirtualForms(String configStr)(Code)

Generate an array of VirtualFormDescriptors based on a virtual form configuration String.




generateVirtualFormsConfig
public static String generateVirtualFormsConfig(VirtualFormDescriptor[] descriptors)(Code)

Generate a virtual form configuration String based on an array of VirtualFormDescriptors.




getEnctype
public String getEnctype()(Code)



getFullyQualifiedId
public static String getFullyQualifiedId(UIComponent component)(Code)
Obtain the virtual form compatible fully-qualified id for the supplied component. A fully-qualified id begins with the NamingContainer.SEPARATOR_CHAR (representing the Form itself), contains component ids of the component's ancestors separated by NamingContainer.SEPARATOR_CHAR, and ends with the component's id.



getVirtualFormComponentSubmits
public VirtualFormDescriptor getVirtualFormComponentSubmits(String id)(Code)
Get the virtual form submitted by the component whose id is provided or null if the component does not submit a virtual form.



isValidFullyQualifiedId
public static boolean isValidFullyQualifiedId(String id)(Code)
Determine if the id provided is non-null and exhibits the traits of a fully qualified id. This includes beginning with NamingContainer.SEPARATOR_CHAR, not ending with that character unless it is the only character, not ending in Form.ID_WILD_CHAR, and not containing spaces.



processDecodes
public void processDecodes(FacesContext context)(Code)

Override UIForm.processDecodes(FacesContext) to ensure correct virtual form processing.


Parameters:
  context - FacesContext for the current request
exception:
  NullPointerException - Thrown when context is null



queueEvent
public void queueEvent(FacesEvent event)(Code)



restoreNonParticipatingSubmittedValues
public void restoreNonParticipatingSubmittedValues()(Code)

Restore the submitted values erased by the virtual form mechanism where appropriate. This method is called in FormRenderer.renderStart. It should not be called by developer code.

Note: Restoring of submitted values works on TableRowGroup components, but does not work on the standard faces data table component. This is because in UIData.encodeBegin, the table's per-row saved state is typically discarded. The result is that upon exiting FormRenderer.renderStart, the submitted values will be restored; however, they will subsequently be discarded. Nonetheless, we still cache and restore those submitted values, in case a third-party component extends UIData and, unlike UIData, does not discard its saved state during rendering.




setSubmittedVirtualForm
public void setSubmittedVirtualForm(VirtualFormDescriptor vfd)(Code)



setVirtualForms
public void setVirtualForms(VirtualFormDescriptor[] vfds)(Code)



setVirtualFormsConfig
public void setVirtualFormsConfig(String configStr)(Code)



Methods inherited from com.sun.rave.web.ui.component.FormBase
public String getEnctype()(Code)(Java Doc)
public String getFamily()(Code)(Java Doc)
public com.sun.rave.web.ui.component.Form.VirtualFormDescriptor[] getInternalVirtualForms()(Code)(Java Doc)
public String getOnClick()(Code)(Java Doc)
public String getOnDblClick()(Code)(Java Doc)
public String getOnKeyDown()(Code)(Java Doc)
public String getOnKeyPress()(Code)(Java Doc)
public String getOnKeyUp()(Code)(Java Doc)
public String getOnMouseDown()(Code)(Java Doc)
public String getOnMouseMove()(Code)(Java Doc)
public String getOnMouseOut()(Code)(Java Doc)
public String getOnMouseOver()(Code)(Java Doc)
public String getOnMouseUp()(Code)(Java Doc)
public String getOnReset()(Code)(Java Doc)
public String getOnSubmit()(Code)(Java Doc)
public String getStyle()(Code)(Java Doc)
public String getStyleClass()(Code)(Java Doc)
public String getTarget()(Code)(Java Doc)
public com.sun.rave.web.ui.component.Form.VirtualFormDescriptor[] getVirtualForms()(Code)(Java Doc)
public String getVirtualFormsConfig()(Code)(Java Doc)
public boolean isAutoComplete()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public void restoreState(FacesContext _context, Object _state)(Code)(Java Doc)
public Object saveState(FacesContext _context)(Code)(Java Doc)
public void setAutoComplete(boolean autoComplete)(Code)(Java Doc)
public void setEnctype(String enctype)(Code)(Java Doc)
public void setInternalVirtualForms(com.sun.rave.web.ui.component.Form.VirtualFormDescriptor[] internalVirtualForms)(Code)(Java Doc)
public void setOnClick(String onClick)(Code)(Java Doc)
public void setOnDblClick(String onDblClick)(Code)(Java Doc)
public void setOnKeyDown(String onKeyDown)(Code)(Java Doc)
public void setOnKeyPress(String onKeyPress)(Code)(Java Doc)
public void setOnKeyUp(String onKeyUp)(Code)(Java Doc)
public void setOnMouseDown(String onMouseDown)(Code)(Java Doc)
public void setOnMouseMove(String onMouseMove)(Code)(Java Doc)
public void setOnMouseOut(String onMouseOut)(Code)(Java Doc)
public void setOnMouseOver(String onMouseOver)(Code)(Java Doc)
public void setOnMouseUp(String onMouseUp)(Code)(Java Doc)
public void setOnReset(String onReset)(Code)(Java Doc)
public void setOnSubmit(String onSubmit)(Code)(Java Doc)
public void setStyle(String style)(Code)(Java Doc)
public void setStyleClass(String styleClass)(Code)(Java Doc)
public void setTarget(String target)(Code)(Java Doc)
public void setVirtualForms(com.sun.rave.web.ui.component.Form.VirtualFormDescriptor[] virtualForms)(Code)(Java Doc)
public void setVirtualFormsConfig(String virtualFormsConfig)(Code)(Java Doc)
public void setVisible(boolean visible)(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.