|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.framework.CommandItem
public class CommandItem
COM Class 'CommandItem'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriFramework.olb'
Description '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 | |
|---|---|
static long |
serialVersionUID
|
| Fields inherited from interface com.esri.arcgis.framework.ICommandItem |
|---|
IID, IID423b7723_b858_11d1_947b_080009eebecb, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersistStream |
|---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersist |
|---|
IID0000010c_0000_0000_c000_000000000046 |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Constructor Summary | |
|---|---|
CommandItem(java.lang.Object obj)
Construct a CommandItem using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
delete()
Removes this object from the commandbar. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
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. |
void |
getClassID(GUID[] pClassID)
getClassID |
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
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. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isBuiltIn()
Indicates whether this command item is built-in or if it was implemented through VBA. |
void |
isDirty()
isDirty |
boolean |
isGroup()
Indicates if this command item begins a menu or toolbar group. |
void |
load(IStream pstm)
load |
void |
readExternal(java.io.ObjectInput in)
|
void |
refresh()
Causes the command to be redrawn. |
void |
release()
Release a CommandItem. |
void |
reset()
Restores this command item's properties to that of the original. |
void |
save(IStream pstm,
int fClearDirty)
save |
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. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public CommandItem(java.lang.Object obj)
throws java.io.IOException
obj to CommandItem. *
CommandItem o = (CommandItem)obj; // will not work
CommandItem o = new CommandItem(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
CommandItem theCommandItem = (CommandItem) obj;| Method Detail |
|---|
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 java.lang.String getAction()
throws java.io.IOException,
AutomationException
getAction in interface ICommandItemjava.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 ICommandItemmacro - 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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemfaceID - 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 ICommandItemjava.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 ICommandItemgroup - 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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemhelpFile - 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 ICommandItemjava.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 ICommandItemcontextID - 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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemname - 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 ICommandItemname - 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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemstyle - 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 ICommandItemjava.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 ICommandItemtag - 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 ICommandItemjava.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 ICommandItemtooltip - 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 ICommandItemjava.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 ICommandItemjava.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 ICommandItemmessage - 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 ICommandItemjava.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 ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.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.
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||