Java Doc for SelectorDesignInfo.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » web » ui » dt » 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 » org.netbeans.modules.visualweb.web.ui.dt.component 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.visualweb.web.ui.dt.component.EditableValueHolderDesignInfo
   org.netbeans.modules.visualweb.web.ui.dt.component.SelectorDesignInfo

All known Subclasses:   org.netbeans.modules.visualweb.web.ui.dt.component.CheckboxGroupDesignInfo,  org.netbeans.modules.visualweb.web.ui.dt.component.AddRemoveDesignInfo,  org.netbeans.modules.visualweb.web.ui.dt.component.ListboxDesignInfo,  org.netbeans.modules.visualweb.web.ui.dt.component.RadioButtonGroupDesignInfo,  org.netbeans.modules.visualweb.web.ui.dt.component.DropDownDesignInfo,
SelectorDesignInfo
public class SelectorDesignInfo extends EditableValueHolderDesignInfo (Code)
DesignInfo class for components that extend the org.netbeans.modules.visualweb.web.ui.dt.component.Selector component. The following behaviors are implemented:
  • When a new selector-based component is created, a default list of options is created, and bound to the component's items property.

author:
   gjmurphy


Field Summary
final static  StringCONVERTER
    
final static  StringID
    
final static  StringITEMS
    
final static  StringMULTIPLE
    
final static  StringSELECTED_VALUE
    

Constructor Summary
public  SelectorDesignInfo(Class clazz)
    

Method Summary
public  ResultbeanCreatedSetup(DesignBean bean)
     When a new Selector-based component is dropped, create a default list of options and bind if to this component's items and selected properties.
public  ResultbeanDeletedCleanup(DesignBean bean)
     When a Selector-based component is deleted, check for the existence of a default list of options, and delete it if present.
public  ResultbeanPastedSetup(DesignBean bean)
    
protected  DesignPropertygetDefaultBindingProperty(DesignBean targetBean)
    
protected static  DesignBeangetOptionsListBean(DesignBean selectorBean)
     If the selector component for the bean specified is bound to an options list, returns the design bean for the options list.
protected static  DesignBeangetOptionsListBean(FacesDesignContext context, String expression)
    
protected  ClassgetOptionsListClass()
     Returns a class to instantiate for the default options bean.
protected static  StringgetOptionsListName(DesignBean selectorBean)
     Returns the name of the default options bean.
public  voidpropertyChanged(DesignProperty property, Object oldValue)
     When the items property is changed, if previous value was a binding to the default OptionsList for this component, then delete the options list if present.

Field Detail
CONVERTER
final static String CONVERTER(Code)



ID
final static String ID(Code)



ITEMS
final static String ITEMS(Code)



MULTIPLE
final static String MULTIPLE(Code)



SELECTED_VALUE
final static String SELECTED_VALUE(Code)




Constructor Detail
SelectorDesignInfo
public SelectorDesignInfo(Class clazz)(Code)




Method Detail
beanCreatedSetup
public Result beanCreatedSetup(DesignBean bean)(Code)
When a new Selector-based component is dropped, create a default list of options and bind if to this component's items and selected properties.
Parameters:
  bean - DesignBean for the newly created instance



beanDeletedCleanup
public Result beanDeletedCleanup(DesignBean bean)(Code)
When a Selector-based component is deleted, check for the existence of a default list of options, and delete it if present.



beanPastedSetup
public Result beanPastedSetup(DesignBean bean)(Code)



getDefaultBindingProperty
protected DesignProperty getDefaultBindingProperty(DesignBean targetBean)(Code)



getOptionsListBean
protected static DesignBean getOptionsListBean(DesignBean selectorBean)(Code)
If the selector component for the bean specified is bound to an options list, returns the design bean for the options list. Otherwise returns null.



getOptionsListBean
protected static DesignBean getOptionsListBean(FacesDesignContext context, String expression)(Code)



getOptionsListClass
protected Class getOptionsListClass()(Code)
Returns a class to instantiate for the default options bean. Must be OptionsList or a subclass thereof.



getOptionsListName
protected static String getOptionsListName(DesignBean selectorBean)(Code)
Returns the name of the default options bean.



propertyChanged
public void propertyChanged(DesignProperty property, Object oldValue)(Code)
When the items property is changed, if previous value was a binding to the default OptionsList for this component, then delete the options list if present.



Methods inherited from org.netbeans.modules.visualweb.web.ui.dt.component.EditableValueHolderDesignInfo
public boolean acceptChild(DesignBean parentBean, DesignBean childBean, Class childClass)(Code)(Java Doc)
public void propertyChanged(DesignProperty property, Object oldValue)(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.