Java Doc for FacesBean.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » insync » faces » 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 » org.netbeans.modules.visualweb.insync.faces 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.visualweb.insync.beans.Bean
   org.netbeans.modules.visualweb.insync.faces.MarkupBean
      org.netbeans.modules.visualweb.insync.faces.FacesBean

FacesBean
public class FacesBean extends MarkupBean (Code)
A MarkupBean for a JSF component that lives in a FacesPageUnit.

Inner Class :public class UsageInfo

Field Summary
final public static  StringBINDING_ATTR
    
final public static  StringID_ATTR
    
 ElementfacetElement
    

Constructor Summary
 FacesBean(FacesPageUnit unit, BeanInfo beanInfo, String name, Element element)
     Construct a bean bound to existing field & accessor methods, and page element.
 FacesBean(FacesPageUnit unit, BeanInfo beanInfo, String name, MarkupBean parent, Element element)
    

Method Summary
public  voidaddBinding()
    
protected  voidbindEventSets()
     Perform markup-based event wiring here on a per-bean basis.
public  BeanbindParent()
     Take the opportinuty to scan for and bind to this bean's parent.
 voidclearBindingProperty()
    
public static  AttributeDescriptorgetAttributeDescriptor(PropertyDescriptor pd)
     Determine if a given property should be managed in markup based on it having an attribute descriptor.
Parameters:
  pd - The propertty's descriptor.
public  StringgetCompBinding()
     Get the binding expression string for this bean.
public  ElementgetFacetElement()
     Get the facet element if this bean is a facet.
public  StringgetFacetName()
     Get the facet name if this bean is a facet.
public  UsageInfogetUsageInfo()
    
public  booleanisMarkupProperty(PropertyDescriptor pd)
    
protected  EventSetnewCreatedEventSet(EventSetDescriptor esd)
    
protected  PropertynewCreatedProperty(PropertyDescriptor pd)
    
public  booleanperformInstanceParenting(Object instance, Object parent, Position pos)
    
public  voidperformInstanceUnparenting(Object instance, Object parent)
    
public  List<String>removeBinding()
    
 voidsetBindingProperty()
    
 voidsetBindingPropertyLive(DesignBean liveBean)
    
public  StringsetName(String name, boolean autoNumber, DesignBean liveBean)
    
public  voidupdateBindingLive(Object instance)
    

Field Detail
BINDING_ATTR
final public static String BINDING_ATTR(Code)



ID_ATTR
final public static String ID_ATTR(Code)



facetElement
Element facetElement(Code)




Constructor Detail
FacesBean
FacesBean(FacesPageUnit unit, BeanInfo beanInfo, String name, Element element)(Code)
Construct a bean bound to existing field & accessor methods, and page element.
Parameters:
  unit -
Parameters:
  beanInfo -
Parameters:
  name -
Parameters:
  field -
Parameters:
  getter -
Parameters:
  setter -
Parameters:
  element -



FacesBean
FacesBean(FacesPageUnit unit, BeanInfo beanInfo, String name, MarkupBean parent, Element element)(Code)
Construct a new bean, creating the underlying field and accessor methods and using given page element
Parameters:
  unit -
Parameters:
  beanInfo -
Parameters:
  name -
Parameters:
  parent -
Parameters:
  element -




Method Detail
addBinding
public void addBinding()(Code)



bindEventSets
protected void bindEventSets()(Code)
Perform markup-based event wiring here on a per-bean basis.



bindParent
public Bean bindParent()(Code)
Take the opportinuty to scan for and bind to this bean's parent. !CQ TODO: maybe share code with superclass... the parent of this bean iff not previously bound



clearBindingProperty
void clearBindingProperty()(Code)



getAttributeDescriptor
public static AttributeDescriptor getAttributeDescriptor(PropertyDescriptor pd)(Code)
Determine if a given property should be managed in markup based on it having an attribute descriptor.
Parameters:
  pd - The propertty's descriptor. The attribute descriptor if there is one, else null.



getCompBinding
public String getCompBinding()(Code)
Get the binding expression string for this bean. the binding expression string for this bean.



getFacetElement
public Element getFacetElement()(Code)
Get the facet element if this bean is a facet. the facet element if this bean is a facet, or null if it is not.



getFacetName
public String getFacetName()(Code)
Get the facet name if this bean is a facet. the facet name if this bean is a facet, or null if it is not.



getUsageInfo
public UsageInfo getUsageInfo()(Code)



isMarkupProperty
public boolean isMarkupProperty(PropertyDescriptor pd)(Code)



newCreatedEventSet
protected EventSet newCreatedEventSet(EventSetDescriptor esd)(Code)



newCreatedProperty
protected Property newCreatedProperty(PropertyDescriptor pd)(Code)



performInstanceParenting
public boolean performInstanceParenting(Object instance, Object parent, Position pos)(Code)



performInstanceUnparenting
public void performInstanceUnparenting(Object instance, Object parent)(Code)



removeBinding
public List<String> removeBinding()(Code)



setBindingProperty
void setBindingProperty()(Code)
Directly set the markup=>java bean binding attribute(s)



