|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.controls.IARCommandInfoProxy
public class IARCommandInfoProxy
Provides access to members that control the ARCommandInfo.
The IARCommandInfo interface is a starting point for getting properties about the built-in tools.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IARCommandInfoProxy()
|
|
IARCommandInfoProxy(Object obj)
|
protected |
IARCommandInfoProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getBitmap()
The bitmap used as an icon by the command. |
String |
getCaption()
The caption of the command. |
String |
getCategory()
The category the command is associated with. |
int |
getHelpContextID()
The help context ID associated with the command. |
String |
getHelpFile()
The name of the help file associated with the command. |
String |
getMessage()
The message of the command. |
String |
getName()
The name of the command. |
String |
getTooltip()
The tooltip of the command. |
boolean |
isChecked()
Indicates if the command is checked. |
boolean |
isEnabled()
Indicates if the command is enabled. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IARCommandInfoProxy()
public IARCommandInfoProxy(Object obj) throws IOException
IOException
protected IARCommandInfoProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public boolean isEnabled() throws IOException, AutomationException
Indicates the enabled state of the specified ARTool command. Check a tools enabled state before setting it as the IARControl::CurrentARTool.
isEnabled
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isChecked() throws IOException, AutomationException
Indicates the checked state of the specified ARTool command.
isChecked
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
Returns the Name of the specified ARTool command. By convention a command's name should include its Category name and Caption (<Category>_<Caption>).
getName
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCaption() throws IOException, AutomationException
Returns the Caption of the specified ARTool command.
getCaption
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTooltip() throws IOException, AutomationException
Returns the Tooltip of the specified ARTool command.
For example, use the Tooltip to set the label caption that appears when the mouse moves over an ARTool.
getTooltip
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMessage() throws IOException, AutomationException
Returns the Message of the specified ARTool command. For example, use the Message to set the text that appears in a status bar as the mouse moves over an ARTool.
For example, use the Message to set the text that appears in a status bar as the mouse moves over an ARTool.
getMessage
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHelpFile() throws IOException, AutomationException
Returns the HelpFile of the specified ARTool command. This is the name of the help file that contains the context sensitive help topic for the ARTool.
getHelpFile
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHelpContextID() throws IOException, AutomationException
Returns the HelpContextID of the specified ARTool command. This is used to specify the mapped numeric value of the topic ID of the context sensitive help topic for the ARTool.
getHelpContextID
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBitmap() throws IOException, AutomationException
Returns the Bitmap handle of the specified ARTool command.
getBitmap
in interface IARCommandInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
Returns the Category of the specified ARTool command.
getCategory
in interface IARCommandInfo
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 |