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


java.lang.Object
   javax.media.jai.PlanarImage
      javax.media.jai.RenderedOp
         javax.media.jai.remote.RemoteRenderedOp

RemoteRenderedOp
public class RemoteRenderedOp extends RenderedOp implements RemoteRenderedImage(Code)
A node in a remote rendered imaging chain. This class is a concrete implementation of the RemoteRenderedImage interface. A RemoteRenderedOp stores a protocol name (as a String), a server name (as a String), an operation name (as a String), a ParameterBlock containing sources and miscellaneous parameters, and a RenderingHints containing rendering hints. A set of nodes may be joined together via the source Vectors within their ParameterBlocks to form a directed acyclic graph (DAG). The topology i.e., connectivity of the graph may be altered by changing the ParameterBlocks; the operation name, parameters, and rendering hints may also be changed.

Such chains represent and handle operations that are being performed remotely. They convey the structure of an imaging chain in a compact representation and can be used to influence the remote imaging process (through the use of retry interval, retries and negotiation preferences).

RemoteRenderedOps are a client side representation of the chain of operations taking place on the server.

The translation between RemoteRenderedOp chains and RemoteRenderedImage (usually PlanarImageServerProxy) chains makes use of two levels of indirection provided by the OperationRegistry and RemoteRIF facilities. First, the local OperationRegistry is used to map the protocol name into a RemoteRIF. This RemoteRIF then constructs one or more RemoteRenderedImages (usually PlanarImageServerProxys) to do the actual work (or returns a RemoteRenderedImage by other means. The OperationRegistry maps a protocol name into a RemoteRIF, since there is one to one correspondence between a protocol name and a RemoteRIF. This differs from the case of RenderedOps, where the OperationRegistry maps each operation name to a RenderedImageFactory (RIF), since there is a one to one correspondence between an operation name and a RIF. The RemoteRIFs are therefore protocol-specific and not operation specific, while a RIF is operation specific.

Once a protocol name has been mapped into a RemoteRIF, the RemoteRIF.create() method is used to create a rendering. This rendering is responsible for communicating with the server to perform the specified operation remotely.

By virtue of being a subclass of RenderedOp, this class participates in Java Bean-style events as specified by RenderedOp. This means that PropertyChangeEmitter methods may be used to register and unregister PropertyChangeListeners. RemoteRenderedOps are also PropertyChangeListeners so that they may be registered as listeners of other PropertyChangeEmitters or the equivalent. Each RemoteRenderedOp also automatically receives any RenderingChangeEvents emitted by any of its sources which are RenderedOps.

RemoteRenderedOps add the server name and the protocol name to the critical attributes, the editing (changing) of which, coupled with a difference in the old and new rendering over some non-empty region, may cause a RenderingChangeEvent to be emitted. As with RenderedOp, editing of a critical attribute of a RemoteRenderedOp will cause a PropertyChangeEventJAI detailing the change to be fired to all registered PropertyChangeListeners. RemoteRenderedOp registers itself as a PropertyChangeListener for all critical attributes, and thus receives all PropertyChangeEventJAI events generated by itself. This is done in order to allow the event handling code to generate a new rendering and reuse any tiles that might be valid after the critical argument change.

When a RemoteRenderedOp node receives a PropertyChangeEventJAI from itself, the region of the current rendering which is invalidated is computed using RemoteDescriptor.getInvalidRegion(). When a RemoteRenderedOp node receives a RenderingChangeEvent from one of its sources, the region of the current rendering which is invalidated is computed using the mapSourceRect() method of the current rendering and the invalid region of the source (retrieved using RenderingChangeEvent.getInvalidRegion()) If the complement of the invalid region contains any tiles of the current rendering, a new rendering of the node will be generated using the new source node and its rendering generated using that version of RemoteRIF.create() that updates the rendering of the node according to the specified PropertyChangeEventJAI. The identified tiles will be retained from the old rendering insofar as possible. This might involve for example adding tiles to a TileCache under the ownership of the new rendering. A RenderingChangeEvent will then be fired to all PropertyChangeListeners of the node, and to any node sinks that are PropertyChangeListeners. The newRendering parameter of the event constructor (which may be retrieved via the getNewValue() method of the event) will be set to either the new rendering of the node or to null if it was not possible to retain any tiles of the previous rendering.
See Also:   RenderedOp
See Also:   RemoteRenderedImage
since:
   JAI 1.1



Field Summary
protected  StringprotocolName
     The name of the protocol this class provides an implementation for.
protected  StringserverName
     The name of the server.

Constructor Summary
public  RemoteRenderedOp(String protocolName, String serverName, String opName, ParameterBlock pb, RenderingHints hints)
     Constructs a RemoteRenderedOp that will be used to instantiate a particular rendered operation to be performed remotely using the default operation registry, the name of the remote imaging protocol, the name of the server to perform the operation on, an operation name, a ParameterBlock, and a set of rendering hints.
public  RemoteRenderedOp(OperationRegistry registry, String protocolName, String serverName, String opName, ParameterBlock pb, RenderingHints hints)
     Constructs a RemoteRenderedOp that will be used to instantiate a particular rendered operation to be performed remotely using the specified operation registry, the name of the remote imaging protocol, the name of the server to perform the operation on, an operation name, a ParameterBlock, and a set of rendering hints.

Method Summary
protected synchronized  PlanarImagecreateInstance(boolean isNodeRendered)
     Overrides the RenderedOp method to allow the operation to be performed remotely.
public  NegotiableCapabilitygetNegotiatedValue(String category)
     Returns the results of the negotiation between the client and server capabilities for the given category according to the preferences set via the setNegotiationPreferences() method.
public  NegotiableCapabilitySetgetNegotiatedValues()
     Returns the results of the negotiation between the client and server capabilities according to the preferences set via the setNegotiationPreferences() method.
public  NegotiableCapabilitySetgetNegotiationPreferences()
     Returns the current negotiation preferences or null, if none were set previously.
public  intgetNumRetries()
     Returns the number of retries.

If this RemoteRenderedOp has been rendered, then its getNumRetries() method will be called to return the current number of retries.

public  StringgetProtocolName()
     Returns the String that identifies the remote imaging protocol.
public  StringgetRegistryModeName()
     Returns the name of the RegistryMode corresponding to this RemoteRenderedOp.
public  intgetRetryInterval()
     Returns the amount of time between retries in milliseconds.

If this RemoteRenderedOp has been rendered, then its getRetryInterval() method will be called to return the current retry interval.

public  StringgetServerName()
     Returns the String that identifies the server.
public synchronized  voidpropertyChange(PropertyChangeEvent evt)
     Implementation of PropertyChangeListener.
 voidsendExceptionToListener(String message, Exception e)
    
public  voidsetNegotiationPreferences(NegotiableCapabilitySet preferences)
     Sets the preferences to be used in the client-server communication.
public  voidsetNumRetries(int numRetries)
     Sets the number of retries.
public  voidsetProtocolAndServerNames(String protocolName, String serverName)
     Sets the protocol name and the server name of this RemoteRenderedOp to the specified arguments..

If both the supplied protocol name and the supplied server name values do not equal the current values, a PropertyChangeEventJAI named "ProtocolAndServerName" will be fired.

public  voidsetProtocolName(String protocolName)
     Sets a String identifying the remote imaging protocol. This method causes this RemoteRenderedOp to use the new protocol name with the server name set on this node previously.
public  voidsetRetryInterval(int retryInterval)
     Sets the amount of time between retries in milliseconds.
public  voidsetServerName(String serverName)
     Sets a String identifying the server.

If the supplied name does not equal the current server name, a PropertyChangeEventJAI named "ServerName" will be fired and a RenderingChangeEvent may be fired if the node has already been rendered.

public  voidsetServerNegotiatedValues(NegotiableCapabilitySet negotiatedValues)
     Informs the server of the negotiated values that are the result of a successful negotiation.

Field Detail
protocolName
protected String protocolName(Code)
The name of the protocol this class provides an implementation for.



serverName
protected String serverName(Code)
The name of the server.




Constructor Detail
RemoteRenderedOp
public RemoteRenderedOp(String protocolName, String serverName, String opName, ParameterBlock pb, RenderingHints hints)(Code)
Constructs a RemoteRenderedOp that will be used to instantiate a particular rendered operation to be performed remotely using the default operation registry, the name of the remote imaging protocol, the name of the server to perform the operation on, an operation name, a ParameterBlock, and a set of rendering hints. All input parameters are saved by reference.

An IllegalArgumentException may be thrown by the protocol specific classes at a later point, if null is provided as the serverName argument and null is not considered a valid server name by the specified protocol.

The RenderingHints may contain negotiation preferences specified under the KEY_NEGOTIATION_PREFERENCES key.
Parameters:
  protocolName - The protocol name as a String.
Parameters:
  serverName - The server name as a String.
Parameters:
  opName - The operation name.
Parameters:
  pb - The sources and parameters. If null,it is assumed that this node has no sources andparameters.
Parameters:
  hints - The rendering hints. If null, it isassumed that no hints are associated with therendering.
throws:
  IllegalArgumentException - if protocolName isnull.
throws:
  IllegalArgumentException - if opName isnull.




RemoteRenderedOp
public RemoteRenderedOp(OperationRegistry registry, String protocolName, String serverName, String opName, ParameterBlock pb, RenderingHints hints)(Code)
Constructs a RemoteRenderedOp that will be used to instantiate a particular rendered operation to be performed remotely using the specified operation registry, the name of the remote imaging protocol, the name of the server to perform the operation on, an operation name, a ParameterBlock, and a set of rendering hints. All input parameters are saved by reference.

An IllegalArgumentException may be thrown by the protocol specific classes at a later point, if null is provided as the serverName argument and null is not considered a valid server name by the specified protocol.

The RenderingHints may contain negotiation preferences specified under the KEY_NEGOTIATION_PREFERENCES key.
Parameters:
  registry - The OperationRegistry to be used forinstantiation. if null, the defaultregistry is used.
Parameters:
  protocolName - The protocol name as a String.
Parameters:
  serverName - The server name as a String.
Parameters:
  opName - The operation name.
Parameters:
  pb - The sources and parameters. If null,it is assumed that this node has no sources andparameters.
Parameters:
  hints - The rendering hints. If null, it isassumed that no hints are associated with therendering.
throws:
  IllegalArgumentException - if protocolName isnull.
throws:
  IllegalArgumentException - if opName isnull.





Method Detail
createInstance
protected synchronized PlanarImage createInstance(boolean isNodeRendered)(Code)
Overrides the RenderedOp method to allow the operation to be performed remotely.



getNegotiatedValue
public NegotiableCapability getNegotiatedValue(String category) throws RemoteImagingException(Code)
Returns the results of the negotiation between the client and server capabilities for the given category according to the preferences set via the setNegotiationPreferences() method. This will return null if no negotiation preferences were set, and no negotiation was performed, or if the negotiation failed.

If this RemoteRenderedOp has been rendered, then its getNegotiatedValues() method will be called to return the current negotiated values. If no rendering has been created, then the internally stored negotiated value (calculated when the new preferences were set using the setNegotiationPreferences() method) will be returned.
Parameters:
  category - The category to return the negotiated results for.




getNegotiatedValues
public NegotiableCapabilitySet getNegotiatedValues() throws RemoteImagingException(Code)
Returns the results of the negotiation between the client and server capabilities according to the preferences set via the setNegotiationPreferences() method. This will return null if no negotiation preferences were set, and no negotiation was performed, or if the negotiation failed.

If this RemoteRenderedOp has been rendered, then its getNegotiatedValues() method will be called to return the current negotiated values. If no rendering has been created, then the internally stored negotiated value (calculated when the new preferences were set using the setNegotiationPreferences() method) will be returned.




getNegotiationPreferences
public NegotiableCapabilitySet getNegotiationPreferences()(Code)
Returns the current negotiation preferences or null, if none were set previously.



getNumRetries
public int getNumRetries()(Code)
Returns the number of retries.

If this RemoteRenderedOp has been rendered, then its getNumRetries() method will be called to return the current number of retries. If no rendering has been created, and a value was set using the setNumRetries() method), that value will be returned, else the default retry interval as defined by RemoteJAI.DEFAULT_NUM_RETRIES is returned.




