Java Doc for CRIFImpl.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.CRIFImpl

All known Subclasses:   com.sun.media.jai.opimage.BandSelectCRIF,  com.sun.media.jai.opimage.ScaleCRIF,  com.sun.media.jai.opimage.MultiplyComplexCRIF,  com.sun.media.jai.opimage.FilterCRIF,  com.sun.media.jai.opimage.RotateCRIF,  com.sun.media.jai.opimage.CompositeCRIF,  com.sun.media.jai.opimage.PeriodicShiftCRIF,  com.sun.media.jai.opimage.CropCRIF,  com.sun.media.jai.opimage.IDCTCRIF,  com.sun.media.jai.opimage.SubtractFromConstCRIF,  com.sun.media.jai.opimage.MinCRIF,  com.sun.media.jai.opimage.AndConstCRIF,  ca.forklabs.media.jai.opimage.AbstractCRIF,  com.sun.media.jai.opimage.TransposeCRIF,  com.sun.media.jai.opimage.SubtractCRIF,  com.sun.media.jai.opimage.MagnitudeCRIF,  com.sun.media.jai.opimage.OrConstCRIF,  com.sun.media.jai.opimage.MultiplyCRIF,  com.sun.media.jai.imageioimpl.ImageWriteCRIF,  com.sun.media.jai.opimage.LookupCRIF,  com.sun.media.jai.opimage.SubsampleBinaryToGrayCRIF,  com.sun.media.jai.opimage.PhaseCRIF,  com.sun.media.jai.opimage.PiecewiseCRIF,  com.sun.media.jai.opimage.DCTCRIF,  com.sun.media.jai.opimage.ConjugateCRIF,  com.sun.media.jai.opimage.TranslateCRIF,  com.sun.media.jai.opimage.RescaleCRIF,  com.sun.media.jai.opimage.AndCRIF,  com.sun.media.jai.opimage.IIPCRIF,  com.sun.media.jai.opimage.DivideComplexCRIF,  com.sun.media.jai.opimage.AddConstCRIF,  javax.media.jai.NullCRIF,  com.sun.media.jai.opimage.ClampCRIF,  com.sun.media.jai.opimage.AffineCRIF,  com.sun.media.jai.opimage.MatchCDFCRIF,  com.sun.media.jai.opimage.SubtractConstCRIF,  com.sun.media.jai.opimage.RenderableCRIF,  com.sun.media.jai.opimage.OverlayCRIF,  com.sun.media.jai.opimage.XorConstCRIF,  com.sun.media.jai.opimage.DFTCRIF,  com.sun.media.jai.opimage.IDFTCRIF,  com.sun.media.jai.opimage.MultiplyConstCRIF,  com.sun.media.jai.opimage.BinarizeCRIF,  com.sun.media.jai.opimage.FormatCRIF,  com.sun.media.jai.opimage.BandMergeCRIF,  com.sun.media.jai.opimage.ConstantCRIF,  com.sun.media.jai.opimage.BandCombineCRIF,  com.sun.media.jai.opimage.AbsoluteCRIF,  com.sun.media.jai.opimage.MagnitudeSquaredCRIF,  com.sun.media.jai.opimage.ColorConvertCRIF,  com.sun.media.jai.opimage.XorCRIF,  com.sun.media.jai.opimage.DivideIntoConstCRIF,  com.sun.media.jai.opimage.LogCRIF,  com.sun.media.jai.opimage.OrCRIF,  com.sun.media.jai.opimage.DivideCRIF,  com.sun.media.jai.imageioimpl.ImageReadCRIF,  com.sun.media.jai.opimage.NotCRIF,  com.sun.media.jai.opimage.ThresholdCRIF,  com.sun.media.jai.opimage.DivideByConstCRIF,  com.sun.media.jai.opimage.AddCollectionCRIF,  com.sun.media.jai.opimage.AddCRIF,  com.sun.media.jai.opimage.SubsampleAverageCRIF,  com.sun.media.jai.opimage.PolarToComplexCRIF,  com.sun.media.jai.opimage.ExpCRIF,  com.sun.media.jai.opimage.InvertCRIF,  com.sun.media.jai.opimage.MaxCRIF,
CRIFImpl
abstract public class CRIFImpl implements ContextualRenderedImageFactory(Code)
A utility class to minimize in most cases the effort required to implement the ContextualRenderedImageFactory (CRIF) of an operation. An extender of this class is required to implement only the method RenderedImage create(ParameterBlock, RenderingHints) defined in the RenderedImageFactory interface. The remaining methods may be overridden insofar as this is necessary to obtain behavior different from that provided by default.
See Also:   java.awt.image.renderable.ContextualRenderedImageFactory
See Also:   java.awt.image.renderable.RenderedImageFactory
since:
   JAI 1.1


