com.esri.arcgis.controls
Interface IToolbarControlDefault

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IToolbarControlDefaultProxy, ToolbarBean, ToolbarControl

public interface IToolbarControlDefault
extends java.io.Serializable

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

Description: 'Provides access to members that control 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
static java.lang.String DISPID__501_GET_NAME
           
static java.lang.String DISPID__501_PUT_NAME
           
static java.lang.String DISPID__504_GET_NAME
           
static java.lang.String DISPID__504_PUT_NAME
           
static java.lang.String DISPID__514_GET_NAME
           
static java.lang.String DISPID__514_PUT_NAME
           
static java.lang.String DISPID__515_GET_NAME
           
static java.lang.String DISPID__520_GET_NAME
           
static java.lang.String DISPID__520_PUT_NAME
           
static java.lang.String DISPID__521_GET_NAME
           
static java.lang.String DISPID__521_PUT_NAME
           
static java.lang.String DISPID__522_GET_NAME
           
static java.lang.String DISPID__522_PUTREF_NAME
           
static java.lang.String DISPID__552_NAME
           
static java.lang.String DISPID_1_NAME
           
static java.lang.String DISPID_10_GET_NAME
           
static java.lang.String DISPID_10_PUT_NAME
           
static java.lang.String DISPID_11_GET_NAME
           
static java.lang.String DISPID_11_PUT_NAME
           
static java.lang.String DISPID_12_NAME
           
static java.lang.String DISPID_13_GET_NAME
           
static java.lang.String DISPID_13_PUTREF_NAME
           
static java.lang.String DISPID_14_NAME
           
static java.lang.String DISPID_15_GET_NAME
           
static java.lang.String DISPID_15_PUT_NAME
           
static java.lang.String DISPID_16_GET_NAME
           
static java.lang.String DISPID_16_PUT_NAME
           
static java.lang.String DISPID_17_GET_NAME
           
static java.lang.String DISPID_17_PUT_NAME
           
static java.lang.String DISPID_18_NAME
           
static java.lang.String DISPID_19_NAME
           
static java.lang.String DISPID_2_NAME
           
static java.lang.String DISPID_20_NAME
           
static java.lang.String DISPID_21_GET_NAME
           
static java.lang.String DISPID_21_PUTREF_NAME
           
static java.lang.String DISPID_22_GET_NAME
           
static java.lang.String DISPID_22_PUT_NAME
           
static java.lang.String DISPID_23_NAME
           
static java.lang.String DISPID_24_GET_NAME
           
static java.lang.String DISPID_24_PUT_NAME
           
static java.lang.String DISPID_25_NAME
           
static java.lang.String DISPID_26_GET_NAME
           
static java.lang.String DISPID_27_GET_NAME
           
static java.lang.String DISPID_27_PUT_NAME
           
static java.lang.String DISPID_28_GET_NAME
           
static java.lang.String DISPID_28_PUT_NAME
           
static java.lang.String DISPID_29_GET_NAME
           
static java.lang.String DISPID_29_PUT_NAME
           
static java.lang.String DISPID_3_NAME
           
static java.lang.String DISPID_30_GET_NAME
           
static java.lang.String DISPID_30_PUT_NAME
           
static java.lang.String DISPID_31_GET_NAME
           
static java.lang.String DISPID_31_PUT_NAME
           
static java.lang.String DISPID_32_GET_NAME
           
static java.lang.String DISPID_32_PUT_NAME
           
static java.lang.String DISPID_33_GET_NAME
           
static java.lang.String DISPID_33_PUT_NAME
           
static java.lang.String DISPID_34_GET_NAME
           
static java.lang.String DISPID_34_PUT_NAME
           
static java.lang.String DISPID_35_GET_NAME
           
static java.lang.String DISPID_35_PUT_NAME
           
static java.lang.String DISPID_36_NAME
           
static java.lang.String DISPID_37_NAME
           
static java.lang.String DISPID_4_NAME
           
static java.lang.String DISPID_5_GET_NAME
           
static java.lang.String DISPID_6_NAME
           
static java.lang.String DISPID_7_GET_NAME
           
static java.lang.String DISPID_8_GET_NAME
           
static java.lang.String DISPID_8_PUTREF_NAME
           
static java.lang.String DISPID_9_GET_NAME
           
static java.lang.String DISPID_9_PUT_NAME
           