getProtocolName
public String getProtocolName()(Code)
Returns the String that identifies the remote imaging protocol.



getRegistryModeName
public String getRegistryModeName()(Code)
Returns the name of the RegistryMode corresponding to this RemoteRenderedOp. This method overrides the implementation in RenderedOp to always returns the String "remoteRendered".



getRetryInterval
public int getRetryInterval()(Code)
Returns the amount of time between retries in milliseconds.

If this RemoteRenderedOp has been rendered, then its getRetryInterval() method will be called to return the current retry interval. If no rendering has been created, and a value was set using the setRetryInterval() method), that value will be returned, else the default retry interval as defined by RemoteJAI.DEFAULT_RETRY_INTERVAL is returned.




getServerName
public String getServerName()(Code)
Returns the String that identifies the server.



propertyChange
public synchronized void propertyChange(PropertyChangeEvent evt)(Code)
Implementation of PropertyChangeListener.

When invoked with an event which is an instance of RenderingChangeEvent the node will respond by re-rendering itself while retaining any tiles possible.




sendExceptionToListener
void sendExceptionToListener(String message, Exception e)(Code)



setNegotiationPreferences
public void setNegotiationPreferences(NegotiableCapabilitySet preferences)(Code)
Sets the preferences to be used in the client-server communication. These preferences are utilized in the negotiation process. Note that preferences for more than one category can be specified using this method. Also each preference can be a list of values in decreasing order of preference, each value specified as a NegotiableCapability. The NegotiableCapability first (for a particular category) in this list is given highest priority in the negotiation process (for that category).