Field Summary
protected  StringoperationName
     If non-null, this name will be used as a parameter to JAI.create() in create(RenderContext,ParameterBlock); otherwise the RIF create(ParameterBlock,RenderingHints) method implemented in the extending class will be invoked.

Constructor Summary
public  CRIFImpl()
     Default constructor.
public  CRIFImpl(String operationName)
     Constructor.

Method Summary
abstract public  RenderedImagecreate(ParameterBlock paramBlock, RenderingHints renderHints)
     The RenderedImageFactory create() method which must be implemented by concrete subclasses.
public  RenderedImagecreate(RenderContext renderContext, ParameterBlock paramBlock)
     Creates a RenderedImage from the renderable layer.

If operationName is non-null, JAI.create() will be invoked using the supplied ParameterBlock and the RenderingHints contained in the RenderContext.

public  Rectangle2DgetBounds2D(ParameterBlock paramBlock)
     Returns the bounding box for the output of the operation.
public  ObjectgetProperty(ParameterBlock paramBlock, String name)
     Returns the appropriate instance of the property with the indicated name.

The implementation in this class always returns java.awt.Image.UndefinedProperty since no properties are defined by default.
Parameters:
  paramBlock - A ParameterBlock containing thesources and parameters of the operation.
Parameters:
  name - A String containing the desired property name.

public  String[]getPropertyNames()
     Returns the valid property names for the operation.
public  booleanisDynamic()
     Returns true if successive renderings with the same arguments may produce different results.
public  RenderContextmapRenderContext(int i, RenderContext renderContext, ParameterBlock paramBlock, RenderableImage image)
     Maps the destination RenderContext into a RenderContext for each source.

Field Detail
operationName
protected String operationName(Code)
If non-null, this name will be used as a parameter to JAI.create() in create(RenderContext,ParameterBlock); otherwise the RIF create(ParameterBlock,RenderingHints) method implemented in the extending class will be invoked.




Constructor Detail
CRIFImpl
public CRIFImpl()(Code)
Default constructor. The operation name is set to null.



CRIFImpl
public CRIFImpl(String operationName)(Code)
Constructor. The operation name is set to the specified value which may be null.




Method Detail
create
abstract public RenderedImage create(ParameterBlock paramBlock, RenderingHints renderHints)(Code)
The RenderedImageFactory create() method which must be implemented by concrete subclasses.



create
public RenderedImage create(RenderContext renderContext, ParameterBlock paramBlock)(Code)
Creates a RenderedImage from the renderable layer.

If operationName is non-null, JAI.create() will be invoked using the supplied ParameterBlock and the RenderingHints contained in the RenderContext. If operationName is null, or JAI.create() returns null, the create(ParameterBlock,RenderingHints) method defined in the extending class will be invoked.
Parameters:
  renderContext - The rendering information associated withthis rendering.
Parameters:
  paramBlock - The parameters used to create the image. A RenderedImage.




getBounds2D
public Rectangle2D getBounds2D(ParameterBlock paramBlock)(Code)
Returns the bounding box for the output of the operation. The implementation in this class computes the bounding box as the intersection the bounding boxes of all the (renderable sources).
Parameters:
  paramBlock - A ParameterBlock containing thesources and parameters of the operation. A Rectangle2D specifying the bounding box.



getProperty
public Object getProperty(ParameterBlock paramBlock, String name)(Code)
Returns the appropriate instance of the property with the indicated name.

The implementation in this class always returns java.awt.Image.UndefinedProperty since no properties are defined by default.
Parameters:
  paramBlock - A ParameterBlock containing thesources and parameters of the operation.
Parameters:
  name - A String containing the desired property name. the value java.awt.Image.UndefinedPropertyindicating that the property is undefined.




getPropertyNames
public String[] getPropertyNames()(Code)
Returns the valid property names for the operation. The implementation in this class always returns null since no properties are associated with the operation by default. null indicating that no properties are defined.



isDynamic
public boolean isDynamic()(Code)
Returns true if successive renderings with the same arguments may produce different results. The implementation in this class always returns false so as to enable caching of renderings by default. CRIFs that do implement dynamic rendering behavior must override this method. false indicating that the rendering is static.



mapRenderContext
public RenderContext mapRenderContext(int i, RenderContext renderContext, ParameterBlock paramBlock, RenderableImage image)(Code)
Maps the destination RenderContext into a RenderContext for each source. The implementation in this class simply returns the RenderContext passed in by the caller.
Parameters:
  i - The index of the source image.
Parameters:
  renderContext - The RenderContext being applied tothe operation.
Parameters:
  paramBlock - A ParameterBlock containing thesources and parameters of the operation.
Parameters:
  image - The RenderableImage being rendered. The RenderContext to be used to render thegiven source.



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.