static java.lang.String IID
          Deprecated. Internal use only
static int IIDd959783f_b033_4a0c_966b_db90fe45bee5
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void aboutBox()
          Displays a dialog of information about the ToolbarControl.
 int addItem(java.lang.Object item, int subType, int index, boolean beginGroup, int groupSpacing, int style)
          Adds an item to the ToolbarControl.
 int addMenuItem(java.lang.Object menu, int index, boolean beginGroup, int groupSpacing)
          Adds a menu item to the ToolbarControl.
 int addToolbarDef(java.lang.Object toolbarDef, int startIndex, boolean group, int groupSpacing, int style)
          Appends the contents of the toolbar definition, specified by Guid or ToolbarDef, to the toolbar control.
 boolean esri_isEnabled()
          Indicates whether the ToolbarControl can respond to user generated events.
 void esri_setEnabled(boolean rhs1)
          Indicates whether the ToolbarControl can respond to user generated events.
 int find(java.lang.Object item)
          Returns the index of the first item containing the given command, menu or palette.
 int getAppearance()
          The appearance of the ToolbarControl.
 int getBackColor()
          Background color of the ToolbarControl.
 int getBorderStyle()
          The border style of the ToolbarControl.
 java.lang.Object getBuddy()
          The object that will have its current tool managed by the toolbar.
 ICommandPool getCommandPool()
          The command pool used by the ToolbarControl to manage command objects.
 int getCount()
          The number of items on the ToolbarControl.
 ITool getCurrentTool()
          The current tool of the buddy.
 java.lang.Object getCustomProperty()
          A property to associate data with a control.
 int getFadeColor()
          Background fade color of the ToolbarControl.
 int getFillDirection()
          The fill direction of the ToolbarControl background color.
 int getHWnd()
          Handle to the window associated with the ToolbarControl.
 int getIconSize()
          The size in pixels of icons displayed on the ToolbarControl.
 IToolbarItem getItem(int index)
          Returns the item at the specified index from the ToolbarControl.
 int getItemAppearance()
          The appearance of the items on the ToolbarControl.
 void getItemRect(int index, int[] top, int[] left, int[] bottom, int[] right)
          Returns the dimensions of the item at the specified index.
 int getKeyIntercept()
          A property that specifies interception of key strokes that are normally handled by the container.
 Picture getMouseIcon()
          Custom mouse icon used if MousePointer is 99.
 int getMousePointer()
          The mouse pointer displayed over the ToolbarControl.
 java.lang.Object getObject()
          A property that returns the underlying control.
 IOperationStack getOperationStack()
          The operation stack used for undo and redo functionality.
 int getOrientation()
          Indicates if the ToolbarControl is horizontally or vertically aligned.
 int getTextAlignment()
          The caption placement for all items on the ToolbarControl.
 int getUpdateInterval()
          The frequency in millisecs that update method is called on the ToolbarControl.
 int hitTest(int x, int y, boolean nearest)
          Returns the index of the item at the specified x and y coordinates.
 boolean isAlignLeft()
          Indicates if the ToolbarControl displays menu and palette items aligned to the left or right.
 boolean isCustomize()
          Indicates if the ToolbarControl is in customize mode.
 boolean isLargeIcons()
          Indicates if large icons are shown on all items on the ToolbarControl.
 boolean isMenuTracking()
          Indicates if menu tracking is enabled on the ToolbarControl.
 boolean isShowHiddenItems()
          Indicates if the ToolbarControl has a hidden items menu containing items currently not visible.
 boolean isThemedDrawing()
          Indicates if the ToolbarControl uses themed drawing.
 boolean isToolTips()
          Indicates if the items tooltips are shown.
 boolean isTransparent()
          Indicates if the ToolbarControl has a transparent background.
 void loadItems(IStream pStream)
          Loads items into the ToolbarControl from a previously saved stream.
 void moveItem(int startIndex, int finalIndex)
          Moves an item from one index to another.
 void remove(int index)
          Removes the item at the specified index from the ToolbarControl.
 void removeAll()
          Removes all items from the ToolbarControl.
 void saveItems(IStream pStream)
          Saves the ToolbarControl items into a stream.
 void setAlignLeft(boolean rhs1)
          Indicates if the ToolbarControl displays menu and palette items aligned to the left or right.
 void setAppearance(int rhs1)
          The appearance of the ToolbarControl.
 void setBackColor(int rhs1)
          Background color of the ToolbarControl.
 void setBorderStyle(int rhs1)
          The border style of the ToolbarControl.
 void setBuddyControl(java.lang.Object pToolbarBuddy)
          Sets a control to be a buddy of the toolbar, this control must support IToolbarBuddy.
 void setCommandPoolByRef(ICommandPool rhs1)
          The command pool used by the ToolbarControl to manage command objects.
 void setCurrentToolByRef(ITool rhs1)
          The current tool of the buddy.
 void setCustomize(boolean rhs1)
          Indicates if the ToolbarControl is in customize mode.
 void setCustomProperty(java.lang.Object rhs1)
          A property to associate data with a control.
 void setFadeColor(int rhs1)
          Background fade color of the ToolbarControl.
 void setFillDirection(int rhs1)
          The fill direction of the ToolbarControl background color.
 void setIconSize(int rhs1)
          The size in pixels of icons displayed on the ToolbarControl.
 void setItemAppearance(int rhs1)
          The appearance of the items on the ToolbarControl.
 void setKeyIntercept(int rhs1)
          A property that specifies interception of key strokes that are normally handled by the container.
 void setLargeIcons(boolean rhs1)
          Indicates if large icons are shown on all items on the ToolbarControl.
 void setMenuTracking(boolean rhs1)
          Indicates if menu tracking is enabled on the ToolbarControl.
 void setMouseIconByRef(Picture rhs1)
          Custom mouse icon used if MousePointer is 99.
 void setMousePointer(int rhs1)
          The mouse pointer displayed over the ToolbarControl.
 void setOperationStackByRef(IOperationStack rhs1)
          The operation stack used for undo and redo functionality.
 void setOrientation(int rhs1)
          Indicates if the ToolbarControl is horizontally or vertically aligned.
 void setShowHiddenItems(boolean rhs1)
          Indicates if the ToolbarControl has a hidden items menu containing items currently not visible.
 void setTextAlignment(int rhs1)
          The caption placement for all items on the ToolbarControl.
 void setThemedDrawing(boolean rhs1)
          Indicates if the ToolbarControl uses themed drawing.
 void setToolTips(boolean rhs1)
          Indicates if the items tooltips are shown.
 void setTransparent(boolean rhs1)
          Indicates if the ToolbarControl has a transparent background.
 void setUpdateInterval(int rhs1)
          The frequency in millisecs that update method is called on the ToolbarControl.
 void update(int index, boolean fullUpdate)
          Updates the enabled state of the specified item or all items if an index of -1 is specified.
 

