|
|||||||||
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.carto.IOleFrameProxy
public class IOleFrameProxy
Provides access to the members that control the Graphic Element that holds an OLE object.
While the interface IOleFrame is an ArcEngine level component, it is only implemented by OleFrame which is located in a non Engine library. Engine/Server applications will not be able to display the contents of the frame.
IOleFrame is the default interface for the OleFrame object. The main purpose of the interface is to give the developer access to the OLE object stored within the frame. The developer can use this interface to display properties of the object, edit the object, or open it.
com.esri.arcgis.carto.OleFrame
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IOleFrameProxy()
|
|
IOleFrameProxy(Object obj)
|
protected |
IOleFrameProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
createOleClientItem(int oleDocument)
Valid only in MFC environment. |
void |
edit()
Edit the object in-place. |
boolean |
editProperties()
Show the properties dialog for the object. |
void |
getOleClientItem()
Valid only in MFC environment. |
void |
hide()
Stop editing the object. |
void |
open()
Edit the object in a separate application window. |
void |
removeListener(String iidStr,
Object theListener)
|
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 boolean noncastable
Constructor Detail |
---|
public IOleFrameProxy()
public IOleFrameProxy(Object obj) throws IOException
IOException
protected IOleFrameProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void getOleClientItem() throws IOException, AutomationException
OleClientItem is valid only in the MFC (Microsoft Foundation Classes) environment. The property can be used to return a pointer to the COleClientItem representing the OLE object.
getOleClientItem
in interface IOleFrame
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createOleClientItem(int oleDocument) throws IOException, AutomationException
OleClientItem is valid only in the MFC (Microsoft Foundation Classes) environment. The method is used to initialize the internal COleClientItem. Pass in a pointer to the application's COleDocument when executing the method.
createOleClientItem
in interface IOleFrame
oleDocument
- A COM void* (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void open() throws IOException, AutomationException
The Open method is used to open the OLE object in a separate window. Use this method when you want to open the OLE object in its native environment. For instance, if the OLE object is a Word document, executing the Open method will start Word with the current object as the active document.
open
in interface IOleFrame
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void edit() throws IOException, AutomationException
The Edit method is used to edit the OLE object in place. Editing takes place with the frame defined for the object and no additional windows are created. In contrast, the Open method will open up a separate window for editing the object.
Use this method to provide editing capabilities for the OLE object without opening an additional window. Execute the Hide method to stop editing on the object.
edit
in interface IOleFrame
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hide() throws IOException, AutomationException
The Hide method is used to stop the editing process on the OLE object. The method should be executed after the Edit method has been utilized and the user has completed editing.
hide
in interface IOleFrame
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean editProperties() throws IOException, AutomationException
The EditProperties method is used to display the properties of the OLE object in a separate window. Use this method when you want the user to see the properties of the object in the frame.
editProperties
in interface IOleFrame
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 |