com.esri.arcgis.controls
Class IToolbarControl2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.controls.IToolbarControlProxy
          extended by com.esri.arcgis.controls.IToolbarControl2Proxy
All Implemented Interfaces:
IToolbarControl, IToolbarControl2, java.io.Externalizable, java.io.Serializable

public class IToolbarControl2Proxy
extends IToolbarControlProxy
implements IToolbarControl2, java.io.Serializable

Internal use class Proxy for COM Interface 'IToolbarControl2'. 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.controls.IToolbarControl2
DISPID__501_GET_NAME, DISPID__501_PUT_NAME, DISPID_28_GET_NAME, DISPID_28_PUT_NAME, DISPID_29_GET_NAME, DISPID_29_PUT_NAME, DISPID_30_GET_NAME, DISPID_30_PUT_NAME, DISPID_31_GET_NAME, DISPID_31_PUT_NAME, DISPID_32_GET_NAME, DISPID_32_PUT_NAME, DISPID_33_GET_NAME, DISPID_33_PUT_NAME, DISPID_34_GET_NAME, DISPID_34_PUT_NAME, DISPID_35_GET_NAME, DISPID_35_PUT_NAME, DISPID_36_NAME, DISPID_37_NAME, IID, IID397c5ed1_eb31_43ff_8345_835c92fd7074
 
Fields inherited from interface com.esri.arcgis.controls.IToolbarControl
DISPID__504_GET_NAME, DISPID__504_PUT_NAME, DISPID__514_GET_NAME, DISPID__514_PUT_NAME, DISPID__515_GET_NAME, DISPID__520_GET_NAME, DISPID__520_PUT_NAME, DISPID__521_GET_NAME, DISPID__521_PUT_NAME, DISPID__522_GET_NAME, DISPID__522_PUTREF_NAME, DISPID__552_NAME, DISPID_1_NAME, DISPID_10_GET_NAME, DISPID_10_PUT_NAME, DISPID_11_GET_NAME, DISPID_11_PUT_NAME, DISPID_12_NAME, DISPID_13_GET_NAME, DISPID_13_PUTREF_NAME, DISPID_14_NAME, DISPID_15_GET_NAME, DISPID_15_PUT_NAME, DISPID_16_GET_NAME, DISPID_16_PUT_NAME, DISPID_17_GET_NAME, DISPID_17_PUT_NAME, DISPID_18_NAME, DISPID_19_NAME, DISPID_2_NAME, DISPID_20_NAME, DISPID_21_GET_NAME, DISPID_21_PUTREF_NAME, DISPID_22_GET_NAME, DISPID_22_PUT_NAME, DISPID_23_NAME, DISPID_24_GET_NAME, DISPID_24_PUT_NAME, DISPID_25_NAME, DISPID_26_GET_NAME, DISPID_27_GET_NAME, DISPID_27_PUT_NAME, DISPID_3_NAME, DISPID_4_NAME, DISPID_5_GET_NAME, DISPID_6_NAME, DISPID_7_GET_NAME, DISPID_8_GET_NAME, DISPID_8_PUTREF_NAME, DISPID_9_GET_NAME, DISPID_9_PUT_NAME, IIDb7d4358d_3cbc_11d6_aa09_00104bb6fc1c
 
Constructor Summary
  IToolbarControl2Proxy()
          For internal use only
  IToolbarControl2Proxy(java.lang.Object obj)
           
protected IToolbarControl2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IToolbarControl2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IToolbarControl2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 int getBackColor()
          Background color of the ToolbarControl.
 int getFadeColor()
          Background fade color of the ToolbarControl.
 int getFillDirection()
          The fill direction of the ToolbarControl background color.
 int getIconSize()
          The size in pixels of icons displayed on the ToolbarControl.
 int getOrientation()
          Indicates if the ToolbarControl is horizontally or vertically aligned.
 boolean isAlignLeft()
          Indicates if the ToolbarControl displays menu and palette items aligned to the left or right.
 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 isTransparent()
          Indicates if the ToolbarControl has a transparent background.
 void loadItems(IStream pStream)
          Loads items into the ToolbarControl from a previously saved stream.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void saveItems(IStream pStream)
          Saves the ToolbarControl items into a stream.
 void setAlignLeft(boolean pVal)
          Indicates if the ToolbarControl displays menu and palette items aligned to the left or right.
 void setBackColor(int pclr)
          Background color of the ToolbarControl.
 void setFadeColor(int pVal)
          Background fade color of the ToolbarControl.
 void setFillDirection(int pVal)
          The fill direction of the ToolbarControl background color.
 void setIconSize(int pVal)
          The size in pixels of icons displayed on the ToolbarControl.
 void setOrientation(int pVal)
          Indicates if the ToolbarControl is horizontally or vertically aligned.
 void setShowHiddenItems(boolean pVal)
          Indicates if the ToolbarControl has a hidden items menu containing items currently not visible.
 void setThemedDrawing(boolean pVal)
          Indicates if the ToolbarControl uses themed drawing.
 void setTransparent(boolean pVal)
          Indicates if the ToolbarControl has a transparent background.
 
