com.esri.arcgis.arcmapui
Class MensurationDockWin

java.lang.Object
  extended by com.esri.arcgis.arcmapui.MensurationDockWin
All Implemented Interfaces:
IMensurationResult, IConnectionPointContainer, IDockableWindowDef, IDockableWindowImageDef, IDockableWindowInitialPlacement, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class MensurationDockWin
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDockableWindowDef, IDockableWindowInitialPlacement, IDockableWindowImageDef, IConnectionPointContainer, IMensurationResult

The Mensuration Result Dockable Window.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.framework.IDockableWindowDef
IID, IID3d1fa10a_f154_11d3_a67e_0008c7df97b9, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IDockableWindowInitialPlacement
IID, IID1ec80980_7a02_426d_bd2b_c6d3beb2ed54, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IDockableWindowImageDef
IID, IID08f4fc5d_c23f_4210_b289_1350ed5632ed, xxDummy
 
Constructor Summary
MensurationDockWin()
          Constructs a MensurationDockWin using ArcGIS Engine.
MensurationDockWin(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MensurationDockWin theMensurationDockWin = (MensurationDockWin) obj;
 
Method Summary
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
 int getBitmap()
          Provide a bitmap for dockviews
 String getCaption()
          The caption of the dockable window.
 int getChildHWND()
          The hWnd of the window to be embedded in a dockable window.
static String getClsid()
          getClsid.
 int getDockPosition()
          DockPosition
 int getHeight()
          Height
 String getName()
          The name of the dockable window.
 IUID getNeighbor()
          Neighbor
 Object getUserData()
          User defined data.
 int getWidth()
          Width
 int hashCode()
          the hashcode for this object
 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 updateMessage(String type, String comment, String id, String result, String headline)
          Update measurement result
 void updateResultList(IStringArray pComments, IStringArray pIDs, IStringArray pTypes, ILongArray pSelections)
          Update result lists
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

MensurationDockWin

public MensurationDockWin()
                   throws IOException,
                          UnknownHostException
Constructs a MensurationDockWin using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

MensurationDockWin

public MensurationDockWin(Object obj)
                   throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MensurationDockWin theMensurationDockWin = (MensurationDockWin) obj;

Construct a MensurationDockWin using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MensurationDockWin.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

onCreate

public void onCreate(Object hook)
              throws IOException,
                     AutomationException
Occurs when this dockable window is created and provides access to the application.

Specified by:
onCreate in interface IDockableWindowDef
Parameters:
hook - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildHWND

public int getChildHWND()
                 throws IOException,
                        AutomationException
The hWnd of the window to be embedded in a dockable window.

Specified by:
getChildHWND in interface IDockableWindowDef
Returns:
The hWnd (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the dockable window.

Specified by:
getName in interface IDockableWindowDef
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCaption

public String getCaption()
                  throws IOException,
                         AutomationException
The caption of the dockable window.

Specified by:
getCaption in interface IDockableWindowDef
Returns:
The caption
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDestroy

public void onDestroy()
               throws IOException,
                      AutomationException
Occurs when the docking window is about to be destroyed.

Specified by:
onDestroy in interface IDockableWindowDef
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUserData

public Object getUserData()
                   throws IOException,
                          AutomationException
User defined data.

Specified by:
getUserData in interface IDockableWindowDef
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

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.

getBitmap

public int getBitmap()
              throws IOException,
                     AutomationException
Provide a bitmap for dockviews

Specified by:
getBitmap in interface IDockableWindowImageDef
Returns:
The bitmap (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws IOException,
                                 AutomationException
enumConnectionPoints

Description

IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws IOException,
                                AutomationException
findConnectionPoint

Description

IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateMessage

public void updateMessage(String type,
                          String comment,
                          String id,
                          String result,
                          String headline)
                   throws IOException,
                          AutomationException
Update measurement result

Product Availability

Available with ArcGIS Desktop.

Specified by:
updateMessage in interface IMensurationResult
Parameters:
type - The type (in)
comment - The comment (in)
id - The id (in)
result - The result (in)
headline - The headline (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateResultList

public void updateResultList(IStringArray pComments,
                             IStringArray pIDs,
                             IStringArray pTypes,
                             ILongArray pSelections)
                      throws IOException,
                             AutomationException
Update result lists

Product Availability

Available with ArcGIS Desktop.

Specified by:
updateResultList in interface IMensurationResult
Parameters:
pComments - A reference to a com.esri.arcgis.system.IStringArray (in)
pIDs - A reference to a com.esri.arcgis.system.IStringArray (in)
pTypes - A reference to a com.esri.arcgis.system.IStringArray (in)
pSelections - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.