|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.controls.CommandPool
public class CommandPool
COM Class 'CommandPool'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'A collection of commands used by the ToolbarControl.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.controls.ICommandPool2 |
|---|
IID, IIDf8a444d1_6287_4dad_9303_618629c7b1f7, xxDummy |
| Fields inherited from interface com.esri.arcgis.controls.ICommandPool |
|---|
IID85490941_3a6a_47c4_8e42_7f6997534ddf |
| Fields inherited from interface com.esri.arcgis.controls.ICommandPoolEdit |
|---|
IID, IIDcbb44409_c9b4_400b_be35_446516674392, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Constructor Summary | |
|---|---|
CommandPool()
Constructs a CommandPool using ArcGIS Engine. |
|
CommandPool(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CommandPool theCommandPool = (CommandPool) obj; |
|
| Method Summary | |
|---|---|
void |
addCommand(ICommand command,
IUID pUID)
Adds the specified command to the command pool. |
IArray |
addUID(IUID uID)
Adds the given UID to the command pool and returns an array of command objects. |
void |
callOnCreate(ICommand pCommand)
Calls the specified command OnCreate method if the Hook is set and OnCreate has not already been called. |
boolean |
created(ICommand command)
Indicates if the commands OnCreate method has been called. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
boolean |
exists(ICommand command)
Indicates if the given command exists in the command pool. |
ICommand |
findByUID(IUID uID)
Searches the command pool for the given UID. |
static java.lang.String |
getClsid()
getClsid. |
ICommand |
getCommand(int index)
The command at the given index. |
int |
getCount()
The number of commands in the command pool. |
java.lang.Object |
getHook()
The object that is passed as a hook to the OnCreate method on the command. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IUID |
getUID(ICommand command)
The UID of the given command. |
int |
getUsageCount(ICommand command)
The number of items using the given command. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
release()
Release a CommandPool. |
void |
remove(ICommand command)
Decrements the usage count of the command. |
void |
removeAll()
Removes all commands from the command pool, regardless of each commands usage count. |
void |
setHook(java.lang.Object pHook)
Sets the object that is passed as a hook to the OnCreate method on the command. |
boolean |
translateAcceleratorKey(int keyCode)
Translates the specified keyCode, if a corresponding accelerator exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandPool()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public CommandPool(java.lang.Object obj)
throws java.io.IOException
CommandPool theCommandPool = (CommandPool) obj;
obj to CommandPool.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public int getCount()
throws java.io.IOException,
AutomationException
getCount in interface ICommandPooljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUsageCount(ICommand command)
throws java.io.IOException,
AutomationException
getUsageCount in interface ICommandPoolcommand - A reference to a com.esri.arcgis.systemUI.ICommand (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean exists(ICommand command)
throws java.io.IOException,
AutomationException
exists in interface ICommandPoolcommand - A reference to a com.esri.arcgis.systemUI.ICommand (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommand findByUID(IUID uID)
throws java.io.IOException,
AutomationException
findByUID in interface ICommandPooluID - A reference to a com.esri.arcgis.system.IUID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getUID(ICommand command)
throws java.io.IOException,
AutomationException
getUID in interface ICommandPoolcommand - A reference to a com.esri.arcgis.systemUI.ICommand (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommand getCommand(int index)
throws java.io.IOException,
AutomationException
getCommand in interface ICommandPoolindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean created(ICommand command)
throws java.io.IOException,
AutomationException
created in interface ICommandPoolcommand - A reference to a com.esri.arcgis.systemUI.ICommand (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean translateAcceleratorKey(int keyCode)
throws java.io.IOException,
AutomationException
translateAcceleratorKey in interface ICommandPool2keyCode - The keyCode (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addCommand(ICommand command,
IUID pUID)
throws java.io.IOException,
AutomationException
addCommand in interface ICommandPoolEditcommand - A reference to a com.esri.arcgis.systemUI.ICommand (in)pUID - A reference to a com.esri.arcgis.system.IUID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray addUID(IUID uID)
throws java.io.IOException,
AutomationException
addUID in interface ICommandPoolEdituID - A reference to a com.esri.arcgis.system.IUID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(ICommand command)
throws java.io.IOException,
AutomationException
remove in interface ICommandPoolEditcommand - A reference to a com.esri.arcgis.systemUI.ICommand (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAll()
throws java.io.IOException,
AutomationException
removeAll in interface ICommandPoolEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void callOnCreate(ICommand pCommand)
throws java.io.IOException,
AutomationException
callOnCreate in interface ICommandPoolEditpCommand - A reference to a com.esri.arcgis.systemUI.ICommand (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHook(java.lang.Object pHook)
throws java.io.IOException,
AutomationException
setHook in interface ICommandPoolEditpHook - A reference to another Automation Object (IDispatch) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getHook()
throws java.io.IOException,
AutomationException
getHook in interface ICommandPoolEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 | ||||||||