It may be noted that this method allows for multiple negotiation cycles by allowing negotiation preferences to be set multiple times. If this RemoteRenderedOp has already been rendered, the setNegotiationPreferences() method is called on the rendering to inform it of the new preferences. The rendering can choose to ignore these new preferences, in which case getNegotiatedValues() will still return the results of the old negotiation, or the rendering can re-perform the negotiation, (using the RemoteJAI.negotiate, for example) in which case getNegotiatedValues() will return the new negotiated values. If this RemoteRenderedOp has not been rendered, the new preferences specified will be stored, a negotiation with these new preferences will be initiated and the results stored. These new preferences which have been stored will be passed as part of the RenderingHints using the KEY_NEGOTIATION_PREFERENCES key, to the new rendering when it is created.
Parameters:
  preferences - The preferences to be used in the negotiationprocess.




setNumRetries
public void setNumRetries(int numRetries)(Code)
Sets the number of retries. If this RemoteRenderedOp has already been rendered, the setNumRetries() method is called on the rendering to inform it of the new number of retries. The rendering can choose to ignore these new settings, in which case getNunRetries() will still return the old values, or the rendering can honor these new settings in which case getNumRetries() will return the new value. If this RemoteRenderedOp has not been rendered, the new setting specified will be stored. These new settings which have been stored will be passed as part of the RenderingHints using the KEY_NUM_RETRIES key, to the new rendering when it is created.
Parameters:
  numRetries - The number of times an operation should be retriedin case of a network error.
