|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.controls.ToolbarItem
public class ToolbarItem
COM Class 'ToolbarItem'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'ToolbarItems 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.IToolbarItem2 |
|---|
IID, IID728f73d0_7556_407c_ad67_028050693a56, xxDummy |
| Fields inherited from interface com.esri.arcgis.controls.IToolbarItem |
|---|
IIDd92bcf03_4308_11d6_aa0e_00104bb6fc1c |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Constructor Summary | |
|---|---|
ToolbarItem(java.lang.Object obj)
Construct a ToolbarItem 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 |
ICommand |
getCommand()
The command used by the item. |
java.lang.Object |
getCustomProperty()
A property to associate data with an item. |
int |
getGroupSpacing()
The width of the group separator in pixels if present. |
java.lang.Object |
getItemObject()
The Command, Tool, ToolControl, ToolbarMenu, ToolbarPalette or MultiItem used by the item. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IToolbarMenu |
getMenu()
If the item is a menu, this property is a ToolbarMenu object. |
IMultiItem |
getMultiItem()
If the item is a multi-item, this property is a MultiItem object. |
IToolbarPalette |
getPalette()
If the item is a palette, this property is a ToolbarPalette object. |
int |
getStyle()
The style of the item. |
int |
getType()
The type of item |
IUID |
getUID()
The UID of the command used by the item, which may be empty. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isGroup()
Indicates if a group separator exists to the left of the item on the ToolbarControl. |
void |
release()
Release a ToolbarItem. |
void |
setCustomProperty(java.lang.Object pVal)
A property to associate data with an item. |
void |
setGroup(boolean pVal)
Indicates if a group separator exists to the left of the item on the ToolbarControl. |
void |
setGroupSpacing(int pVal)
The width of the group separator in pixels if present. |
void |
setStyle(int pVal)
The style of the item. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolbarItem(java.lang.Object obj)
throws java.io.IOException
obj to ToolbarItem. *
ToolbarItem o = (ToolbarItem)obj; // will not work
ToolbarItem o = new ToolbarItem(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
ToolbarItem theToolbarItem = (ToolbarItem) 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 ICommand getCommand()
throws java.io.IOException,
AutomationException
getCommand in interface IToolbarItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getUID()
throws java.io.IOException,
AutomationException
getUID in interface IToolbarItemjava.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 IToolbarItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGroup(boolean pVal)
throws java.io.IOException,
AutomationException
setGroup in interface IToolbarItempVal - The pVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getGroupSpacing()
throws java.io.IOException,
AutomationException
getGroupSpacing in interface IToolbarItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGroupSpacing(int pVal)
throws java.io.IOException,
AutomationException
setGroupSpacing in interface IToolbarItempVal - The pVal (in)
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 IToolbarItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStyle(int pVal)
throws java.io.IOException,
AutomationException
setStyle in interface IToolbarItempVal - 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.Object getCustomProperty()
throws java.io.IOException,
AutomationException
getCustomProperty in interface IToolbarItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(java.lang.Object pVal)
throws java.io.IOException,
AutomationException
setCustomProperty in interface IToolbarItempVal - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IToolbarMenu getMenu()
throws java.io.IOException,
AutomationException
getMenu in interface IToolbarItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IToolbarPalette getPalette()
throws java.io.IOException,
AutomationException
getPalette in interface IToolbarItem2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMultiItem getMultiItem()
throws java.io.IOException,
AutomationException
getMultiItem in interface IToolbarItem2java.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 IToolbarItem2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getItemObject()
throws java.io.IOException,
AutomationException
getItemObject in interface IToolbarItem2java.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 | ||||||||