Java Doc for RADConnectionPropertyEditor.java in  » IDE-Netbeans » form » org » netbeans » modules » 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 » IDE Netbeans » form » org.netbeans.modules.form 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.form.RADConnectionPropertyEditor

RADConnectionPropertyEditor
public class RADConnectionPropertyEditor implements PropertyEditor,FormAwareEditor,XMLPropertyEditor,NamedPropertyEditor(Code)
RADConnectionPropertyEditor is a special property editor that can set properties (of any type) indirectly - e.g. as a property of some bean or as the result of a method call or as a code entered by the user, etc. Only the source code is generated for such property (usually) so it doesn't take effect until runtime.
author:
   Ian Formanek

Inner Class :public enum Type
Inner Class :public static class RADConnectionDesignValue implements FormDesignValue

Field Summary
final public static  StringATTR_CODE
    
final public static  StringATTR_COMPONENT
    
final public static  StringATTR_NAME
    
final public static  StringATTR_REQUIRED_TYPE
    
final public static  StringATTR_TYPE
    
final public static  StringATTR_VALUE
    
final public static  StringVALUE_BEAN
    
final public static  StringVALUE_CODE
    
final public static  StringVALUE_METHOD
    
final public static  StringVALUE_PROPERTY
    
final public static  StringVALUE_VALUE
    
final public static  StringXML_CONNECTION
    
protected  PropertyChangeSupportsupport
    

Constructor Summary
public  RADConnectionPropertyEditor(Class propertyType)
    
public  RADConnectionPropertyEditor(Class propertyType, Type editorType)
    

Method Summary
public  voidaddPropertyChangeListener(PropertyChangeListener propertyChangeListener)
    
public  StringgetAsText()
    
public  java.awt.ComponentgetCustomEditor()
    
public  StringgetDisplayName()
    
public  TypegetEditorType()
    
public  StringgetJavaInitializationString()
    
public  String[]getTags()
    
public  ObjectgetValue()
    
public  booleanisPaintable()
    
public  voidpaintValue(Graphics g, Rectangle rectangle)
    
public  voidreadFromXML(org.w3c.dom.Node element)
     Called to load property value from specified XML subtree.
public  voidremovePropertyChangeListener(PropertyChangeListener propertyChangeListener)
    
public  voidsetAsText(String string)
    
public  voidsetContext(FormModel model, FormProperty prop)
     If a property editor or customizer implements the FormAwareEditor interface, this method is called immediately after the PropertyEditor instance is created or the Customizer is obtained from getCustomizer().
public  voidsetValue(Object value)
    
public  org.w3c.dom.NodestoreToXML(org.w3c.dom.Document doc)
     Called to store current property value into XML subtree.
public  booleansupportsCustomEditor()
    
public  voidupdateFormVersionLevel()
    

Field Detail
ATTR_CODE
final public static String ATTR_CODE(Code)



ATTR_COMPONENT
final public static String ATTR_COMPONENT(Code)



ATTR_NAME
final public static String ATTR_NAME(Code)



ATTR_REQUIRED_TYPE
final public static String ATTR_REQUIRED_TYPE(Code)



ATTR_TYPE
final public static String ATTR_TYPE(Code)



ATTR_VALUE
final public static String ATTR_VALUE(Code)



VALUE_BEAN
final public static String VALUE_BEAN(Code)



VALUE_CODE
final public static String VALUE_CODE(Code)



VALUE_METHOD
final public static String VALUE_METHOD(Code)



VALUE_PROPERTY
final public static String VALUE_PROPERTY(Code)



VALUE_VALUE
final public static String VALUE_VALUE(Code)



XML_CONNECTION
final public static String XML_CONNECTION(Code)



support
protected PropertyChangeSupport support(Code)




Constructor Detail
RADConnectionPropertyEditor
public RADConnectionPropertyEditor(Class propertyType)(Code)
Creates a new RADConnectionPropertyEditor
Parameters:
  propertyType - type of the property.



RADConnectionPropertyEditor
public RADConnectionPropertyEditor(Class propertyType, Type editorType)(Code)




Method Detail
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)(Code)



getAsText
public String getAsText()(Code)



getCustomEditor
public java.awt.Component getCustomEditor()(Code)



getDisplayName
public String getDisplayName()(Code)
display name of the property editor



getEditorType
public Type getEditorType()(Code)



getJavaInitializationString
public String getJavaInitializationString()(Code)



getTags
public String[] getTags()(Code)



getValue
public Object getValue()(Code)



isPaintable
public boolean isPaintable()(Code)



paintValue
public void paintValue(Graphics g, Rectangle rectangle)(Code)



readFromXML
public void readFromXML(org.w3c.dom.Node element) throws java.io.IOException(Code)
Called to load property value from specified XML subtree. If succesfully loaded, the value should be available via the getValue method. An IOException should be thrown when the value cannot be restored from the specified XML element
Parameters:
  element - the XML DOM element representing a subtree of XML from which the value should be loaded
throws:
  java.io.IOException - thrown when the value cannot be restored from the specified XML element



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)(Code)



setAsText
public void setAsText(String string)(Code)



setContext
public void setContext(FormModel model, FormProperty prop)(Code)
If a property editor or customizer implements the FormAwareEditor interface, this method is called immediately after the PropertyEditor instance is created or the Customizer is obtained from getCustomizer().
Parameters:
  model - The FormModel representing data of opened form.
Parameters:
  prop - property.



setValue
public void setValue(Object value)(Code)



storeToXML
public org.w3c.dom.Node storeToXML(org.w3c.dom.Document doc)(Code)
Called to store current property value into XML subtree. The property value should be set using the setValue method prior to calling this method.
Parameters:
  doc - The XML document to store the XML in - should be used for creating nodes only the XML DOM element representing a subtree of XML from which thevalue should be loaded



supportsCustomEditor
public boolean supportsCustomEditor()(Code)



updateFormVersionLevel
public void updateFormVersionLevel()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.