Java Doc for MarkupBean.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

All known Subclasses:   org.netbeans.modules.visualweb.insync.faces.HtmlBean,  org.netbeans.modules.visualweb.insync.faces.FacesBean,
MarkupBean
abstract public class MarkupBean extends Bean (Code)
Abstract superclass for a Bean that may have entries in markup source as well as Java source
author:
   cquinn


Field Summary
final  ArrayListchildren
    
final  Elementelement
    
 MarkupBeanparent
    

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

Method Summary
public  voidaddChild(Bean child, Position pos)
    
public  BeanbindParent()
    
public  AttrgetAttr(String name)
     Returns a attribute identified by name.
public  Bean[]getChildren()
    
public  ElementgetElement()
    
public  BeangetParent()
    
public  PropertyDescriptorgetPropertyDescriptorForAttribute(String attributeName)
    
public  booleanisMarkupProperty(PropertyDescriptor pd)
    
public  booleanisParentCapable()
    
protected  PropertynewCreatedProperty(PropertyDescriptor pd)
    
 voidremoveAttr(String name)
     Remove a given attribute identified by name.
public  voidremoveChild(Bean child)
    
public  booleanremoveEntry()
     Remove this bean's field, methods and statements from the host class.
 voidsetAttr(String name, String value)
     Set a given attribute identified by name to a given value, creating the attr as needed.
public  voidtoString(StringBuffer sb)
    

Field Detail
children
final ArrayList children(Code)



element
final Element element(Code)



parent
MarkupBean parent(Code)




Constructor Detail
MarkupBean
public MarkupBean(FacesPageUnit unit, BeanInfo beanInfo, String name, Element element)(Code)
Construct a bean bound to existing field & accessor methods, and page element. Parent will be set later using bindParent().
Parameters:
  unit -
Parameters:
  beanInfo -
Parameters:
  name -
Parameters:
  field -
Parameters:
  getter -
Parameters:
  setter -



MarkupBean
public MarkupBean(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 -




Method Detail
addChild
public void addChild(Bean child, Position pos)(Code)



bindParent
public Bean bindParent()(Code)
Take the opportinuty to scan for and bind to this bean's parent the parent of this bean iff not previously bound



getAttr
public Attr getAttr(String name)(Code)
Returns a attribute identified by name.
Parameters:
  name - value



getChildren
public Bean[] getChildren()(Code)



getElement
public Element getElement()(Code)



getParent
public Bean getParent()(Code)
the parent of this bean, null if top-level bean or dead



getPropertyDescriptorForAttribute
public PropertyDescriptor getPropertyDescriptorForAttribute(String attributeName)(Code)
Get the PropertyDescriptor for a property of this bean indicated by the attribute name
Parameters:
  attributeName - the attribute name to look for the PropertyDescriptor for the property



isMarkupProperty
public boolean isMarkupProperty(PropertyDescriptor pd)(Code)



isParentCapable
public boolean isParentCapable()(Code)
true iff this is capable of having children.



newCreatedProperty
protected Property newCreatedProperty(PropertyDescriptor pd)(Code)



removeAttr
void removeAttr(String name)(Code)
Remove a given attribute identified by name.
Parameters:
  name -



removeChild
public void removeChild(Bean child)(Code)



removeEntry
public boolean removeEntry()(Code)
Remove this bean's field, methods and statements from the host class. This bean instance is dead & should not be used. true iff the source entry for this bean was actually removed.



setAttr
void setAttr(String name, String value)(Code)
Set a given attribute identified by name to a given value, creating the attr as needed.
Parameters:
  name -
Parameters:
  value -



toString
public void toString(StringBuffer sb)(Code)



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.