Source Code Cross Referenced for PropertyEditorUI.java in  » Mail-Clients » pooka » net » suberic » util » gui » propedit » 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 » Mail Clients » pooka » net.suberic.util.gui.propedit 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package net.suberic.util.gui.propedit;
002:
003:        import net.suberic.util.VariableBundle;
004:
005:        /**
006:         * An interface which defines a way of editing a property.
007:         */
008:        public interface PropertyEditorUI {
009:
010:            /**
011:             * This configures an editor for the given propertyName using the 
012:             * PropertyManager mgr.
013:             *
014:             * This version usees the template property to definte all things about
015:             * the editor for propertyName.  This is useful if you want to be able
016:             * to edit, for instace, the properties of a particular user:
017:             *
018:             * UserProfile.userOne.showHeaders
019:             * UserProfile.userTwo.showHeaders
020:             *
021:             * UserProfile.showHeaders.propertyType=boolean
022:             *
023:             * So you can use this just to call configureEditor(factory, 
024:             * "UserProfile.userOne.showHeaders", "UserProfile.showHeaders", mgr,
025:             * true)
026:             *
027:             * @param propertyName The property to be edited.  
028:             * @param template The property that will define the layout of the 
029:             *                 editor.
030:             * @param manager The PropertyEditorManager that will manage the
031:             *                   changes.
032:             * @param isEnabled Whether or not this editor is enabled by default. 
033:             */
034:            public void configureEditor(String propertyName, String template,
035:                    PropertyEditorManager manager, boolean isEnabled);
036:
037:            /**
038:             * This configures an editor for the given propertyName in the 
039:             * PropertyEditorManager mgr.
040:             * @param propertyName The property to be edited.  This will also be
041:             *                     used for the editor layout.
042:             * @param manager The PropertyEditorManager that will manage the
043:             *                   changes.
044:             * @param isEnabled Whether or not this editor is enabled by default. 
045:             */
046:            public void configureEditor(String propertyName,
047:                    PropertyEditorManager mgr, boolean isEnabled);
048:
049:            /**
050:             * This configures an editor for the given propertyName in the 
051:             * PropertyEditorManager mgr.
052:             *
053:             * @param propertyName The property to be edited.  This will also be
054:             *                     used for the editor layout.
055:             * @param manager The PropertyEditorManager that will manage the
056:             *                   changes.
057:             */
058:            public void configureEditor(String propertyName,
059:                    PropertyEditorManager mgr);
060:
061:            /**
062:             * This writes the currently configured value in the PropertyEditorUI
063:             * to the source VariableBundle.
064:             */
065:            public void setValue() throws PropertyValueVetoException;
066:
067:            /**
068:             * This resets the editor to the original (or latest set, if setValue() 
069:             * has been called) value of the edited property.
070:             */
071:            public void resetDefaultValue() throws PropertyValueVetoException;
072:
073:            /**
074:             * Returns the current values of the edited properties as a 
075:             * java.util.Properties object.
076:             */
077:            public java.util.Properties getValue();
078:
079:            /**
080:             * Sets the enabled property of the PropertyEditorUI.  Disabled 
081:             * editors should not be able to do setValue() calls.
082:             */
083:            public void setEnabled(boolean newValue);
084:
085:            /**
086:             * Returns whether or not this editor is enabled.
087:             */
088:            public boolean isEnabled();
089:
090:            /**
091:             * Returns the PropertyEditorManager for this PropertyEditorUI.
092:             */
093:            public PropertyEditorManager getManager();
094:
095:            /**
096:             * Adds a PropertyEditorListener to the ListenerList.
097:             */
098:            public void addPropertyEditorListener(PropertyEditorListener pel);
099:
100:            /**
101:             * Removes a PropertyEditorListener from the ListenerList.
102:             */
103:            public void removePropertyEditorListener(PropertyEditorListener pel);
104:
105:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.