|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.coveragetools.AddItem
public class AddItem
Adds a new blank or zero item to a new or existing INFO table. The Add Item tool is contained in the Coverage Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
AddItem()
Creates the Add Item tool with defaults. |
|
AddItem(Object inInfoTable,
Object outInfoTable,
String itemName,
int itemWidth,
int outputWidth,
String itemType)
Creates the Add Item tool with the required parameters. |
Method Summary | |
---|---|
int |
getDecimalPlaces()
Returns the Decimal Places parameter of this tool . |
Object |
getInInfoTable()
Returns the Input Info Table parameter of this tool . |
String |
getItemName()
Returns the Item Name parameter of this tool . |
String |
getItemType()
Returns the Item Type parameter of this tool . |
int |
getItemWidth()
Returns the Item Width parameter of this tool . |
Object |
getOutInfoTable()
Returns the Output Info Table parameter of this tool . |
int |
getOutputWidth()
Returns the Output Width parameter of this tool . |
Object |
getStartItem()
Returns the Start Item 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. |
void |
setDecimalPlaces(int decimalPlaces)
Sets the Decimal Places parameter of this tool . |
void |
setInInfoTable(Object inInfoTable)
Sets the Input Info Table parameter of this tool . |
void |
setItemName(String itemName)
Sets the Item Name parameter of this tool . |
void |
setItemType(String itemType)
Sets the Item Type parameter of this tool . |
void |
setItemWidth(int itemWidth)
Sets the Item Width parameter of this tool . |
void |
setOutInfoTable(Object outInfoTable)
Sets the Output Info Table parameter of this tool . |
void |
setOutputWidth(int outputWidth)
Sets the Output Width parameter of this tool . |
void |
setStartItem(Object startItem)
Sets the Start Item 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 AddItem()
Initializes the array of tool parameters with the default values specified when the tool was created.
public AddItem(Object inInfoTable, Object outInfoTable, String itemName, int itemWidth, int outputWidth, String itemType)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inInfoTable
- the INFO table to which the item is to be added.outInfoTable
- the INFO table to be created.itemName
- the new item to be added to the INFO table.itemWidth
- the INFO width of the added item. Supported widths:outputWidth
- the output width of the added item. This is the number of characters used to display an item value. for example, in a 2-byte integer (item type BINARY), values can be as high as 32767, which requires five characters for display. Dates can be displayed using eight (mm/dd/yy) or ten (mm/dd/yyyy) characters. For international date displays, months and days can be switched (for example, dd/mm/yy).itemType
- the INFO item type of the added item.Method Detail |
---|
public Object getInInfoTable()
public void setInInfoTable(Object inInfoTable)
inInfoTable
- the INFO table to which the item is to be added.public Object getOutInfoTable()
public void setOutInfoTable(Object outInfoTable)
outInfoTable
- the INFO table to be created.public String getItemName()
public void setItemName(String itemName)
itemName
- the new item to be added to the INFO table.public int getItemWidth()
public void setItemWidth(int itemWidth)
itemWidth
- the INFO width of the added item. Supported widths:public int getOutputWidth()
public void setOutputWidth(int outputWidth)
outputWidth
- the output width of the added item. This is the number of characters used to display an item value. for example, in a 2-byte integer (item type BINARY), values can be as high as 32767, which requires five characters for display. Dates can be displayed using eight (mm/dd/yy) or ten (mm/dd/yyyy) characters. For international date displays, months and days can be switched (for example, dd/mm/yy).public String getItemType()
public void setItemType(String itemType)
itemType
- the INFO item type of the added item.public int getDecimalPlaces()
public void setDecimalPlaces(int decimalPlaces)
decimalPlaces
- the number of decimal places for the added item. This needs to be specified for INFO item types NUMERIC and FLOATING.public Object getStartItem()
public void setStartItem(Object startItem)
startItem
- the item in the in_info_table after which the new item is to be added. The default start_item is the last item in the in_info_table.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 |