Field Detail

IIDd959783f_b033_4a0c_966b_db90fe45bee5

static final int IIDd959783f_b033_4a0c_966b_db90fe45bee5
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

DISPID__504_PUT_NAME

static final java.lang.String DISPID__504_PUT_NAME
See Also:
Constant Field Values

DISPID__504_GET_NAME

static final java.lang.String DISPID__504_GET_NAME
See Also:
Constant Field Values

DISPID__514_PUT_NAME

static final java.lang.String DISPID__514_PUT_NAME
See Also:
Constant Field Values

DISPID__514_GET_NAME

static final java.lang.String DISPID__514_GET_NAME
See Also:
Constant Field Values

DISPID__520_PUT_NAME

static final java.lang.String DISPID__520_PUT_NAME
See Also:
Constant Field Values

DISPID__520_GET_NAME

static final java.lang.String DISPID__520_GET_NAME
See Also:
Constant Field Values

DISPID__521_PUT_NAME

static final java.lang.String DISPID__521_PUT_NAME
See Also:
Constant Field Values

DISPID__521_GET_NAME

static final java.lang.String DISPID__521_GET_NAME
See Also:
Constant Field Values

DISPID__522_PUTREF_NAME

static final java.lang.String DISPID__522_PUTREF_NAME
See Also:
Constant Field Values

DISPID__522_GET_NAME

static final java.lang.String DISPID__522_GET_NAME
See Also:
Constant Field Values

DISPID__515_GET_NAME

static final java.lang.String DISPID__515_GET_NAME
See Also:
Constant Field Values

DISPID__552_NAME

static final java.lang.String DISPID__552_NAME
See Also:
Constant Field Values

DISPID_1_NAME

static final java.lang.String DISPID_1_NAME
See Also:
Constant Field Values

DISPID_2_NAME

