com.esri.arcgis.framework
Class IDockableWindowInitialPlacementProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.framework.IDockableWindowInitialPlacementProxy
All Implemented Interfaces:
IDockableWindowInitialPlacement, Externalizable, Serializable

public class IDockableWindowInitialPlacementProxy
extends com.esri.arcgis.interop.Dispatch
implements IDockableWindowInitialPlacement, Serializable

Provides initial placement for dockable windows.

Description

A dockable window's initial representation including height, width, dock position and neighbor can be set through this interface.

Remarks

This interface is consulted only when the first time the dockable window is being introduced to the system. If the dockable window has already been shown once, the settings through this interface won't apply any more.

To clear the dockable window's states, the application template should be deleted. For example, to clear the dockable window's states in ArcMap, normal.mxt should be removed.

When To Use

To set the dockable window's initial representation, you would implement IDockableWindowInitialPlacement on the object that implents IDockableWindowDef.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

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.IDockableWindowInitialPlacement
IID, IID1ec80980_7a02_426d_bd2b_c6d3beb2ed54, xxDummy
 
Constructor Summary
  IDockableWindowInitialPlacementProxy()
           
  IDockableWindowInitialPlacementProxy(Object obj)
           
protected IDockableWindowInitialPlacementProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getDockPosition()
          DockPosition
 int getHeight()
          Height
 IUID getNeighbor()
          Neighbor
 int getWidth()
          Width
 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

noncastable

public boolean noncastable
Constructor Detail

IDockableWindowInitialPlacementProxy

public IDockableWindowInitialPlacementProxy()

IDockableWindowInitialPlacementProxy

public IDockableWindowInitialPlacementProxy(Object obj)
                                     throws IOException
Throws:
IOException

IDockableWindowInitialPlacementProxy

protected IDockableWindowInitialPlacementProxy(Object obj,
                                               String iid)
                                        throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getHeight

public int getHeight()
              throws IOException,
                     AutomationException
Height

Specified by:
getHeight in interface IDockableWindowInitialPlacement
Returns:
The height
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws IOException,
                    AutomationException
Width

Specified by:
getWidth in interface IDockableWindowInitialPlacement
Returns:
The width
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDockPosition

public int getDockPosition()
                    throws IOException,
                           AutomationException
DockPosition

Specified by:
getDockPosition in interface IDockableWindowInitialPlacement
Returns:
A com.esri.arcgis.framework.esriDockFlags constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNeighbor

public IUID getNeighbor()
                 throws IOException,
                        AutomationException
Neighbor

Specified by:
getNeighbor in interface IDockableWindowInitialPlacement
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.