throws:
  IllegalArgumentException - if numRetries is negative.



setProtocolAndServerNames
public void setProtocolAndServerNames(String protocolName, String serverName)(Code)
Sets the protocol name and the server name of this RemoteRenderedOp to the specified arguments..

If both the supplied protocol name and the supplied server name values do not equal the current values, a PropertyChangeEventJAI named "ProtocolAndServerName" will be fired. The oldValue field in the PropertyChangeEventJAI will contain a two element array of Strings, the old protocol name being the first element and the old server name being the second. Similarly the newValue field of the PropertyChangeEventJAI will contain a two element array of Strings, the new protocol name being the first element and the new server name being the second. If only the supplied protocol name does not equal the current protocol name, a PropertyChangeEventJAI named "ProtocolName" will be fired. If only the supplied server name does not equal the current server name, a PropertyChangeEventJAI named "ServerName" will be fired.
Parameters:
  protocolName - A String identifying the protocol.
Parameters:
  serverName - A String identifying the server.
throws:
  IllegalArgumentException - if protocolName is null.
throws:
  IllegalArgumentException - if serverName is null.




setProtocolName
public void setProtocolName(String protocolName)(Code)
Sets a String identifying the remote imaging protocol. This method causes this RemoteRenderedOp to use the new protocol name with the server name set on this node previously. If the server is not compliant with the new protocol name, the setProtocolAndServerNames() method should be used to set a new protocol name and a compliant new server name at the same time.

