Java Doc for GeoToolsReadParams.java in  » GIS » GeoTools-2.4.1 » org » geotools » coverage » grid » io » imageio » 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 » GIS » GeoTools 2.4.1 » org.geotools.coverage.grid.io.imageio 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.imageio.ImageReadParam
   org.geotools.coverage.grid.io.imageio.GeoToolsReadParams

GeoToolsReadParams
abstract public class GeoToolsReadParams extends ImageReadParam (Code)
This class is the base class for building adapters/extensions to the ImageIO ImageReadParam class for controlling the processing of reading a coverage from an ImageReader .
author:
   Simone Giannecchini
since:
   2.3.x


Field Summary
protected  ImageReadParamadaptee
     The ImageReadParam we are adapting/exteding.
protected  Dimension[]preferredTileSizes
     An array of preferred tile size range pairs.
protected  inttileHeight
     The height of each tile if tiling has been set, or 0 otherwise.
protected  inttileWidth
     The width of each tile if tiling has been set, or 0 otherwise.
protected  booleantilingSet
     A boolean that is true if tiling parameters have been specified.

Constructor Summary
public  GeoToolsReadParams()
     Default contructor.

Method Summary
public  Dimension[]getPreferredTileSizes()
     Returns an array of Dimensions indicating the legal size ranges for tiles.
public  intgetTileHeight()
     Returns the width of each tile in an raster as it will be reader If tiling parameters have not been set, an IllegalStateException is thrown.
public  intgetTileWidth()
     Returns the width of each tile in an raster as it will be reader If tiling parameters have not been set, an IllegalStateException is thrown.
public  voidsetTiling(int tileWidth, int tileHeight)
     Specifies that the image should be tiled.

Field Detail
adaptee
protected ImageReadParam adaptee(Code)
The ImageReadParam we are adapting/exteding.



preferredTileSizes
protected Dimension[] preferredTileSizes(Code)
An array of preferred tile size range pairs. The default value is null, which indicates that there are no preferred sizes. If the value is non-null, it must have an even length of at least two.

Subclasses that do not support reading tiles may ignore this value.
See Also:   GeoToolsReadParams.getPreferredTileSizes




tileHeight
protected int tileHeight(Code)
The height of each tile if tiling has been set, or 0 otherwise. The initial value is 0.

Subclasses that do not support tiling may ignore this value.




tileWidth
protected int tileWidth(Code)
The width of each tile if tiling has been set, or 0 otherwise.

Subclasses that do not support tiling may ignore this value.




tilingSet
protected boolean tilingSet(Code)
A boolean that is true if tiling parameters have been specified.

Subclasses that do not support reading tiles may ignore this value.





Constructor Detail
GeoToolsReadParams
public GeoToolsReadParams()(Code)
Default contructor.




Method Detail
getPreferredTileSizes
public Dimension[] getPreferredTileSizes()(Code)
Returns an array of Dimensions indicating the legal size ranges for tiles. The returned array is a copy.

The information is returned as a set of pairs; the first element of a pair contains an (inclusive) minimum width and height, and the second element contains an (inclusive) maximum width and height. Together, each pair defines a valid range of sizes. To specify a fixed size, use the same width and height for both elements. To specify an arbitrary range, a value of null is used in place of an actual array of Dimensions.

If no array is specified on the constructor, but tiling is allowed, then this method returns null.
exception:
  UnsupportedOperationException - if the plug-in does not support tiling. an array of Dimensions with an even length of atleast two, or null.




getTileHeight
public int getTileHeight()(Code)
Returns the width of each tile in an raster as it will be reader If tiling parameters have not been set, an IllegalStateException is thrown. the tile height to be used for decoding.
exception:
  IllegalStateException - if the tiling parameters have not been set.
See Also:   GeoToolsReadParams.setTiling(int,int,int,int)
See Also:   GeoToolsReadParams.getTileWidth()



getTileWidth
public int getTileWidth()(Code)
Returns the width of each tile in an raster as it will be reader If tiling parameters have not been set, an IllegalStateException is thrown. the tile width to be used for decoding.
exception:
  IllegalStateException - if the tiling parameters have not been set.
See Also:   GeoToolsReadParams.setTiling(int,int,int,int)
See Also:   GeoToolsReadParams.getTileHeight()



setTiling
public void setTiling(int tileWidth, int tileHeight)(Code)
Specifies that the image should be tiled. The tileWidth and tileHeight parameters specify the width and height of the tiles in memory. If the tile width or height is greater than the width or height of the image, the image is not tiled in that dimension.
Parameters:
  tileWidth - the width of each tile.
Parameters:
  tileHeight - the height of each tile.
exception:
  IllegalArgumentException - if the tile size is not within one of the allowable rangesreturned by getPreferredTileSizes.
exception:
  IllegalArgumentException - if tileWidth or tileHeightis less than or equal to 0.
See Also:   GeoToolsReadParams.canWriteTiles
See Also:   GeoToolsReadParams.canOffsetTiles
See Also:   GeoToolsReadParams.getTileWidth()
See Also:   GeoToolsReadParams.getTileHeight()
See Also:   GeoToolsReadParams.getTileGridXOffset()
See Also:   GeoToolsReadParams.getTileGridYOffset()



Fields inherited from javax.imageio.ImageReadParam
protected boolean canSetSourceRenderSize(Code)(Java Doc)
protected BufferedImage destination(Code)(Java Doc)
protected int[] destinationBands(Code)(Java Doc)
protected int minProgressivePass(Code)(Java Doc)
protected int numProgressivePasses(Code)(Java Doc)
protected Dimension sourceRenderSize(Code)(Java Doc)

Methods inherited from javax.imageio.ImageReadParam
public boolean canSetSourceRenderSize()(Code)(Java Doc)
public BufferedImage getDestination()(Code)(Java Doc)
public int[] getDestinationBands()(Code)(Java Doc)
public int getSourceMaxProgressivePass()(Code)(Java Doc)
public int getSourceMinProgressivePass()(Code)(Java Doc)
public int getSourceNumProgressivePasses()(Code)(Java Doc)
public Dimension getSourceRenderSize()(Code)(Java Doc)
public void setDestination(BufferedImage destination)(Code)(Java Doc)
public void setDestinationBands(int[] destinationBands)(Code)(Java Doc)
public void setDestinationType(ImageTypeSpecifier destinationType)(Code)(Java Doc)
public void setSourceProgressivePasses(int minPass, int numPasses)(Code)(Java Doc)
public void setSourceRenderSize(Dimension size) throws UnsupportedOperationException(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.