Java Doc for AttributedImageCollection.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 Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.jai.CollectionImage
      javax.media.jai.AttributedImageCollection

AttributedImageCollection
public class AttributedImageCollection extends CollectionImage (Code)
Class representing a CollectionImage wherein all image elements are AttributedImage instances. All Collection methods will be overridden such that contained images are forced to be AttributedImages.

Note that the methods getAll(attribute) and removeAll(attribute) use the equals() method of the attribute parameter rather that that of the AttributedImages in the Collection. This permits "filtering" if the attribute of the AttributedImages contains more than one type of value. For example, if the attribute contained both position and time, then the parameter attribute could be an instance of a class which compared only the position if it were desired to obtain or remove all images at a given position irrespective of the time stamp.
since:
   JAI 1.1




Constructor Summary
protected  AttributedImageCollection()
    
public  AttributedImageCollection(Collection images)
     Constructs an AttributedImageCollection with contents set to the contents of the supplied Collection.

Method Summary
public  booleanadd(Object o)
     Adds the specified object to this Collection.
public  booleanaddAll(Collection c)
     Adds to this Collection all elements in the specified Collection which are AttributedImages.
public  SetgetAll(Object attribute)
     Returns a Set of all AttributedImages the attribute of which is equal to the parameter object according to the equals() method of the parameter object.
public  SetgetAll(PlanarImage image)
     Returns a Set of all AttributedImages the image of which is equal to the parameter image.
public  AttributedImagegetAttributedImage(PlanarImage image)
     Returns the first attributed image found in the collection that contains the planar image argument.
public  AttributedImagegetAttributedImage(Object attribute)
     Returns the first attributed image found in the collection that contains the attribute.
public  SetremoveAll(Object attribute)
     Removes all AttributedImages the attribute of which is equal to the parameter object according to the equals() method of the parameter object.
public  SetremoveAll(PlanarImage image)
     Removes all AttributedImages the image of which is equal to the parameter image.


Constructor Detail
AttributedImageCollection
protected AttributedImageCollection()(Code)



AttributedImageCollection
public AttributedImageCollection(Collection images)(Code)
Constructs an AttributedImageCollection with contents set to the contents of the supplied Collection. Only elements in the Collection which are instances of AttributedImage will be added.
throws:
  IllegalArgumentException - if images is null




Method Detail
add
public boolean add(Object o)(Code)
Adds the specified object to this Collection. This method overrides the superclass method in order to perform a type check on the object being added.
throws:
  IllegalArgumentException - if o is nullor is not an AttributedImage. true if and only if the parameter is added to theCollection.



addAll
public boolean addAll(Collection c)(Code)
Adds to this Collection all elements in the specified Collection which are AttributedImages. true if this Collection changedas a result of the call.



getAll
public Set getAll(Object attribute)(Code)
Returns a Set of all AttributedImages the attribute of which is equal to the parameter object according to the equals() method of the parameter object. If no match is found null will be returned. If the parameter is null a Set view of all AttributedImages in the Collection will be returned.



getAll
public Set getAll(PlanarImage image)(Code)
Returns a Set of all AttributedImages the image of which is equal to the parameter image. If no match is found null will be returned. If the parameter is null a Set view of all AttributedImages in the Collection will be returned.



getAttributedImage
public AttributedImage getAttributedImage(PlanarImage image)(Code)
Returns the first attributed image found in the collection that contains the planar image argument. If the parameter is null, null will be returned.



getAttributedImage
public AttributedImage getAttributedImage(Object attribute)(Code)
Returns the first attributed image found in the collection that contains the attribute. If the parameter is null, null will be returned.



removeAll
public Set removeAll(Object attribute)(Code)
Removes all AttributedImages the attribute of which is equal to the parameter object according to the equals() method of the parameter object. The returned value contains all AttributedImages which were removed from the underlying Collection or null if no match was found. If the parameter is null, null will be returned.



removeAll
public Set removeAll(PlanarImage image)(Code)
Removes all AttributedImages the image of which is equal to the parameter image. The returned value contains all AttributedImages which were removed from the underlying Collection or null if no match was found. If the parameter is null, null will be returned.



Fields inherited from javax.media.jai.CollectionImage
protected PropertyChangeSupportJAI eventManager(Code)(Java Doc)
protected Collection imageCollection(Code)(Java Doc)
protected CollectionImageFactory imageFactory(Code)(Java Doc)
protected WritablePropertySourceImpl properties(Code)(Java Doc)
protected Set sinks(Code)(Java Doc)

Methods inherited from javax.media.jai.CollectionImage
public boolean add(Object o)(Code)(Java Doc)
public boolean addAll(Collection c)(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public synchronized boolean addSink(Object sink)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public boolean contains(Object o)(Code)(Java Doc)
public boolean containsAll(Collection c)(Code)(Java Doc)
public Object get(int index)(Code)(Java Doc)
public CollectionImageFactory getImageFactory()(Code)(Java Doc)
public Object getProperty(String name)(Code)(Java Doc)
public Object getProperty(String name, Collection collection)(Code)(Java Doc)
public Class getPropertyClass(String name)(Code)(Java Doc)
public String[] getPropertyNames()(Code)(Java Doc)
public String[] getPropertyNames(String prefix)(Code)(Java Doc)
public synchronized Set getSinks()(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public Iterator iterator()(Code)(Java Doc)
public boolean remove(Object o)(Code)(Java Doc)
public boolean removeAll(Collection c)(Code)(Java Doc)
public void removeProperty(String name)(Code)(Java Doc)
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public synchronized boolean removeSink(Object sink)(Code)(Java Doc)
public synchronized void removeSinks()(Code)(Java Doc)
public boolean retainAll(Collection c)(Code)(Java Doc)
public void setImageFactory(CollectionImageFactory imageFactory)(Code)(Java Doc)
public void setProperty(String name, Object value)(Code)(Java Doc)
public int size()(Code)(Java Doc)
public Object[] toArray()(Code)(Java Doc)
public Object[] toArray(Object[] a)(Code)(Java Doc)

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.