static final java.lang.String DISPID_2_NAME
See Also:
Constant Field Values

DISPID_3_NAME

static final java.lang.String DISPID_3_NAME
See Also:
Constant Field Values

DISPID_4_NAME

static final java.lang.String DISPID_4_NAME
See Also:
Constant Field Values

DISPID_5_GET_NAME

static final java.lang.String DISPID_5_GET_NAME
See Also:
Constant Field Values

DISPID_6_NAME

static final java.lang.String DISPID_6_NAME
See Also:
Constant Field Values

DISPID_7_GET_NAME

static final java.lang.String DISPID_7_GET_NAME
See Also:
Constant Field Values

DISPID_8_GET_NAME

static final java.lang.String DISPID_8_GET_NAME
See Also:
Constant Field Values

DISPID_8_PUTREF_NAME

static final java.lang.String DISPID_8_PUTREF_NAME
See Also:
Constant Field Values

DISPID_9_GET_NAME

static final java.lang.String DISPID_9_GET_NAME
See Also:
Constant Field Values

DISPID_9_PUT_NAME

static final java.lang.String DISPID_9_PUT_NAME
See Also:
Constant Field Values

DISPID_10_GET_NAME

static final java.lang.String DISPID_10_GET_NAME
See Also:
Constant Field Values

DISPID_10_PUT_NAME

static final java.lang.String DISPID_10_PUT_NAME
See Also:
Constant Field Values

DISPID_11_GET_NAME

static final java.lang.String DISPID_11_GET_NAME
See Also:
Constant Field Values

DISPID_11_PUT_NAME

static final java.lang.String DISPID_11_PUT_NAME
See Also:
Constant Field Values

DISPID_12_NAME

static final java.lang.String DISPID_12_NAME
See Also:
Constant Field Values

DISPID_13_GET_NAME

static final java.lang.String DISPID_13_GET_NAME
See Also:
Constant Field Values

DISPID_13_PUTREF_NAME

static final java.lang.String DISPID_13_PUTREF_NAME
See Also:
Constant Field Values

DISPID_14_NAME

static final java.lang.String DISPID_14_NAME
See Also:
Constant Field Values

DISPID_15_GET_NAME

static final java.lang.String DISPID_15_GET_NAME
See Also:
Constant Field Values

DISPID_15_PUT_NAME

static final java.lang.String DISPID_15_PUT_NAME
See Also:
Constant Field Values

DISPID_16_GET_NAME

static final java.lang.String DISPID_16_GET_NAME
See Also:
Constant Field Values

DISPID_16_PUT_NAME

static final java.lang.String DISPID_16_PUT_NAME
See Also:
Constant Field Values

DISPID_17_GET_NAME

static final java.lang.String DISPID_17_GET_NAME
See Also:
Constant Field Values

DISPID_17_PUT_NAME

static final java.lang.String DISPID_17_PUT_NAME
See Also:
Constant Field Values

DISPID_18_NAME

static final java.lang.String DISPID_18_NAME
See Also:
Constant Field Values

DISPID_19_NAME

static final java.lang.String DISPID_19_NAME
See Also:
Constant Field Values

DISPID_20_NAME

static final java.lang.String DISPID_20_NAME
See Also:
Constant Field Values

DISPID_21_GET_NAME

static final java.lang.String DISPID_21_GET_NAME
See Also:
Constant Field Values

DISPID_21_PUTREF_NAME

static final java.lang.String DISPID_21_PUTREF_NAME
See Also:
Constant Field Values

DISPID_22_GET_NAME

static final java.lang.String DISPID_22_GET_NAME
See Also:
Constant Field Values

DISPID_22_PUT_NAME

static final java.lang.String DISPID_22_PUT_NAME
See Also:
Constant Field Values

DISPID_23_NAME

static final java.lang.String DISPID_23_NAME
See Also:
Constant Field Values

DISPID_24_GET_NAME

static final java.lang.String DISPID_24_GET_NAME
See Also:
Constant Field Values

DISPID_24_PUT_NAME

static final java.lang.String DISPID_24_PUT_NAME
See Also:
Constant Field Values

DISPID_25_NAME

static final java.lang.String DISPID_25_NAME
See Also:
Constant Field Values

DISPID_26_GET_NAME

static final java.lang.String DISPID_26_GET_NAME
See Also:
Constant Field Values

DISPID_27_GET_NAME

