com.esri.arcgis.controls
Interface IToolbarItem2

All Superinterfaces:
IToolbarItem, java.io.Serializable
All Known Implementing Classes:
IToolbarItem2Proxy, ToolbarItem

public interface IToolbarItem2
extends IToolbarItem, java.io.Serializable

COM Interface 'IToolbarItem2'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description: 'Provides access to members that control ToolbarControl items.' 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 java.lang.String IID
          Deprecated. Internal use only
static int IID728f73d0_7556_407c_ad67_028050693a56
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.controls.IToolbarItem
IIDd92bcf03_4308_11d6_aa0e_00104bb6fc1c
 
Method Summary
 java.lang.Object getItemObject()
          The Command, Tool, ToolControl, ToolbarMenu, ToolbarPalette or MultiItem used by the item.
 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 getType()
          The type of item
 
Methods inherited from interface com.esri.arcgis.controls.IToolbarItem
getCommand, getCustomProperty, getGroupSpacing, getMenu, getStyle, getUID, isGroup, setCustomProperty, setGroup, setGroupSpacing, setStyle
 

Field Detail

IID728f73d0_7556_407c_ad67_028050693a56

static final int IID728f73d0_7556_407c_ad67_028050693a56
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getPalette

IToolbarPalette getPalette()
                           throws java.io.IOException,
                                  AutomationException
If the item is a palette, this property is a ToolbarPalette object.

Returns:
A reference to a com.esri.arcgis.controls.IToolbarPalette
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMultiItem

IMultiItem getMultiItem()
                        throws java.io.IOException,
                               AutomationException
If the item is a multi-item, this property is a MultiItem object.

Returns:
A reference to a com.esri.arcgis.systemUI.IMultiItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

int getType()
            throws java.io.IOException,
                   AutomationException
The type of item

Returns:
A com.esri.arcgis.controls.esriToolbarItemType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemObject

java.lang.Object getItemObject()
                               throws java.io.IOException,
                                      AutomationException
The Command, Tool, ToolControl, ToolbarMenu, ToolbarPalette or MultiItem used by the item.

Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.