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


com.sun.rave.designtime.DesignProperty

All known Subclasses:   org.netbeans.modules.visualweb.insync.live.SourceDesignProperty,
DesignProperty
public interface DesignProperty (Code)

A DesignProperty represents a single property (setter/getter method pair) on a single instance of a DesignBean at design-time. All manipulation of properties at design-time should be done via this interface. This allows the IDE to both persist the changes as well as reflect them in the design-time session.

IMPLEMENTED BY CREATOR - This interface is implemented by Creator for use by the component (bean) author.


author:
   Joe Nuxoll
version:
   1.0
See Also:   DesignBean.getProperties
See Also:   DesignBean.getProperty(String)




Method Summary
public  DesignBeangetDesignBean()
    
public  PropertyDescriptorgetPropertyDescriptor()
    
public  ObjectgetUnsetValue()
     Returns the value that this property would have if it were unset.
public  ObjectgetValue()
     Returns the current value of this DesignProperty.
public  StringgetValueSource()
     Returns the source-persistence String value of this property.
public  booleanisModified()
     Returns true if this DesignProperty has been modified from the 'default' value.
public  booleansetValue(Object value)
     Sets the current value of this DesignProperty.
public  booleansetValueSource(String source)
     Sets the source-persistence String value for this property.
public  booleanunset()
     Removes the property setting (if it exists) from the source code, and reverts the property setting back to its original (default) state.



Method Detail
getDesignBean
public DesignBean getDesignBean()(Code)
Returns the DesignBean that this DesignProperty is associated with the DesignBean that this DesignProperty is associated with



getPropertyDescriptor
public PropertyDescriptor getPropertyDescriptor()(Code)
Returns the PropertyDescriptor associated with this DesignProperty the PropertyDescriptor associated with this DesignProperty



getUnsetValue
public Object getUnsetValue()(Code)
Returns the value that this property would have if it were unset. This is the property's original (default) state, which is determined by reading the property value on a fresh instance of the associated class (that owns this property). The unset (default) value for this property



getValue
public Object getValue()(Code)
Returns the current value of this DesignProperty. The returned value is the *actual* value that the design-time instance of the DesignBean has set for this property. the current value of this DesignProperty



getValueSource
public String getValueSource()(Code)
Returns the source-persistence String value of this property. This is the value that the associated PropertyEditor would use to persist the property's current value in source code. the source-persistence String value of this property
See Also:   java.beans.PropertyEditor.getJavaInitializationString



isModified
public boolean isModified()(Code)
Returns true if this DesignProperty has been modified from the 'default' value. A 'modified' property is one that differs in value (== and .equals()) from a newly constructed instance of the DesignBean. true if this DesignProperty has been modified from the 'default' value,false if not



setValue
public boolean setValue(Object value)(Code)
Sets the current value of this DesignProperty. This will set the *actual* value of this property on the design-time instance of this DesignBean. The associated PropertyEditor will be used to produce the appropriate Java or markup code to set the property. Calling this method results in the persistence being written, and will cause the backing file buffer to become "dirty".
Parameters:
  value - The Object value to set as the currrent value of this property true if the property setting was successful, false if itwas not
See Also:   java.beans.PropertyEditor



setValueSource
public boolean setValueSource(String source)(Code)
Sets the source-persistence String value for this property. This is the value that will acutally appear in Java source code (or markup), depending on how the property setting is persisted.
Parameters:
  source - the source-persistence String value for this property true if the property source setting was successful, falseif not



unset
public boolean unset()(Code)
Removes the property setting (if it exists) from the source code, and reverts the property setting back to its original (default) state. The original state is determined by reading the property value on a fresh instance of the associated class (that owns this property), and reading the default value of the property. true if the unset operation was successful, false if not



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.