Source Code Cross Referenced for WritablePropertySource.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » media » jai » 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 » 6.0 JDK Modules » Java Advanced Imaging » javax.media.jai 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * $RCSfile: WritablePropertySource.java,v $
03:         *
04:         * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
05:         *
06:         * Use is subject to license terms.
07:         *
08:         * $Revision: 1.1 $
09:         * $Date: 2005/02/11 04:57:25 $
10:         * $State: Exp $
11:         */
12:        package javax.media.jai;
13:
14:        /**
15:         * Sub-interface of <code>PropertySource</code> which permits setting
16:         * the values of JAI properties in addition to obtaining their names
17:         * and values.  As the values of properties managed by classes which
18:         * implement this interface may change, this is also a sub-interface
19:         * of <code>PropertyChangeEmitter</code>.  This permits other objects
20:         * to register as listeners of particular JAI properties.
21:         *
22:         * <p> The case of the names of properties added via this interface
23:         * should be retained although the case will be ignored in queries via
24:         * <code>getProperty()</code> and will be forced to lower case in
25:         * emitted <code>PropertySourceChangeEvent<code>.
26:         *
27:         * @see PropertySource
28:         * @see PropertyChangeEmitter
29:         *
30:         * @since JAI 1.1
31:         */
32:        public interface WritablePropertySource extends PropertySource,
33:                PropertyChangeEmitter {
34:            /**
35:             * Adds the property value associated with the supplied name to
36:             * the <code>WritablePropertySource</code>.  Properties set by
37:             * this means will supersede any properties of the same name
38:             * which might otherwise be derived dynamically.
39:             *
40:             * <p> Implementing classes which should
41:             * fire a <code>PropertySourceChangeEvent</code> with a name set to
42:             * that of the set property (retaining case), source set to the
43:             * <code>WritablePropertySource</code>, and old and new values set to
44:             * the previous and current values of the property, respectively.
45:             * Neither the old nor the new value may <code>null</code>: undefined
46:             * properties must as usual be indicated by an the constant value
47:             * <code>java.awt.Image.UndefinedProperty</code>.  It is however
48:             * legal for either but not both of the old and new property values
49:             * to equal <code>java.awt.Image.UndefinedProperty</code>.
50:             *
51:             * @param propertyName the name of the property, as a <code>String</code>.
52:             * @param propertyValue the property, as a general <code>Object</code>.
53:             *
54:             * @exception IllegalArgumentException if <code>propertyName</code>
55:             *                                     or <code>propertyValue</code>
56:             *                                     is <code>null</code>.
57:             */
58:            void setProperty(String propertyName, Object propertyValue);
59:
60:            /**
61:             * Removes the named property from the <code>WritablePropertySource</code>.
62:             * This method will clear any locally cached (static) properties
63:             * but may have no effect on properties which would be derived
64:             * dynamically.
65:             *
66:             * @param propertyName the name of the property, as a <code>String</code>.
67:             * @param propertyValue the property, as a general <code>Object</code>.
68:             *
69:             * @exception IllegalArgumentException if <code>propertyName</code>
70:             *                                     is <code>null</code>.
71:             */
72:            void removeProperty(String propertyName);
73:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.