|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that define a subtyped command.
The ICommandSubType interface is used when you want to have more than one command in a single class. You would implement both ICommand and ICommandSubType in your class. With the ICommandSubType interface you would specify how many subtypes there are. Then, within the implementation each ICommand property you would set the property for each subtype instead of implementing the ICommand interface multiple times.
ICommand| Method Summary | |
int |
getCount()
The number of commands defined with this CLSID. |
void |
setSubType(int subType)
The subtype of the command. |
| Method Detail |
public void setSubType(int subType)
throws java.io.IOException,
AutomationException
subType - The subType (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws java.io.IOException,
AutomationException
Decide how many Command objects you will be providing in the class, and return this value from GetCount.
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||