static final java.lang.String DISPID_27_GET_NAME
See Also:
Constant Field Values

DISPID_27_PUT_NAME

static final java.lang.String DISPID_27_PUT_NAME
See Also:
Constant Field Values

DISPID__501_PUT_NAME

static final java.lang.String DISPID__501_PUT_NAME
See Also:
Constant Field Values

DISPID__501_GET_NAME

static final java.lang.String DISPID__501_GET_NAME
See Also:
Constant Field Values

DISPID_28_GET_NAME

static final java.lang.String DISPID_28_GET_NAME
See Also:
Constant Field Values

DISPID_28_PUT_NAME

static final java.lang.String DISPID_28_PUT_NAME
See Also:
Constant Field Values

DISPID_29_GET_NAME

static final java.lang.String DISPID_29_GET_NAME
See Also:
Constant Field Values

DISPID_29_PUT_NAME

static final java.lang.String DISPID_29_PUT_NAME
See Also:
Constant Field Values

DISPID_30_GET_NAME

static final java.lang.String DISPID_30_GET_NAME
See Also:
Constant Field Values

DISPID_30_PUT_NAME

static final java.lang.String DISPID_30_PUT_NAME
See Also:
Constant Field Values

DISPID_31_GET_NAME

static final java.lang.String DISPID_31_GET_NAME
See Also:
Constant Field Values

DISPID_31_PUT_NAME

static final java.lang.String DISPID_31_PUT_NAME
See Also:
Constant Field Values

DISPID_32_GET_NAME

static final java.lang.String DISPID_32_GET_NAME
See Also:
Constant Field Values

DISPID_32_PUT_NAME

static final java.lang.String DISPID_32_PUT_NAME
See Also:
Constant Field Values

DISPID_33_GET_NAME

static final java.lang.String DISPID_33_GET_NAME
See Also:
Constant Field Values

DISPID_33_PUT_NAME

static final java.lang.String DISPID_33_PUT_NAME
See Also:
Constant Field Values

DISPID_34_GET_NAME

static final java.lang.String DISPID_34_GET_NAME
See Also:
Constant Field Values

DISPID_34_PUT_NAME

static final java.lang.String DISPID_34_PUT_NAME
See Also:
Constant Field Values

DISPID_35_GET_NAME

static final java.lang.String DISPID_35_GET_NAME
See Also:
Constant Field Values

DISPID_35_PUT_NAME

static final java.lang.String DISPID_35_PUT_NAME
See Also:
Constant Field Values

DISPID_36_NAME

static final java.lang.String DISPID_36_NAME
See Also:
Constant Field Values

DISPID_37_NAME

static final java.lang.String DISPID_37_NAME
See Also:
Constant Field Values
Method Detail

setBorderStyle

void setBorderStyle(int rhs1)
                    throws java.io.IOException,
                           AutomationException
The border style of the ToolbarControl.

Parameters:
rhs1 - A com.esri.arcgis.controls.esriControlsBorderStyle constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBorderStyle

int getBorderStyle()
                   throws java.io.IOException,
                          AutomationException
The border style of the ToolbarControl.

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

esri_setEnabled

void esri_setEnabled(boolean rhs1)
                     throws java.io.IOException,
                            AutomationException
Indicates whether the ToolbarControl can respond to user generated events.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_isEnabled

boolean esri_isEnabled()
                       throws java.io.IOException,
                              AutomationException
Indicates whether the ToolbarControl can respond to user generated events.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAppearance

void setAppearance(int rhs1)
                   throws java.io.IOException,
                          AutomationException
The appearance of the ToolbarControl.

Parameters:
rhs1 - A com.esri.arcgis.controls.esriControlsAppearance constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAppearance

int getAppearance()
                  throws java.io.IOException,
                         AutomationException
The appearance of the ToolbarControl.

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

setMousePointer

void setMousePointer(int rhs1)
                     throws java.io.IOException,
                            AutomationException
The mouse pointer displayed over the ToolbarControl.

Parameters:
rhs1 - A com.esri.arcgis.controls.esriControlsMousePointer constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMousePointer

int getMousePointer()
                    throws java.io.IOException,
                           AutomationException
The mouse pointer displayed over the ToolbarControl.

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

setMouseIconByRef

void setMouseIconByRef(Picture rhs1)
                       throws java.io.IOException,
                              AutomationException
Custom mouse icon used if MousePointer is 99.