setBindingPropertyLive
void setBindingPropertyLive(DesignBean liveBean)(Code)
Directly set the markup=>java bean binding attribute(s) and also the live instances
Parameters:
  liveBean -



setName
public String setName(String name, boolean autoNumber, DesignBean liveBean)(Code)
Set the name of this bean, making sure also to set the binding attr
See Also:   org.netbeans.modules.visualweb.insync.beans.Bean.setName(java.lang.Stringbooleancom.sun.rave.designtime.DesignBean)



updateBindingLive
public void updateBindingLive(Object instance)(Code)
Update the live faces value binding for this component
Parameters:
  instance -



Fields inherited from org.netbeans.modules.visualweb.insync.faces.MarkupBean
final ArrayList children(Code)(Java Doc)
final Element element(Code)(Java Doc)
MarkupBean parent(Code)(Java Doc)

Methods inherited from org.netbeans.modules.visualweb.insync.faces.MarkupBean
public void addChild(Bean child, Position pos)(Code)(Java Doc)
public Bean bindParent()(Code)(Java Doc)
public Attr getAttr(String name)(Code)(Java Doc)
public Bean[] getChildren()(Code)(Java Doc)
public Element getElement()(Code)(Java Doc)
public Bean getParent()(Code)(Java Doc)
public PropertyDescriptor getPropertyDescriptorForAttribute(String attributeName)(Code)(Java Doc)
public boolean isMarkupProperty(PropertyDescriptor pd)(Code)(Java Doc)
public boolean isParentCapable()(Code)(Java Doc)
protected Property newCreatedProperty(PropertyDescriptor pd)(Code)(Java Doc)
void removeAttr(String name)(Code)(Java Doc)
public void removeChild(Bean child)(Code)(Java Doc)
public boolean removeEntry()(Code)(Java Doc)
void setAttr(String name, String value)(Code)(Java Doc)
public void toString(StringBuffer sb)(Code)(Java Doc)

Fields inherited from org.netbeans.modules.visualweb.insync.beans.Bean
final public static Bean[] EMPTY_ARRAY(Code)(Java Doc)
final protected BeanInfo beanInfo(Code)(Java Doc)
final protected List<EventSet> eventSets(Code)(Java Doc)
final protected List<Property> properties(Code)(Java Doc)

Methods inherited from org.netbeans.modules.visualweb.insync.beans.Bean
public void addChild(Bean child, Position pos)(Code)(Java Doc)
public void bindCleanup()(Code)(Java Doc)
public Bean bindParent()(Code)(Java Doc)
public boolean canSetName()(Code)(Java Doc)
public BeanInfo getBeanInfo()(Code)(Java Doc)
public Bean[] getChildren()(Code)(Java Doc)
public String getCleanupMethod()(Code)(Java Doc)
public org.w3c.dom.Element getElement()(Code)(Java Doc)
public EventSet getEventSet(String name)(Code)(Java Doc)
public EventSetDescriptor getEventSetDescriptor(String name)(Code)(Java Doc)
public EventSetDescriptor getEventSetDescriptorForAdder(String adderName)(Code)(Java Doc)
public EventSet[] getEventSets()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Bean getParent()(Code)(Java Doc)
public Property[] getProperties()(Code)(Java Doc)
public Property getProperty(String name)(Code)(Java Doc)
public PropertyDescriptor getPropertyDescriptor(String propertyName)(Code)(Java Doc)
public PropertyDescriptor getPropertyDescriptorForSetter(String setterName)(Code)(Java Doc)
public String getScope()(Code)(Java Doc)
public Class getType()(Code)(Java Doc)
public List<String> getTypeParameterNames()(Code)(Java Doc)
public boolean hasGetter()(Code)(Java Doc)
public boolean isGetterRequired()(Code)(Java Doc)
public boolean isInserted()(Code)(Java Doc)
public boolean isMarkupProperty(PropertyDescriptor pd)(Code)(Java Doc)
public boolean isParentCapable()(Code)(Java Doc)
public boolean isSetterRequired()(Code)(Java Doc)
protected EventSet newCreatedEventSet(EventSetDescriptor esd)(Code)(Java Doc)
protected Property newCreatedProperty(PropertyDescriptor pd)(Code)(Java Doc)
public boolean performInstanceParenting(Object instance, Object parent, Position pos)(Code)(Java Doc)
public void performInstanceUnparenting(Object instance, Object parent)(Code)(Java Doc)
public void releaseEventSet(EventSet es)(Code)(Java Doc)
public void removeChild(Bean child)(Code)(Java Doc)
public boolean removeEntry()(Code)(Java Doc)
public EventSet setEventSet(String name)(Code)(Java Doc)
public void setInserted(boolean inserted)(Code)(Java Doc)
public String setName(String newname, boolean autoNumber, DesignBean liveBean)(Code)(Java Doc)
public Property setProperty(String name, Object value, String valueSource)(Code)(Java Doc)
public boolean shouldInsertCleanupEntry()(Code)(Java Doc)
public void toString(StringBuffer sb)(Code)(Java Doc)
public void unsetEventSet(EventSet es)(Code)(Java Doc)
public void unsetEventSet(String name)(Code)(Java Doc)
public void unsetProperty(Property p)(Code)(Java Doc)
public void unsetProperty(String name)(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.