|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.spatialanalysttools.Shrink
public class Shrink
Shrinks the selected zones by a specified number of cells.
The Shrink tool is contained in the Spatial Analyst Tools tool box.
Learn more about how Shrink works
Software restrictions: none

| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
Shrink()
Creates the Shrink tool with defaults. |
|
Shrink(Object inRaster,
Object outRaster,
int numberCells,
Object zoneValues)
Creates the Shrink tool with the required parameters. |
|
| Method Summary | |
|---|---|
Object |
getInRaster()
Returns the Input raster parameter of this tool . |
int |
getNumberCells()
Returns the Number of cells parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
Object |
getZoneValues()
Returns the Zone values parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input raster parameter of this tool . |
void |
setNumberCells(int numberCells)
Sets the Number of cells parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . |
void |
setZoneValues(Object zoneValues)
Sets the Zone values 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 |
|---|
public Shrink()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Shrink(Object inRaster,
Object outRaster,
int numberCells,
Object zoneValues)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inRaster - Composite Geodataset, it must be of integer type.outRaster - Raster Dataset, the raster to be created.numberCells - Long, the number of cells by which to shrink each specified zone.zoneValues - Long, list of zone values to shrink.| Method Detail |
|---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster - Composite Geodataset, it must be of integer type.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster - Raster Dataset, the raster to be created.public int getNumberCells()
public void setNumberCells(int numberCells)
numberCells - Long, the number of cells by which to shrink each specified zone.public Object getZoneValues()
public void setZoneValues(Object zoneValues)
zoneValues - Long, list of zone values to shrink.public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||