Parameters:
rhs1 - A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMouseIcon

Picture getMouseIcon()
                     throws java.io.IOException,
                            AutomationException
Custom mouse icon used if MousePointer is 99.

Returns:
A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHWnd

int getHWnd()
            throws java.io.IOException,
                   AutomationException
Handle to the window associated with the ToolbarControl.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

aboutBox

void aboutBox()
              throws java.io.IOException,
                     AutomationException
Displays a dialog of information about the ToolbarControl.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addItem

int addItem(java.lang.Object item,
            int subType,
            int index,
            boolean beginGroup,
            int groupSpacing,
            int style)
            throws java.io.IOException,
                   AutomationException
Adds an item to the ToolbarControl.

Parameters:
item - A Variant (in)
subType - The subType (in, optional, pass 0 if not required)
index - The index (in, optional, pass -1 if not required)
beginGroup - The beginGroup (in, optional, pass false if not required)
groupSpacing - The groupSpacing (in, optional, pass 0 if not required)
style - A com.esri.arcgis.systemUI.esriCommandStyles constant (in, optional, pass 1 if not required)
Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes the item at the specified index from the ToolbarControl.

Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws java.io.IOException,
                      AutomationException
Removes all items from the ToolbarControl.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItem

IToolbarItem getItem(int index)
                     throws java.io.IOException,
                            AutomationException
Returns the item at the specified index from the ToolbarControl.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.controls.IToolbarItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The number of items on the ToolbarControl.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

void update(int index,
            boolean fullUpdate)
            throws java.io.IOException,
                   AutomationException
Updates the enabled state of the specified item or all items if an index of -1 is specified. Specify fullUpdate to update the group, group spacing, style and bitmap properties.