Methods inherited from class com.esri.arcgis.controls.IToolbarControlProxy
aboutBox, addItem, addMenuItem, addToolbarDef, esri_isEnabled, esri_setEnabled, find, getAppearance, getBorderStyle, getBuddy, getCommandPool, getCount, getCurrentTool, getCustomProperty, getHWnd, getItem, getItemAppearance, getItemRect, getKeyIntercept, getMouseIcon, getMousePointer, getObject, getOperationStack, getTextAlignment, getUpdateInterval, hitTest, isCustomize, isLargeIcons, isMenuTracking, isToolTips, moveItem, remove, removeAll, setAppearance, setBorderStyle, setBuddyControl, setCommandPoolByRef, setCurrentToolByRef, setCustomize, setCustomProperty, setItemAppearance, setKeyIntercept, setLargeIcons, setMenuTracking, setMouseIconByRef, setMousePointer, setOperationStackByRef, setTextAlignment, setToolTips, setUpdateInterval, update
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.controls.IToolbarControl
aboutBox, addItem, addMenuItem, addToolbarDef, esri_isEnabled, esri_setEnabled, find, getAppearance, getBorderStyle, getBuddy, getCommandPool, getCount, getCurrentTool, getCustomProperty, getHWnd, getItem, getItemAppearance, getItemRect, getKeyIntercept, getMouseIcon, getMousePointer, getObject, getOperationStack, getTextAlignment, getUpdateInterval, hitTest, isCustomize, isLargeIcons, isMenuTracking, isToolTips, moveItem, remove, removeAll, setAppearance, setBorderStyle, setBuddyControl, setCommandPoolByRef, setCurrentToolByRef, setCustomize, setCustomProperty, setItemAppearance, setKeyIntercept, setLargeIcons, setMenuTracking, setMouseIconByRef, setMousePointer, setOperationStackByRef, setTextAlignment, setToolTips, setUpdateInterval, update
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IToolbarControl2Proxy

public IToolbarControl2Proxy(java.lang.String CLSID,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.net.UnknownHostException,
                             java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IToolbarControl2Proxy

public IToolbarControl2Proxy()
For internal use only


IToolbarControl2Proxy

public IToolbarControl2Proxy(java.lang.Object obj)
                      throws java.io.IOException
Throws:
java.io.IOException

IToolbarControl2Proxy

protected IToolbarControl2Proxy(java.lang.Object obj,
                                java.lang.String iid)
                         throws java.io.IOException
Throws:
java.io.IOException

IToolbarControl2Proxy

protected IToolbarControl2Proxy(java.lang.String CLSID,
                                java.lang.String iid,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class IToolbarControlProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class IToolbarControlProxy
Throws:
java.io.IOException

setBackColor

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

Specified by:
setBackColor in interface IToolbarControl2
Parameters:
pclr - The pclr (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBackColor

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

Specified by:
getBackColor in interface IToolbarControl2
Returns:
The pclr (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrientation

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

Specified by:
getOrientation in interface IToolbarControl2
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

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

Specified by:
setOrientation in interface IToolbarControl2
Parameters:
pVal - 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

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

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

setThemedDrawing

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

Specified by:
setThemedDrawing in interface IToolbarControl2
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFadeColor

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

Specified by:
getFadeColor in interface IToolbarControl2
Returns:
The pVal (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFadeColor

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

Specified by:
setFadeColor in interface IToolbarControl2
Parameters:
pVal - The pVal (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFillDirection

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

Specified by:
getFillDirection in interface IToolbarControl2
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

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

Specified by:
setFillDirection in interface IToolbarControl2
Parameters:
pVal - 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

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

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

setTransparent

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

Specified by:
setTransparent in interface IToolbarControl2
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowHiddenItems

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

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

setShowHiddenItems

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

Specified by:
setShowHiddenItems in interface IToolbarControl2
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIconSize

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

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

setIconSize

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

Specified by:
setIconSize in interface IToolbarControl2
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAlignLeft

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

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

setAlignLeft

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

Specified by:
setAlignLeft in interface IToolbarControl2
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadItems

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

Specified by:
loadItems in interface IToolbarControl2
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

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

Specified by:
saveItems in interface IToolbarControl2
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.