If the supplied name does not equal the current protocol name, a PropertyChangeEventJAI named "ProtocolName" will be fired and a RenderingChangeEvent may be fired if the node has already been rendered. The oldValue field in the PropertyChangeEventJAI will contain the old protocol name String and the newValue field will contain the new protocol name String.
Parameters:
  protocolName - A String identifying the server.
throws:
  IllegalArgumentException - if protocolName is null.




setRetryInterval
public void setRetryInterval(int retryInterval)(Code)
Sets the amount of time between retries in milliseconds. If this RemoteRenderedOp has already been rendered, the setRetryInterval() method is called on the rendering to inform it of the new retry interval. The rendering can choose to ignore this new setting, in which case getRetryInterval() will still return the old value, or the rendering can honor these settings, in which case getRetryInterval() will return the new settings. If this RemoteRenderedOp has not been rendered, the new retry interval specified will be stored. These new stored retry interval will be passed as part of the RenderingHints using the KEY_RETRY_INTERVAL key, to the new rendering when it is created.
Parameters:
  retryInterval - The amount of time (in milliseconds) to waitbetween retries.
throws:
  IllegalArgumentException - if retryInterval is negative.



setServerName
public void setServerName(String serverName)(Code)
Sets a String identifying the server.

If the supplied name does not equal the current server name, a PropertyChangeEventJAI named "ServerName" will be fired and a RenderingChangeEvent may be fired if the node has already been rendered. The oldValue field in the PropertyChangeEventJAI will contain the old server name String and the newValue field will contain the new server name String.
Parameters:
  serverName - A String identifying the server.
throws:
  IllegalArgumentException - if serverName is null.




setServerNegotiatedValues
public void setServerNegotiatedValues(NegotiableCapabilitySet negotiatedValues) throws RemoteImagingException(Code)
Informs the server of the negotiated values that are the result of a successful negotiation. If this RemoteRenderedOp has been rendered, then the rendering's setServerNegotiatedValues method will be called to inform the server of the negotiated results. If no rendering has been created, this method will do nothing.
Parameters:
  negotiatedValues - The result of the negotiation.



Fields inherited from javax.media.jai.RenderedOp
protected OperationNodeSupport nodeSupport(Code)(Java Doc)
protected transient PlanarImage theImage(Code)(Java Doc)
protected transient PropertySource thePropertySource(Code)(Java Doc)

