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


org.geotools.parameter.AbstractParameter
   org.geotools.parameter.ParameterGroup
      org.geotools.parameter.MatrixParameters

MatrixParameters
public class MatrixParameters extends ParameterGroup implements ParameterDescriptorGroup(Code)
The values for a group of . This value group is extensible, i.e. the number of "elt_row_col" parameters depends on the "num_row" and "num_col" parameter values. Consequently, this is also its own mutable .
since:
   2.1
version:
   $Id: MatrixParameters.java 24973 2007-03-30 21:57:48Z chorner $
author:
   Martin Desruisseaux
See Also:   MatrixParameterDescriptors



Constructor Summary
public  MatrixParameters(MatrixParameterDescriptors descriptor)
     Constructs default values for the specified .

Method Summary
public  Objectclone()
     Returns a clone of this parameter group.
public  GeneralParameterValuecreateValue()
     Forward the call to the specified at construction time.
public  GeneralParameterDescriptordescriptor(String name)
     Returns the parameter in this group for the specified name.
public  Listdescriptors()
     Returns the parameters descriptors in this group.
public  booleanequals(Object object)
     Compare this object with the specified one for equality.
public  CollectiongetAlias()
     Forward the call to the specified at construction time.
public  GeneralParameterDescriptorgetDescriptor()
     Returns a description of this parameter value group.
public  SetgetIdentifiers()
     Forward the call to the specified at construction time.
public  MatrixgetMatrix()
     Create a matrix from this group of parameters.
public  intgetMaximumOccurs()
     Forward the call to the specified at construction time.
public  intgetMinimumOccurs()
     Forward the call to the specified at construction time.
public  ReferenceIdentifiergetName()
     Forward the call to the specified at construction time.
public  InternationalStringgetRemarks()
     Forward the call to the specified at construction time.
public  ParameterValueparameter(String name)
     Returns the value in this group for the specified name.
final public  ParameterValueparameter(int row, int column)
     Returns the value in this group for a matrix element at the specified index.
public  voidsetMatrix(Matrix matrix)
     Set all parameter values to the element value in the specified matrix.
public  Listvalues()
     Returns the parameters values in this group.
protected  voidwrite(TableWriter table)
     Write the content of this parameter to the specified table.


Constructor Detail
MatrixParameters
public MatrixParameters(MatrixParameterDescriptors descriptor)(Code)
Constructs default values for the specified .




Method Detail
clone
public Object clone()(Code)
Returns a clone of this parameter group.



createValue
public GeneralParameterValue createValue()(Code)
Forward the call to the specified at construction time.



descriptor
public GeneralParameterDescriptor descriptor(String name) throws ParameterNotFoundException(Code)
Returns the parameter in this group for the specified name. The name can be a matrix element if it uses the following syntax: "elt_row_col" where "elt_" is the for all matrix elements, and row and col are row and column indices respectively. For example "elt_2_1" is the element name for the value at line 2 and row 1. The row and column index are 0 based.
Parameters:
  name - The case insensitive name of the parameter to search for. The parameter for the given name.
throws:
  ParameterNotFoundException - if there is no parameter for the given name.



descriptors
public List descriptors()(Code)
Returns the parameters descriptors in this group. The amount of parameters depends on the value of "num_row" and "num_col" parameters.



equals
public boolean equals(Object object)(Code)
Compare this object with the specified one for equality.



getAlias
public Collection getAlias()(Code)
Forward the call to the specified at construction time.



getDescriptor
public GeneralParameterDescriptor getDescriptor()(Code)
Returns a description of this parameter value group. Returns always this , since the description depends on "num_row" and "num_col" parameter values.



getIdentifiers
public Set getIdentifiers()(Code)
Forward the call to the specified at construction time.



getMatrix
public Matrix getMatrix()(Code)
Create a matrix from this group of parameters. A matrix created from this group of parameters.



getMaximumOccurs
public int getMaximumOccurs()(Code)
Forward the call to the specified at construction time.



getMinimumOccurs
public int getMinimumOccurs()(Code)
Forward the call to the specified at construction time.



getName
public ReferenceIdentifier getName()(Code)
Forward the call to the specified at construction time.



getRemarks
public InternationalString getRemarks()(Code)
Forward the call to the specified at construction time.



parameter
public ParameterValue parameter(String name) throws ParameterNotFoundException(Code)
Returns the value in this group for the specified name. The name can be a matrix element if it uses the following syntax: "elt_row_col" where "elt_" is the for all matrix elements, and row and col are row and column indices respectively. For example "elt_2_1" is the element name for the value at line 2 and row 1. The row and column index are 0 based.
Parameters:
  name - The case insensitive name of the parameter to search for. The parameter value for the given name.
throws:
  ParameterNotFoundException - if there is no parameter for the given name.



parameter
final public ParameterValue parameter(int row, int column) throws IndexOutOfBoundsException(Code)
Returns the value in this group for a matrix element at the specified index. Row and column index are 0 based.
Parameters:
  row - The row indice.
Parameters:
  column - The column indice The parameter value for the specified matrix element (never null ).
throws:
  IndexOutOfBoundsException - if row or column is out of bounds.



setMatrix
public void setMatrix(Matrix matrix)(Code)
Set all parameter values to the element value in the specified matrix. After this method call, MatrixParameters.values will returns only the elements different from the default value.
Parameters:
  matrix - The matrix to copy in this group of parameters.



values
public List values()(Code)
Returns the parameters values in this group. The amount of parameters depends on the value of "num_row" and "num_col" parameters. The parameter array will contains only matrix elements which have been requested at least once by one of parameter(...) methods. Never requested elements are left to their default value and omitted from the returned array.



write
protected void write(TableWriter table) throws IOException(Code)
Write the content of this parameter to the specified table.
Parameters:
  table - The table where to format the parameter value.
throws:
  IOException - if an error occurs during output operation.



Fields inherited from org.geotools.parameter.ParameterGroup
public static ParameterValueGroup EMPTY(Code)(Java Doc)

Methods inherited from org.geotools.parameter.ParameterGroup
public ParameterValueGroup addGroup(String name) throws ParameterNotFoundException, InvalidParameterCardinalityException(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
public List groups(String name) throws ParameterNotFoundException(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final GeneralParameterValue parameter(int index) throws IndexOutOfBoundsException(Code)(Java Doc)
public ParameterValue parameter(String name) throws ParameterNotFoundException(Code)(Java Doc)
public List values()(Code)(Java Doc)

Fields inherited from org.geotools.parameter.AbstractParameter
final GeneralParameterDescriptor descriptor(Code)(Java Doc)

Methods inherited from org.geotools.parameter.AbstractParameter
public Object clone()(Code)(Java Doc)
static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc)
static void ensureNonNull(String name, Object[] array, int index) throws IllegalArgumentException(Code)(Java Doc)
static void ensureValidClass(Class valueClass, Object value) throws IllegalArgumentException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
final protected String formatWKT(Formatter formatter)(Code)(Java Doc)
public GeneralParameterDescriptor getDescriptor()(Code)(Java Doc)
static String getName(GeneralParameterDescriptor descriptor)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public String toString()(Code)(Java Doc)
static IllegalStateException unitlessParameter(GeneralParameterDescriptor descriptor)(Code)(Java Doc)
protected void write(TableWriter table) throws IOException(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.