|
|||||||||
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.framework.IDockableWindowDefProxy
public class IDockableWindowDefProxy
Provides access to members that define a dockable window.
A dockable window definition is used by the application to create a dockable window. A dockable window is an auxilary window that can be used to display data. This window can exist in a modeless floating state or be attached to the main application window.
This interface allows you to set properties such as caption and name. You use the ChildHWND property to define what the window will consist of by passing in an hWnd of a control such as a form, listbox, etc. The OnCreate method provides a hook to the application and allows you to perform any necessary initialization of the window. The OnDestroy method is called when the window is about to be destroyed.
The class you create is a definition for a dockable window; it is not actually a dockable window object. Once your class is registered in one of the dockable window component categories, the application uses the definition of the dockable window in your class to create the actual dockable window.
To create your own dockable window, you would implement the IDockableWindowDef interface.
Field Summary | |
---|---|
boolean |
noncastable
|
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.framework.IDockableWindowDef |
---|
IID, IID3d1fa10a_f154_11d3_a67e_0008c7df97b9, xxDummy |
Constructor Summary | |
---|---|
|
IDockableWindowDefProxy()
|
|
IDockableWindowDefProxy(Object obj)
|
protected |
IDockableWindowDefProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
String |
getCaption()
The caption of the dockable window. |
int |
getChildHWND()
The hWnd of the window to be embedded in a dockable window. |
String |
getName()
The name of the dockable window. |
Object |
getUserData()
User defined data. |
void |
onCreate(Object hook)
Occurs when this dockable window is created and provides access to the application. |
void |
onDestroy()
Occurs when the docking window is about to be destroyed. |
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 IDockableWindowDefProxy()
public IDockableWindowDefProxy(Object obj) throws IOException
IOException
protected IDockableWindowDefProxy(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 onCreate(Object hook) throws IOException, AutomationException
onCreate
in interface IDockableWindowDef
hook
- A reference to another Automation Object (IDispatch) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getChildHWND() throws IOException, AutomationException
getChildHWND
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCaption() throws IOException, AutomationException
getCaption
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDestroy() throws IOException, AutomationException
onDestroy
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getUserData() throws IOException, AutomationException
getUserData
in interface IDockableWindowDef
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 |