|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.controls.IToolbarControlProxy
public class IToolbarControlProxy
Internal use class Proxy for COM Interface 'IToolbarControl'. 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 | |
---|---|
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 |
Constructor Summary | |
---|---|
|
IToolbarControlProxy()
For internal use only |
|
IToolbarControlProxy(java.lang.Object obj)
|
protected |
IToolbarControlProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IToolbarControlProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IToolbarControlProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
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. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
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 pbool)
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 |
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 |
getHWnd()
Handle to the window associated with 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 |
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 |
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 |
isToolTips()
Indicates if the items tooltips are shown. |
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 |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
setAppearance(int pappearance)
The appearance of the ToolbarControl. |
void |
setBorderStyle(int pstyle)
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 pVal)
The command pool used by the ToolbarControl to manage command objects. |
void |
setCurrentToolByRef(ITool pVal)
The current tool of the buddy. |
void |
setCustomize(boolean pVal)
Indicates if the ToolbarControl is in customize mode. |
void |
setCustomProperty(java.lang.Object pVal)
A property to associate data with a control. |
void |
setItemAppearance(int pappearance)
The appearance of the items on the ToolbarControl. |
void |
setKeyIntercept(int pVal)
A property that specifies interception of key strokes that are normally handled by the container. |
void |
setLargeIcons(boolean pVal)
Indicates if large icons are shown on all items on the ToolbarControl. |
void |
setMenuTracking(boolean pVal)
Indicates if menu tracking is enabled on the ToolbarControl. |
void |
setMouseIconByRef(Picture ppMouseIcon)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int ppointer)
The mouse pointer displayed over the ToolbarControl. |
void |
setOperationStackByRef(IOperationStack operationStack)
The operation stack used for undo and redo functionality. |
void |
setTextAlignment(int pVal)
The caption placement for all items on the ToolbarControl. |
void |
setToolTips(boolean pVal)
Indicates if the items tooltips are shown. |
void |
setUpdateInterval(int pVal)
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. |
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 |
Field Detail |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IToolbarControlProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IToolbarControlProxy()
public IToolbarControlProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IToolbarControlProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IToolbarControlProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void setBorderStyle(int pstyle) throws java.io.IOException, AutomationException
setBorderStyle
in interface IToolbarControl
pstyle
- A com.esri.arcgis.controls.esriControlsBorderStyle constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBorderStyle() throws java.io.IOException, AutomationException
getBorderStyle
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_setEnabled(boolean pbool) throws java.io.IOException, AutomationException
esri_setEnabled
in interface IToolbarControl
pbool
- The pbool (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean esri_isEnabled() throws java.io.IOException, AutomationException
esri_isEnabled
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAppearance(int pappearance) throws java.io.IOException, AutomationException
setAppearance
in interface IToolbarControl
pappearance
- A com.esri.arcgis.controls.esriControlsAppearance constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAppearance() throws java.io.IOException, AutomationException
getAppearance
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMousePointer(int ppointer) throws java.io.IOException, AutomationException
setMousePointer
in interface IToolbarControl
ppointer
- A com.esri.arcgis.controls.esriControlsMousePointer constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMousePointer() throws java.io.IOException, AutomationException
getMousePointer
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMouseIconByRef(Picture ppMouseIcon) throws java.io.IOException, AutomationException
setMouseIconByRef
in interface IToolbarControl
ppMouseIcon
- A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Picture getMouseIcon() throws java.io.IOException, AutomationException
getMouseIcon
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws java.io.IOException, AutomationException
getHWnd
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void aboutBox() throws java.io.IOException, AutomationException
aboutBox
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addItem(java.lang.Object item, int subType, int index, boolean beginGroup, int groupSpacing, int style) throws java.io.IOException, AutomationException
addItem
in interface IToolbarControl
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws java.io.IOException, AutomationException
remove
in interface IToolbarControl
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws java.io.IOException, AutomationException
removeAll
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IToolbarItem getItem(int index) throws java.io.IOException, AutomationException
getItem
in interface IToolbarControl
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update(int index, boolean fullUpdate) throws java.io.IOException, AutomationException
update
in interface IToolbarControl
index
- The index (in, optional, pass -1 if not required)fullUpdate
- The fullUpdate (in, optional, pass false if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getBuddy() throws java.io.IOException, AutomationException
getBuddy
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITool getCurrentTool() throws java.io.IOException, AutomationException
getCurrentTool
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentToolByRef(ITool pVal) throws java.io.IOException, AutomationException
setCurrentToolByRef
in interface IToolbarControl
pVal
- A reference to a com.esri.arcgis.systemUI.ITool (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isToolTips() throws java.io.IOException, AutomationException
isToolTips
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToolTips(boolean pVal) throws java.io.IOException, AutomationException
setToolTips
in interface IToolbarControl
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getItemAppearance() throws java.io.IOException, AutomationException
getItemAppearance
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setItemAppearance(int pappearance) throws java.io.IOException, AutomationException
setItemAppearance
in interface IToolbarControl
pappearance
- A com.esri.arcgis.controls.esriControlsAppearance constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUpdateInterval() throws java.io.IOException, AutomationException
getUpdateInterval
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUpdateInterval(int pVal) throws java.io.IOException, AutomationException
setUpdateInterval
in interface IToolbarControl
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int find(java.lang.Object item) throws java.io.IOException, AutomationException
find
in interface IToolbarControl
item
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICommandPool getCommandPool() throws java.io.IOException, AutomationException
getCommandPool
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCommandPoolByRef(ICommandPool pVal) throws java.io.IOException, AutomationException
setCommandPoolByRef
in interface IToolbarControl
pVal
- A reference to a com.esri.arcgis.controls.ICommandPool (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addToolbarDef(java.lang.Object toolbarDef, int startIndex, boolean group, int groupSpacing, int style) throws java.io.IOException, AutomationException
addToolbarDef
in interface IToolbarControl
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTextAlignment() throws java.io.IOException, AutomationException
getTextAlignment
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextAlignment(int pVal) throws java.io.IOException, AutomationException
setTextAlignment
in interface IToolbarControl
pVal
- A com.esri.arcgis.controls.esriToolbarTextAlignment constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLargeIcons() throws java.io.IOException, AutomationException
isLargeIcons
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLargeIcons(boolean pVal) throws java.io.IOException, AutomationException
setLargeIcons
in interface IToolbarControl
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCustomize() throws java.io.IOException, AutomationException
isCustomize
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomize(boolean pVal) throws java.io.IOException, AutomationException
setCustomize
in interface IToolbarControl
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveItem(int startIndex, int finalIndex) throws java.io.IOException, AutomationException
moveItem
in interface IToolbarControl
startIndex
- The startIndex (in)finalIndex
- The finalIndex (in, optional, pass -1 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int hitTest(int x, int y, boolean nearest) throws java.io.IOException, AutomationException
hitTest
in interface IToolbarControl
x
- The x (in)y
- The y (in)nearest
- The nearest (in, optional, pass false if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getItemRect(int index, int[] top, int[] left, int[] bottom, int[] right) throws java.io.IOException, AutomationException
getItemRect
in interface IToolbarControl
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IOperationStack getOperationStack() throws java.io.IOException, AutomationException
getOperationStack
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOperationStackByRef(IOperationStack operationStack) throws java.io.IOException, AutomationException
setOperationStackByRef
in interface IToolbarControl
operationStack
- A reference to a com.esri.arcgis.systemUI.IOperationStack (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 IToolbarControl
java.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 IToolbarControl
pVal
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBuddyControl(java.lang.Object pToolbarBuddy) throws java.io.IOException, AutomationException
setBuddyControl
in interface IToolbarControl
pToolbarBuddy
- A reference to another Automation Object (IDispatch) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isMenuTracking() throws java.io.IOException, AutomationException
isMenuTracking
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMenuTracking(boolean pVal) throws java.io.IOException, AutomationException
setMenuTracking
in interface IToolbarControl
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addMenuItem(java.lang.Object menu, int index, boolean beginGroup, int groupSpacing) throws java.io.IOException, AutomationException
addMenuItem
in interface IToolbarControl
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getObject() throws java.io.IOException, AutomationException
getObject
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getKeyIntercept() throws java.io.IOException, AutomationException
getKeyIntercept
in interface IToolbarControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeyIntercept(int pVal) throws java.io.IOException, AutomationException
setKeyIntercept
in interface IToolbarControl
pVal
- The pVal (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 |