com.esri.arcgis.geoprocessing.tools.spatialanalysttools
Class Dendrogram

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.spatialanalysttools.Dendrogram
All Implemented Interfaces:
GPTool

public class Dendrogram
extends AbstractGPTool

Constructs a tree diagram (dendrogram) showing attribute distances between sequentially merged classes in a signature file. The Dendrogram tool is contained in the Spatial Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
Dendrogram()
          Creates the Dendrogram tool with defaults.
Dendrogram(java.lang.Object inSignatureFile, java.lang.Object outDendrogramFile)
          Creates the Dendrogram tool with the required parameters.
 
Method Summary
 java.lang.String getDistanceCalculation()
          Returns the Use variance in distance calculations parameter of this tool .
 java.lang.Object getInSignatureFile()
          Returns the Input signature file parameter of this tool .
 int getLineWidth()
          Returns the Line width of dendrogram parameter of this tool .
 java.lang.Object getOutDendrogramFile()
          Returns the Output dendrogram file parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setDistanceCalculation(java.lang.String distanceCalculation)
          Sets the Use variance in distance calculations parameter of this tool .
 void setInSignatureFile(java.lang.Object inSignatureFile)
          Sets the Input signature file parameter of this tool .
 void setLineWidth(int lineWidth)
          Sets the Line width of dendrogram parameter of this tool .
 void setOutDendrogramFile(java.lang.Object outDendrogramFile)
          Sets the Output dendrogram file parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dendrogram

public Dendrogram()
Creates the Dendrogram tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


Dendrogram

public Dendrogram(java.lang.Object inSignatureFile,
                  java.lang.Object outDendrogramFile)
Creates the Dendrogram tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inSignatureFile - input signature file whose class signatures are used to produce a dendrogram. a .gsg extension is required.
outDendrogramFile - the output dendrogram ASCII file. the extension can be .txt or .asc.
Method Detail

getInSignatureFile

public java.lang.Object getInSignatureFile()
Returns the Input signature file parameter of this tool . This parameter is input signature file whose class signatures are used to produce a dendrogram. a .gsg extension is required. This is a required parameter.

Returns:
the Input signature file

setInSignatureFile

public void setInSignatureFile(java.lang.Object inSignatureFile)
Sets the Input signature file parameter of this tool . This parameter is input signature file whose class signatures are used to produce a dendrogram. a .gsg extension is required. This is a required parameter.

Parameters:
inSignatureFile - input signature file whose class signatures are used to produce a dendrogram. a .gsg extension is required.

getOutDendrogramFile

public java.lang.Object getOutDendrogramFile()
Returns the Output dendrogram file parameter of this tool . This parameter is the output dendrogram ASCII file. the extension can be .txt or .asc. This is a required parameter.

Returns:
the Output dendrogram file

setOutDendrogramFile

public void setOutDendrogramFile(java.lang.Object outDendrogramFile)
Sets the Output dendrogram file parameter of this tool . This parameter is the output dendrogram ASCII file. the extension can be .txt or .asc. This is a required parameter.

Parameters:
outDendrogramFile - the output dendrogram ASCII file. the extension can be .txt or .asc.

getDistanceCalculation

public java.lang.String getDistanceCalculation()
Returns the Use variance in distance calculations parameter of this tool . This parameter is specifies the manner in which the distances between classes in multidimensional attribute space are defined. This is an optional parameter.

Returns:
the Use variance in distance calculations

setDistanceCalculation

public void setDistanceCalculation(java.lang.String distanceCalculation)
Sets the Use variance in distance calculations parameter of this tool . This parameter is specifies the manner in which the distances between classes in multidimensional attribute space are defined. This is an optional parameter.

Parameters:
distanceCalculation - specifies the manner in which the distances between classes in multidimensional attribute space are defined.

getLineWidth

public int getLineWidth()
Returns the Line width of dendrogram parameter of this tool . This parameter is sets the width of the dendrogram in number of characters on a line. the default is 78. This is an optional parameter.

Returns:
the Line width of dendrogram

setLineWidth

public void setLineWidth(int lineWidth)
Sets the Line width of dendrogram parameter of this tool . This parameter is sets the width of the dendrogram in number of characters on a line. the default is 78. This is an optional parameter.

Parameters:
lineWidth - sets the width of the dendrogram in number of characters on a line. the default is 78.

getToolName

public java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias