com.esri.arcgis.controls
Class ARCommandInfo

java.lang.Object
  extended by com.esri.arcgis.controls.ARCommandInfo
All Implemented Interfaces:
IARCommandInfo, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ARCommandInfo
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IARCommandInfo

COM Class 'ARCommandInfo'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriPublisherControls.olb'

Description 'ARCommandInfo object.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.controls.IARCommandInfo
DISPID_1610743808_GET_NAME, DISPID_1610743809_GET_NAME, DISPID_1610743810_GET_NAME, DISPID_1610743811_GET_NAME, DISPID_1610743812_GET_NAME, DISPID_1610743813_GET_NAME, DISPID_1610743814_GET_NAME, DISPID_1610743815_GET_NAME, DISPID_1610743816_GET_NAME, DISPID_1610743817_GET_NAME, IID, IID92320009_383f_4fe1_b5b1_08d047eaeec3, xxDummy
 
Constructor Summary
ARCommandInfo(java.lang.Object obj)
          Construct a ARCommandInfo using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getBitmap()
          The bitmap used as an icon by the command.
 java.lang.String getCaption()
          The caption of the command.
 java.lang.String getCategory()
          The category the command is associated with.
 int getHelpContextID()
          The help context ID associated with the command.
 java.lang.String getHelpFile()
          The name of the help file associated with the command.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getMessage()
          The message of the command.
 java.lang.String getName()
          The name of the command.
 java.lang.String getTooltip()
          The tooltip of the command.
 int hashCode()
          the hashcode for this object
 boolean isChecked()
          Indicates if the command is checked.
 boolean isEnabled()
          Indicates if the command is enabled.
 void release()
          Release a ARCommandInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARCommandInfo

public ARCommandInfo(java.lang.Object obj)
              throws java.io.IOException
Construct a ARCommandInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ARCommandInfo.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ARCommandInfo o = (ARCommandInfo)obj; // will not work

ARCommandInfo o = new ARCommandInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems ARCommandInfo theARCommandInfo = (ARCommandInfo) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ARCommandInfo.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

isEnabled

public boolean isEnabled()
                  throws java.io.IOException,
                         AutomationException
Indicates if the command is enabled.

Specified by:
isEnabled in interface IARCommandInfo
Returns:
The enabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isChecked

public boolean isChecked()
                  throws java.io.IOException,
                         AutomationException
Indicates if the command is checked.

Specified by:
isChecked in interface IARCommandInfo
Returns:
The checked
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the command.

Specified by:
getName in interface IARCommandInfo
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCaption

public java.lang.String getCaption()
                            throws java.io.IOException,
                                   AutomationException
The caption of the command.

Specified by:
getCaption in interface IARCommandInfo
Returns:
The caption
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTooltip

public java.lang.String getTooltip()
                            throws java.io.IOException,
                                   AutomationException
The tooltip of the command.

Specified by:
getTooltip in interface IARCommandInfo
Returns:
The tooltip
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessage

public java.lang.String getMessage()
                            throws java.io.IOException,
                                   AutomationException
The message of the command.

Specified by:
getMessage in interface IARCommandInfo
Returns:
The message
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpFile

public java.lang.String getHelpFile()
                             throws java.io.IOException,
                                    AutomationException
The name of the help file associated with the command.

Specified by:
getHelpFile in interface IARCommandInfo
Returns:
The helpFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpContextID

public int getHelpContextID()
                     throws java.io.IOException,
                            AutomationException
The help context ID associated with the command.

Specified by:
getHelpContextID in interface IARCommandInfo
Returns:
The helpContextID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBitmap

public int getBitmap()
              throws java.io.IOException,
                     AutomationException
The bitmap used as an icon by the command.

Specified by:
getBitmap in interface IARCommandInfo
Returns:
The bitmap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category the command is associated with.

Specified by:
getCategory in interface IARCommandInfo
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.