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, java.io.Serializable

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

COM Class 'MensurationDockWin'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'The Mensuration Result Dockable Window.' 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 =

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
 
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.IMensurationResult
IID, IID210ed094_ae87_44de_b676_2f01c9958a8e, xxDummy
 
Constructor Summary
MensurationDockWin()
          Constructs a MensurationDockWin using ArcGIS Engine.
MensurationDockWin(java.lang.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(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
 int getBitmap()
          Provide a bitmap for dockviews
 java.lang.String getCaption()
          The caption of the dockable window.
 int getChildHWND()
          The hWnd of the window to be embedded in a dockable window.
static java.lang.String getClsid()
          getClsid.
 int getDockPosition()
          DockPosition
 int getHeight()
          Height
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the dockable window.
 IUID getNeighbor()
          Neighbor
 java.lang.Object getUserData()
          User defined data.
 int getWidth()
          Width
 int hashCode()
          the hashcode for this object
 void onCreate(java.lang.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 release()
          Release a MensurationDockWin.
 void updateMessage(java.lang.String type, java.lang.String comment, java.lang.String id, java.lang.String result, java.lang.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
 

Constructor Detail

MensurationDockWin

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

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

MensurationDockWin

public MensurationDockWin(java.lang.Object obj)
                   throws java.io.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:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a MensurationDockWin.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

onCreate

public void onCreate(java.lang.Object hook)
              throws java.io.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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildHWND

public int getChildHWND()
                 throws java.io.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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

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

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

getCaption

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

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

onDestroy

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

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

getUserData

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

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

getHeight

public int getHeight()
              throws java.io.IOException,
                     AutomationException
Height

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

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
Width

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

getDockPosition

public int getDockPosition()
                    throws java.io.IOException,
                           AutomationException
DockPosition

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

getNeighbor

public IUID getNeighbor()
                 throws java.io.IOException,
                        AutomationException
Neighbor

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

getBitmap

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

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

enumConnectionPoints

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

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

findConnectionPoint

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateMessage

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

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:
java.io.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 java.io.IOException,
                             AutomationException
Update result lists

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.