|
|||||||||
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.ITOCControlProxy
public class ITOCControlProxy
Internal use class Proxy for COM Interface 'ITOCControl'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description: 'Provides access to members that control the TOCControl.' 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 | |
---|---|
|
ITOCControlProxy()
For internal use only |
|
ITOCControlProxy(java.lang.Object obj)
|
protected |
ITOCControlProxy(java.lang.Object obj,
java.lang.String iid)
|
|
ITOCControlProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
ITOCControlProxy(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 TOCControl. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
boolean |
esri_isEnabled()
Indicates whether the TOCControl can respond to user generated events. |
void |
esri_setEnabled(boolean enabled)
Indicates whether the TOCControl can respond to user generated events. |
IActiveView |
getActiveView()
The ActiveView used to populate the TOCControl. |
int |
getAppearance()
The appearance of the TOCControl. |
int |
getBorderStyle()
The border style of the TOCControl. |
java.lang.Object |
getBuddy()
The object whose ActiveView is used to populate the TOCControl. |
java.lang.Object |
getCustomProperty()
A property to associate data with a control. |
int |
getHWnd()
Handle to the window associated with the TOCControl. |
int |
getKeyIntercept()
A property that specifies interception of key strokes that are normally handled by the container. |
int |
getLabelEdit()
Label editing state. |
int |
getLayerVisibilityEdit()
Layer visibility editing state. |
Picture |
getMouseIcon()
Custom mouse icon used if MousePointer is 99. |
int |
getMousePointer()
The mouse pointer displayed over the TOCControl. |
java.lang.Object |
getObject()
A property that returns the underlying control. |
void |
hitTest(int x,
int y,
int[] itemType,
IBasicMap[] basicMap,
ILayer[] layer,
java.lang.Object[] unk,
java.lang.Object[] data)
Returns the item in the TOCControl at the specified coordinates. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
setActiveView(IActiveView activeView)
Sets the ActiveView used to populate the TOCControl. |
void |
setAppearance(int appearance)
The appearance of the TOCControl. |
void |
setBorderStyle(int borderStyle)
The border style of the TOCControl. |
void |
setBuddyControl(java.lang.Object pTOCBuddy)
Sets a control to be a buddy of the toolbar, this control must support ITOCBuddy. |
void |
setCustomProperty(java.lang.Object pVal)
A property to associate data with a control. |
void |
setKeyIntercept(int pVal)
A property that specifies interception of key strokes that are normally handled by the container. |
void |
setLabelEdit(int labelEdit)
Label editing state. |
void |
setLayerVisibilityEdit(int layerVisibilityEdit)
Layer visibility editing state. |
void |
setMouseIconByRef(Picture mouseIcon)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int mousePointer)
The mouse pointer displayed over the TOCControl. |
void |
update()
Updates the contents of the TOCControl to match its ActiveView. |
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 ITOCControlProxy(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 ITOCControlProxy()
public ITOCControlProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected ITOCControlProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected ITOCControlProxy(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 esri_setEnabled(boolean enabled) throws java.io.IOException, AutomationException
esri_setEnabled
in interface ITOCControl
enabled
- The enabled (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 ITOCControl
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 ITOCControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMousePointer(int mousePointer) throws java.io.IOException, AutomationException
setMousePointer
in interface ITOCControl
mousePointer
- 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 ITOCControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMouseIconByRef(Picture mouseIcon) throws java.io.IOException, AutomationException
setMouseIconByRef
in interface ITOCControl
mouseIcon
- 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 ITOCControl
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 ITOCControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAppearance(int appearance) throws java.io.IOException, AutomationException
setAppearance
in interface ITOCControl
appearance
- 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 void setBorderStyle(int borderStyle) throws java.io.IOException, AutomationException
setBorderStyle
in interface ITOCControl
borderStyle
- 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 ITOCControl
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 ITOCControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActiveView() throws java.io.IOException, AutomationException
getActiveView
in interface ITOCControl
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 ITOCControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hitTest(int x, int y, int[] itemType, IBasicMap[] basicMap, ILayer[] layer, java.lang.Object[] unk, java.lang.Object[] data) throws java.io.IOException, AutomationException
hitTest
in interface ITOCControl
x
- The x (in)y
- The y (in)itemType
- A com.esri.arcgis.controls.esriTOCControlItem constant (in/out: use single element array)basicMap
- A reference to a com.esri.arcgis.carto.IBasicMap (in/out: use single element array)layer
- A reference to a com.esri.arcgis.carto.ILayer (in/out: use single element array)unk
- A reference to another Object (IUnknown) (in/out: use single element array)data
- A Variant (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update() throws java.io.IOException, AutomationException
update
in interface ITOCControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActiveView(IActiveView activeView) throws java.io.IOException, AutomationException
setActiveView
in interface ITOCControl
activeView
- A reference to a com.esri.arcgis.carto.IActiveView (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLayerVisibilityEdit() throws java.io.IOException, AutomationException
getLayerVisibilityEdit
in interface ITOCControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerVisibilityEdit(int layerVisibilityEdit) throws java.io.IOException, AutomationException
setLayerVisibilityEdit
in interface ITOCControl
layerVisibilityEdit
- A com.esri.arcgis.controls.esriTOCControlEdit constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLabelEdit() throws java.io.IOException, AutomationException
getLabelEdit
in interface ITOCControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelEdit(int labelEdit) throws java.io.IOException, AutomationException
setLabelEdit
in interface ITOCControl
labelEdit
- A com.esri.arcgis.controls.esriTOCControlEdit constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCustomProperty() throws java.io.IOException, AutomationException
getCustomProperty
in interface ITOCControl
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 ITOCControl
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 pTOCBuddy) throws java.io.IOException, AutomationException
setBuddyControl
in interface ITOCControl
pTOCBuddy
- 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 java.lang.Object getObject() throws java.io.IOException, AutomationException
getObject
in interface ITOCControl
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 ITOCControl
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 ITOCControl
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 |