Methods inherited from javax.media.jai.RenderedOp
public synchronized void addNodeSource(Object source)(Code)(Java Doc)
public synchronized void addPropertyGenerator(PropertyGenerator pg)(Code)(Java Doc)
public synchronized void addSink(PlanarImage sink)(Code)(Java Doc)
public boolean addSink(Object sink)(Code)(Java Doc)
public synchronized void addSource(PlanarImage source)(Code)(Java Doc)
public synchronized void addSource(Object source)(Code)(Java Doc)
public void cancelTiles(TileRequest request, Point[] tileIndices)(Code)(Java Doc)
public WritableRaster copyData()(Code)(Java Doc)
public WritableRaster copyData(WritableRaster raster)(Code)(Java Doc)
public synchronized void copyPropertyFromSource(String propertyName, int sourceIndex)(Code)(Java Doc)
public synchronized PlanarImage createInstance()(Code)(Java Doc)
protected synchronized PlanarImage createInstance(boolean isNodeRendered)(Code)(Java Doc)
protected synchronized void createRendering()(Code)(Java Doc)
public synchronized void dispose()(Code)(Java Doc)
public synchronized byte getByteParameter(int index)(Code)(Java Doc)
public synchronized char getCharParameter(int index)(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public PlanarImage getCurrentRendering()(Code)(Java Doc)
public Raster getData()(Code)(Java Doc)
public Raster getData(Rectangle rect)(Code)(Java Doc)
public synchronized double getDoubleParameter(int index)(Code)(Java Doc)
public synchronized Object getDynamicProperty(String name)(Code)(Java Doc)
public synchronized float getFloatParameter(int index)(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public synchronized int getIntParameter(int index)(Code)(Java Doc)
public synchronized long getLongParameter(int index)(Code)(Java Doc)
public int getMinX()(Code)(Java Doc)
public int getMinY()(Code)(Java Doc)
public PlanarImage getNewRendering()(Code)(Java Doc)
public synchronized Object getNodeSource(int index)(Code)(Java Doc)
public synchronized int getNumParameters()(Code)(Java Doc)
public int getNumSources()(Code)(Java Doc)
public synchronized Object getObjectParameter(int index)(Code)(Java Doc)
public synchronized String getOperationName()(Code)(Java Doc)
public synchronized ParameterBlock getParameterBlock()(Code)(Java Doc)
public synchronized Vector getParameters()(Code)(Java Doc)
public synchronized Object getProperty(String name)(Code)(Java Doc)
public Class getPropertyClass(String name)(Code)(Java Doc)
public synchronized String[] getPropertyNames()(Code)(Java Doc)
public synchronized OperationRegistry getRegistry()(Code)(Java Doc)
public String getRegistryModeName()(Code)(Java Doc)
public PlanarImage getRendering()(Code)(Java Doc)
public synchronized Object getRenderingHint(RenderingHints.Key key)(Code)(Java Doc)
public RenderingHints getRenderingHints()(Code)(Java Doc)
public SampleModel getSampleModel()(Code)(Java Doc)
public synchronized short getShortParameter(int index)(Code)(Java Doc)
public PlanarImage getSource(int index)(Code)(Java Doc)
public PlanarImage getSourceImage(int index)(Code)(Java Doc)
public synchronized Object getSourceObject(int index)(Code)(Java Doc)
public synchronized Vector getSources()(Code)(Java Doc)
public Raster getTile(int tileX, int tileY)(Code)(Java Doc)
public int getTileGridXOffset()(Code)(Java Doc)
public int getTileGridYOffset()(Code)(Java Doc)
public int getTileHeight()(Code)(Java Doc)
public int getTileWidth()(Code)(Java Doc)
public Raster[] getTiles(Point tileIndices)(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public Point2D mapDestPoint(Point2D destPt, int sourceIndex)(Code)(Java Doc)
public Point2D mapSourcePoint(Point2D sourcePt, int sourceIndex)(Code)(Java Doc)
public void prefetchTiles(Point tileIndices)(Code)(Java Doc)
public synchronized void propertyChange(PropertyChangeEvent evt)(Code)(Java Doc)
public TileRequest queueTiles(Point[] tileIndices)(Code)(Java Doc)
public void removeProperty(String name)(Code)(Java Doc)
public synchronized boolean removeSink(PlanarImage sink)(Code)(Java Doc)
public boolean removeSink(Object sink)(Code)(Java Doc)
public void removeSinks()(Code)(Java Doc)
public synchronized boolean removeSource(PlanarImage source)(Code)(Java Doc)
public synchronized boolean removeSource(Object source)(Code)(Java Doc)
public synchronized void removeSources()(Code)(Java Doc)
protected synchronized void resetProperties(boolean resetPropertySource)(Code)(Java Doc)
public synchronized void setNodeSource(Object source, int index)(Code)(Java Doc)
public synchronized void setOperationName(String opName)(Code)(Java Doc)
public synchronized void setParameter(byte param, int index)(Code)(Java Doc)
public synchronized void setParameter(char param, int index)(Code)(Java Doc)
public synchronized void setParameter(short param, int index)(Code)(Java Doc)
public synchronized void setParameter(int param, int index)(Code)(Java Doc)
public synchronized void setParameter(long param, int index)(Code)(Java Doc)
public synchronized void setParameter(float param, int index)(Code)(Java Doc)
public synchronized void setParameter(double param, int index)(Code)(Java Doc)
public synchronized void setParameter(Object param, int index)(Code)(Java Doc)
public synchronized void setParameterBlock(ParameterBlock pb)(Code)(Java Doc)
public synchronized void setParameters(Vector parameters)(Code)(Java Doc)
public synchronized void setProperty(String name, Object value)(Code)(Java Doc)
public synchronized void setRegistry(OperationRegistry registry)(Code)(Java Doc)
public synchronized void setRenderingHint(RenderingHints.Key key, Object value)(Code)(Java Doc)
public synchronized void setRenderingHints(RenderingHints hints)(Code)(Java Doc)
public synchronized void setSource(PlanarImage source, int index)(Code)(Java Doc)
public synchronized void setSource(Object source, int index)(Code)(Java Doc)
public synchronized void setSources(List sourceList)(Code)(Java Doc)
public synchronized void suppressProperty(String name)(Code)(Java Doc)

Fields inherited from javax.media.jai.PlanarImage
protected ColorModel colorModel(Code)(Java Doc)
protected PropertyChangeSupportJAI eventManager(Code)(Java Doc)
protected int height(Code)(Java Doc)
protected int minX(Code)(Java Doc)
protected int minY(Code)(Java Doc)
protected WritablePropertySourceImpl properties(Code)(Java Doc)
protected SampleModel sampleModel(Code)(Java Doc)
protected TileFactory tileFactory(Code)(Java Doc)
protected int tileGridXOffset(Code)(Java Doc)
protected int tileGridYOffset(Code)(Java Doc)
protected int tileHeight(Code)(Java Doc)
protected int tileWidth(Code)(Java Doc)
protected int width(Code)(Java Doc)

Methods inherited from javax.media.jai.PlanarImage
public static int XToTileX(int x, int tileGridXOffset, int tileWidth)(Code)(Java Doc)
public int XToTileX(int x)(Code)(Java Doc)
public static int YToTileY(int y, int tileGridYOffset, int tileHeight)(Code)(Java Doc)
public int YToTileY(int y)(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)
protected void addSink(PlanarImage sink)(Code)(Java Doc)
protected void addSource(Object source)(Code)(Java Doc)
public synchronized void addTileComputationListener(TileComputationListener listener)(Code)(Java Doc)
public void cancelTiles(TileRequest request, Point[] tileIndices)(Code)(Java Doc)
public WritableRaster copyData()(Code)(Java Doc)
public WritableRaster copyData(WritableRaster raster)(Code)(Java Doc)
public void copyExtendedData(WritableRaster dest, BorderExtender extender)(Code)(Java Doc)
public static ColorModel createColorModel(SampleModel sm)(Code)(Java Doc)
public PlanarImage createSnapshot()(Code)(Java Doc)
final protected WritableRaster createWritableRaster(SampleModel sampleModel, Point location)(Code)(Java Doc)
public synchronized void dispose()(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
public BufferedImage getAsBufferedImage(Rectangle rect, ColorModel cm)(Code)(Java Doc)
public BufferedImage getAsBufferedImage()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Raster getData()(Code)(Java Doc)
public Raster getData(Rectangle region)(Code)(Java Doc)
public static ColorModel getDefaultColorModel(int dataType, int numBands)(Code)(Java Doc)
public Raster getExtendedData(Rectangle region, BorderExtender extender)(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public Object getImageID()(Code)(Java Doc)
public int getMaxTileX()(Code)(Java Doc)
public int getMaxTileY()(Code)(Java Doc)
public int getMaxX()(Code)(Java Doc)
public int getMaxY()(Code)(Java Doc)
public int getMinTileX()(Code)(Java Doc)
public int getMinTileY()(Code)(Java Doc)
public int getMinX()(Code)(Java Doc)
public int getMinY()(Code)(Java Doc)
public int getNumBands()(Code)(Java Doc)
public int getNumSources()(Code)(Java Doc)
public int getNumXTiles()(Code)(Java Doc)
public int getNumYTiles()(Code)(Java Doc)
protected Hashtable getProperties()(Code)(Java Doc)
public Object getProperty(String name)(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 SampleModel getSampleModel()(Code)(Java Doc)
public Vector getSinks()(Code)(Java Doc)
public PlanarImage getSource(int index)(Code)(Java Doc)
public PlanarImage getSourceImage(int index)(Code)(Java Doc)
public Object getSourceObject(int index)(Code)(Java Doc)
public Vector getSources()(Code)(Java Doc)
public void getSplits(IntegerSequence xSplits, IntegerSequence ySplits, Rectangle rect)(Code)(Java Doc)
abstract public Raster getTile(int tileX, int tileY)(Code)(Java Doc)
public TileComputationListener[] getTileComputationListeners()(Code)(Java Doc)
public TileFactory getTileFactory()(Code)(Java Doc)
public int getTileGridXOffset()(Code)(Java Doc)
public int getTileGridYOffset()(Code)(Java Doc)
public int getTileHeight()(Code)(Java Doc)
public Point[] getTileIndices(Rectangle region)(Code)(Java Doc)
public Rectangle getTileRect(int tileX, int tileY)(Code)(Java Doc)
public int getTileWidth()(Code)(Java Doc)
public Raster[] getTiles(Point[] tileIndices)(Code)(Java Doc)
public Raster[] getTiles()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public boolean overlapsMultipleTiles(Rectangle rect)(Code)(Java Doc)
public void prefetchTiles(Point[] tileIndices)(Code)(Java Doc)
public TileRequest queueTiles(Point[] tileIndices)(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)
protected boolean removeSink(PlanarImage sink)(Code)(Java Doc)
public void removeSinks()(Code)(Java Doc)
protected boolean removeSource(Object source)(Code)(Java Doc)
protected void removeSources()(Code)(Java Doc)
public synchronized void removeTileComputationListener(TileComputationListener listener)(Code)(Java Doc)
protected void setImageLayout(ImageLayout layout)(Code)(Java Doc)
protected void setProperties(Hashtable properties)(Code)(Java Doc)
public void setProperty(String name, Object value)(Code)(Java Doc)
protected void setSource(Object source, int index)(Code)(Java Doc)
protected void setSources(List sourceList)(Code)(Java Doc)
public static int tileXToX(int tx, int tileGridXOffset, int tileWidth)(Code)(Java Doc)
public int tileXToX(int tx)(Code)(Java Doc)
public static int tileYToY(int ty, int tileGridYOffset, int tileHeight)(Code)(Java Doc)
public int tileYToY(int ty)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public static PlanarImage wrapRenderedImage(RenderedImage image)(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.