|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.framework.ICommandItemProxy
public class ICommandItemProxy
Internal use class Proxy for COM Interface 'ICommandItem'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriFramework.olb'
Description: 'Provides access to members that define a command item.' 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 | |
---|---|
boolean |
noncastable
|
static java.lang.Class |
targetClass
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.framework.ICommandItem |
---|
IID, IID423b7723_b858_11d1_947b_080009eebecb |
Constructor Summary | |
---|---|
|
ICommandItemProxy()
For internal use only |
|
ICommandItemProxy(java.lang.Object obj)
|
protected |
ICommandItemProxy(java.lang.Object obj,
java.lang.String iid)
|
|
ICommandItemProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
ICommandItemProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
void |
delete()
Removes this object from the commandbar. |
void |
execute()
Causes the command to execute. |
java.lang.String |
getAction()
The name of the VBA macro this command should run when pressed. |
java.lang.String |
getCaption()
The caption of this command item. |
java.lang.String |
getCategory()
The name of the category with which this command item is associated. |
ICommand |
getCommand()
A reference to the internal command object. |
java.lang.Object |
getFaceID()
The bitmap that is used as the icon on this command item. |
int |
getHelpContextID()
The help context ID associated with this command item. |
java.lang.String |
getHelpFile()
The help file associated with this command item. |
IUID |
getID()
The unique integer ID associated with this command item. |
int |
getIndex()
The positional index of this command item within its menu or toolbar. |
java.lang.String |
getMessage()
The status bar message for this command item. |
java.lang.String |
getName()
The name of this command item. |
ICommandBar |
getParent()
The menu or toolbar that this command item currently resides on. |
int |
getStyle()
The display style of this command item. |
java.lang.String |
getTag()
The tag for this command item. |
java.lang.String |
getTooltip()
The tooltip for this command item. |
int |
getType()
The type of this command item. |
boolean |
isBuiltIn()
Indicates whether this command item is built-in or if it was implemented through VBA. |
boolean |
isGroup()
Indicates if this command item begins a menu or toolbar group. |
void |
refresh()
Causes the command to be redrawn. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
reset()
Restores this command item's properties to that of the original. |
void |
setAction(java.lang.String macro)
The name of the VBA macro this command should run when pressed. |
void |
setCaption(java.lang.String name)
The caption of this command item. |
void |
setFaceID(java.lang.Object faceID)
The bitmap that is used as the icon on this command item. |
void |
setGroup(boolean group)
Indicates if this command item begins a menu or toolbar group. |
void |
setHelpContextID(int contextID)
The help context ID associated with this command item. |
void |
setHelpFile(java.lang.String helpFile)
The help file associated with this command item. |
void |
setMessage(java.lang.String message)
The status bar message for this command item. |
void |
setName(java.lang.String name)
The name of this command item. |
void |
setStyle(int style)
The display style of this command item. |
void |
setTag(java.lang.String tag)
The tag for this command item. |
void |
setTooltip(java.lang.String tooltip)
The tooltip for this command item. |
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 static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public ICommandItemProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public ICommandItemProxy()
public ICommandItemProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected ICommandItemProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected ICommandItemProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public java.lang.String getAction() throws java.io.IOException, AutomationException
getAction
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAction(java.lang.String macro) throws java.io.IOException, AutomationException
setAction
in interface ICommandItem
macro
- The macro (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isBuiltIn() throws java.io.IOException, AutomationException
isBuiltIn
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCategory() throws java.io.IOException, AutomationException
getCategory
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICommand getCommand() throws java.io.IOException, AutomationException
getCommand
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete() throws java.io.IOException, AutomationException
delete
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFaceID(java.lang.Object faceID) throws java.io.IOException, AutomationException
setFaceID
in interface ICommandItem
faceID
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getFaceID() throws java.io.IOException, AutomationException
getFaceID
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGroup(boolean group) throws java.io.IOException, AutomationException
setGroup
in interface ICommandItem
group
- The group (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isGroup() throws java.io.IOException, AutomationException
isGroup
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getHelpFile() throws java.io.IOException, AutomationException
getHelpFile
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHelpFile(java.lang.String helpFile) throws java.io.IOException, AutomationException
setHelpFile
in interface ICommandItem
helpFile
- The helpFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHelpContextID() throws java.io.IOException, AutomationException
getHelpContextID
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHelpContextID(int contextID) throws java.io.IOException, AutomationException
setHelpContextID
in interface ICommandItem
contextID
- The contextID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getID() throws java.io.IOException, AutomationException
getID
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIndex() throws java.io.IOException, AutomationException
getIndex
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface ICommandItem
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCaption(java.lang.String name) throws java.io.IOException, AutomationException
setCaption
in interface ICommandItem
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCaption() throws java.io.IOException, AutomationException
getCaption
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICommandBar getParent() throws java.io.IOException, AutomationException
getParent
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStyle() throws java.io.IOException, AutomationException
getStyle
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStyle(int style) throws java.io.IOException, AutomationException
setStyle
in interface ICommandItem
style
- A com.esri.arcgis.systemUI.esriCommandStyles constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTag() throws java.io.IOException, AutomationException
getTag
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTag(java.lang.String tag) throws java.io.IOException, AutomationException
setTag
in interface ICommandItem
tag
- The tag (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTooltip() throws java.io.IOException, AutomationException
getTooltip
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTooltip(java.lang.String tooltip) throws java.io.IOException, AutomationException
setTooltip
in interface ICommandItem
tooltip
- The tooltip (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getType() throws java.io.IOException, AutomationException
getType
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMessage() throws java.io.IOException, AutomationException
getMessage
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMessage(java.lang.String message) throws java.io.IOException, AutomationException
setMessage
in interface ICommandItem
message
- The message (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void execute() throws java.io.IOException, AutomationException
execute
in interface ICommandItem
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws java.io.IOException, AutomationException
refresh
in interface ICommandItem
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 |