Parameters:
index - The index (in, optional, pass -1 if not required)
fullUpdate - The fullUpdate (in, optional, pass false if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBuddy

java.lang.Object getBuddy()
                          throws java.io.IOException,
                                 AutomationException
The object that will have its current tool managed by the toolbar.

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

getCurrentTool

ITool getCurrentTool()
                     throws java.io.IOException,
                            AutomationException
The current tool of the buddy.

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

setCurrentToolByRef

void setCurrentToolByRef(ITool rhs1)
                         throws java.io.IOException,
                                AutomationException
The current tool of the buddy.

Parameters:
rhs1 - A reference to a com.esri.arcgis.systemUI.ITool (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isToolTips

boolean isToolTips()
                   throws java.io.IOException,
                          AutomationException
Indicates if the items tooltips are shown.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToolTips

void setToolTips(boolean rhs1)
                 throws java.io.IOException,
                        AutomationException
Indicates if the items tooltips are shown.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemAppearance

int getItemAppearance()
                      throws java.io.IOException,
                             AutomationException
The appearance of the items on the ToolbarControl.

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

setItemAppearance

void setItemAppearance(int rhs1)
                       throws java.io.IOException,
                              AutomationException
The appearance of the items on the ToolbarControl.

Parameters:
rhs1 - A com.esri.arcgis.controls.esriControlsAppearance constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpdateInterval

int getUpdateInterval()
                      throws java.io.IOException,
                             AutomationException
The frequency in millisecs that update method is called on the ToolbarControl.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUpdateInterval

void setUpdateInterval(int rhs1)
                       throws java.io.IOException,
                              AutomationException
The frequency in millisecs that update method is called on the ToolbarControl.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

int find(java.lang.Object item)
         throws java.io.IOException,
                AutomationException
Returns the index of the first item containing the given command, menu or palette. Returns -1 if the command is not found.

Parameters:
item - A Variant (in)
Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCommandPool

ICommandPool getCommandPool()
                            throws java.io.IOException,
                                   AutomationException
The command pool used by the ToolbarControl to manage command objects. The command pool object maybe shared with other ToolbarControls and ToolbarMenus.

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

setCommandPoolByRef

void setCommandPoolByRef(ICommandPool rhs1)
                         throws java.io.IOException,
                                AutomationException
The command pool used by the ToolbarControl to manage command objects. The command pool object maybe shared with other ToolbarControls and ToolbarMenus.

Parameters:
rhs1 - A reference to a com.esri.arcgis.controls.ICommandPool (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addToolbarDef

int addToolbarDef(java.lang.Object toolbarDef,
                  int startIndex,
                  boolean group,
                  int groupSpacing,
                  int style)
                  throws java.io.IOException,
                         AutomationException
Appends the contents of the toolbar definition, specified by Guid or ToolbarDef, to the toolbar control.

Parameters:
toolbarDef - A Variant (in)
startIndex - The startIndex (in, optional, pass -1 if not required)
group - The group (in, optional, pass false if not required)
groupSpacing - The groupSpacing (in, optional, pass 4 if not required)
style - A com.esri.arcgis.systemUI.esriCommandStyles constant (in, optional, pass 1 if not required)
Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextAlignment

int getTextAlignment()
                     throws java.io.IOException,
                            AutomationException
The caption placement for all items on the ToolbarControl.

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

setTextAlignment

void setTextAlignment(int rhs1)
                      throws java.io.IOException,
                             AutomationException
The caption placement for all items on the ToolbarControl.

Parameters:
rhs1 - A com.esri.arcgis.controls.esriToolbarTextAlignment constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLargeIcons

boolean isLargeIcons()
                     throws java.io.IOException,
                            AutomationException
Indicates if large icons are shown on all items on the ToolbarControl.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLargeIcons

void setLargeIcons(boolean rhs1)
                   throws java.io.IOException,
                          AutomationException
Indicates if large icons are shown on all items on the ToolbarControl.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCustomize

boolean isCustomize()
                    throws java.io.IOException,
                           AutomationException
Indicates if the ToolbarControl is in customize mode.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomize

void setCustomize(boolean rhs1)
                  throws java.io.IOException,
                         AutomationException
Indicates if the ToolbarControl is in customize mode.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveItem

void moveItem(int startIndex,
              int finalIndex)
              throws java.io.IOException,
                     AutomationException
Moves an item from one index to another.

Parameters:
startIndex - The startIndex (in)
finalIndex - The finalIndex (in, optional, pass -1 if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hitTest

int hitTest(int x,
            int y,
            boolean nearest)
            throws java.io.IOException,
                   AutomationException
Returns the index of the item at the specified x and y coordinates.

Parameters:
x - The x (in)
y - The y (in)
nearest - The nearest (in, optional, pass false if not required)
Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemRect

void getItemRect(int index,
                 int[] top,
                 int[] left,
                 int[] bottom,
                 int[] right)
                 throws java.io.IOException,
                        AutomationException
Returns the dimensions of the item at the specified index.

Parameters:
index - The index (in)
top - The top (in/out: use single element array)
left - The left (in/out: use single element array)
bottom - The bottom (in/out: use single element array)
right - The right (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOperationStack

IOperationStack getOperationStack()
                                  throws java.io.IOException,
                                         AutomationException
The operation stack used for undo and redo functionality. If present commands can use it to store operations.

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

setOperationStackByRef

void setOperationStackByRef(IOperationStack rhs1)
                            throws java.io.IOException,
                                   AutomationException
The operation stack used for undo and redo functionality. If present commands can use it to store operations.

Parameters:
rhs1 - A reference to a com.esri.arcgis.systemUI.IOperationStack (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCustomProperty

java.lang.Object getCustomProperty()
                                   throws java.io.IOException,
                                          AutomationException
A property to associate data with a control.

Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomProperty

void setCustomProperty(java.lang.Object rhs1)
                       throws java.io.IOException,
                              AutomationException
A property to associate data with a control.

Parameters:
rhs1 - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBuddyControl

void setBuddyControl(java.lang.Object pToolbarBuddy)
                     throws java.io.IOException,
                            AutomationException
Sets a control to be a buddy of the toolbar, this control must support IToolbarBuddy.

Parameters:
pToolbarBuddy - A reference to another Automation Object (IDispatch) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMenuTracking

boolean isMenuTracking()
                       throws java.io.IOException,
                              AutomationException
Indicates if menu tracking is enabled on the ToolbarControl.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMenuTracking

void setMenuTracking(boolean rhs1)
                     throws java.io.IOException,
                            AutomationException
Indicates if menu tracking is enabled on the ToolbarControl.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMenuItem

int addMenuItem(java.lang.Object menu,
                int index,
                boolean beginGroup,
                int groupSpacing)
                throws java.io.IOException,
                       AutomationException
Adds a menu item to the ToolbarControl.

Parameters:
menu - A Variant (in)
index - The index (in, optional, pass -1 if not required)
beginGroup - The beginGroup (in, optional, pass false if not required)
groupSpacing - The groupSpacing (in, optional, pass 4 if not required)
Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObject

java.lang.Object getObject()
                           throws java.io.IOException,
                                  AutomationException
A property that returns the underlying control. This can be used when the control is inside a wrapper object that has been added by a development environment.

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

getKeyIntercept

int getKeyIntercept()
                    throws java.io.IOException,
                           AutomationException
A property that specifies interception of key strokes that are normally handled by the container. When intercepted the OnKeyDown and OnKeyUp events will be called. This value can be a combined bit mask of esriKeyIntercept enum values.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setKeyIntercept

void setKeyIntercept(int rhs1)
                     throws java.io.IOException,
                            AutomationException
A property that specifies interception of key strokes that are normally handled by the container. When intercepted the OnKeyDown and OnKeyUp events will be called. This value can be a combined bit mask of esriKeyIntercept enum values.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBackColor

void setBackColor(int rhs1)
                  throws java.io.IOException,
                         AutomationException
Background color of the ToolbarControl.

Parameters:
rhs1 - The rhs1 (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBackColor

int getBackColor()
                 throws java.io.IOException,
                        AutomationException
Background color of the ToolbarControl.

Returns:
The returnValue (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrientation

int getOrientation()
                   throws java.io.IOException,
                          AutomationException
Indicates if the ToolbarControl is horizontally or vertically aligned.

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

setOrientation

void setOrientation(int rhs1)
                    throws java.io.IOException,
                           AutomationException
Indicates if the ToolbarControl is horizontally or vertically aligned.

Parameters:
rhs1 - A com.esri.arcgis.controls.esriToolbarOrientation constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isThemedDrawing

boolean isThemedDrawing()
                        throws java.io.IOException,
                               AutomationException
Indicates if the ToolbarControl uses themed drawing.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setThemedDrawing

void setThemedDrawing(boolean rhs1)
                      throws java.io.IOException,
                             AutomationException
Indicates if the ToolbarControl uses themed drawing.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFadeColor

int getFadeColor()
                 throws java.io.IOException,
                        AutomationException
Background fade color of the ToolbarControl.

Returns:
The returnValue (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFadeColor

void setFadeColor(int rhs1)
                  throws java.io.IOException,
                         AutomationException
Background fade color of the ToolbarControl.

Parameters:
rhs1 - The rhs1 (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFillDirection

int getFillDirection()
                     throws java.io.IOException,
                            AutomationException
The fill direction of the ToolbarControl background color.

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

setFillDirection

void setFillDirection(int rhs1)
                      throws java.io.IOException,
                             AutomationException
The fill direction of the ToolbarControl background color.

Parameters:
rhs1 - A com.esri.arcgis.controls.esriToolbarFillDirection constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTransparent

boolean isTransparent()
                      throws java.io.IOException,
                             AutomationException
Indicates if the ToolbarControl has a transparent background.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransparent

void setTransparent(boolean rhs1)
                    throws java.io.IOException,
                           AutomationException
Indicates if the ToolbarControl has a transparent background.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowHiddenItems

boolean isShowHiddenItems()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the ToolbarControl has a hidden items menu containing items currently not visible.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShowHiddenItems

void setShowHiddenItems(boolean rhs1)
                        throws java.io.IOException,
                               AutomationException
Indicates if the ToolbarControl has a hidden items menu containing items currently not visible.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIconSize

int getIconSize()
                throws java.io.IOException,
                       AutomationException
The size in pixels of icons displayed on the ToolbarControl.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIconSize

void setIconSize(int rhs1)
                 throws java.io.IOException,
                        AutomationException
The size in pixels of icons displayed on the ToolbarControl.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAlignLeft

boolean isAlignLeft()
                    throws java.io.IOException,
                           AutomationException
Indicates if the ToolbarControl displays menu and palette items aligned to the left or right.

Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAlignLeft

void setAlignLeft(boolean rhs1)
                  throws java.io.IOException,
                         AutomationException
Indicates if the ToolbarControl displays menu and palette items aligned to the left or right.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadItems

void loadItems(IStream pStream)
               throws java.io.IOException,
                      AutomationException
Loads items into the ToolbarControl from a previously saved stream.

Parameters:
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveItems

void saveItems(IStream pStream)
               throws java.io.IOException,
                      AutomationException
Saves the ToolbarControl items into a stream.

Parameters:
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.