com.esri.arcgis.editor
Class ITraverseWindow2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.ITraverseWindow2Proxy
All Implemented Interfaces:
ITraverseWindow2, java.io.Externalizable, java.io.Serializable

public class ITraverseWindow2Proxy
extends com.esri.arcgis.interop.Dispatch
implements ITraverseWindow2, java.io.Serializable

Internal use class Proxy for COM Interface 'ITraverseWindow2'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description: 'Provides access to members that interact with the Traverse Window dialog.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
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.editor.ITraverseWindow2
IID, IIDa42fe698_4c65_4a7c_8408_8934cbf6cf39
 
Constructor Summary
  ITraverseWindow2Proxy()
          For internal use only
  ITraverseWindow2Proxy(java.lang.Object obj)
           
protected ITraverseWindow2Proxy(java.lang.Object obj, java.lang.String iid)
           
  ITraverseWindow2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ITraverseWindow2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void add()
          Add the course that is defined by the current course parameters.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void finish()
          Finishes the traverse.
 ICourse getCourse(int index)
          A reference to the ith course.
 int getCourseCount()
          The number of courses in the traverse.
 int getCourseType()
          The type of the course being added.
 int getCurveDirectionType()
          If the course type is esriCTCurve, defines the direction type of the curve.
 int getCurveParameter(int index)
          If the course type is esriCTCurve or esriCTTangentCurve, describes the type of curve paramater that the ith measure text represents.
 IPoint getFinishPoint()
          The specified end point of the traverse.
 int getMeasureHWND(int index)
          The handle of the ith measure text control.
 java.lang.String getMeasureText(int index)
          The ith value that defines the course to add.
 IPoint getStartPoint()
          The specified start point of the traverse.
 int getTurnDirection()
          If the course type is esriCTCurve or esriCTTangentCurve, indicates if the curve turns to the left or right.
 boolean isAddEnabled()
          Indicates if the Add command on the Traverse Window dialog is enabled.
 boolean isClosedLoop()
          Indicates if the traverse is a closed loop.
 boolean isFinishEnabled()
          Indicates if the Finish command on the Traverse Window dialog is enabled.
 boolean isMeasureSelected(int index)
          Indicates if the text in the ith measure is selected.
 boolean isVisible()
          Indicates if Traverse Window is visible.
 void remove(int index)
          Removes the ith course from the traverse.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setCourseType(int type)
          The type of the course being added.
 void setCurveDirectionType(int direction)
          If the course type is esriCTCurve, defines the direction type of the curve.
 void setCurveParameter(int index, int curveParam)
          If the course type is esriCTCurve or esriCTTangentCurve, describes the type of curve paramater that the ith measure text represents.
 void setFinishPoint(IPoint finish)
          The specified end point of the traverse.
 void setFocusToMeasure(int index)
          Change the focus to the ith measure text control.
 void setIsClosedLoop(boolean closed)
          Indicates if the traverse is a closed loop.
 void setMeasureSelected(int index, boolean sel)
          Indicates if the text in the ith measure is selected.
 void setMeasureText(int index, java.lang.String text)
          The ith value that defines the course to add.
 void setStartPoint(IPoint start)
          The specified start point of the traverse.
 void setTurnDirection(int direction)
          If the course type is esriCTCurve or esriCTTangentCurve, indicates if the curve turns to the left or right.
 void setVisible(boolean vis)
          Indicates if Traverse Window is visible.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ITraverseWindow2Proxy

public ITraverseWindow2Proxy(java.lang.String CLSID,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.net.UnknownHostException,
                             java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ITraverseWindow2Proxy

public ITraverseWindow2Proxy()
For internal use only


ITraverseWindow2Proxy

public ITraverseWindow2Proxy(java.lang.Object obj)
                      throws java.io.IOException
Throws:
java.io.IOException

ITraverseWindow2Proxy

protected ITraverseWindow2Proxy(java.lang.Object obj,
                                java.lang.String iid)
                         throws java.io.IOException
Throws:
java.io.IOException

ITraverseWindow2Proxy

protected ITraverseWindow2Proxy(java.lang.String CLSID,
                                java.lang.String iid,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

setVisible

public void setVisible(boolean vis)
                throws java.io.IOException,
                       AutomationException
Indicates if Traverse Window is visible.

Specified by:
setVisible in interface ITraverseWindow2
Parameters:
vis - The vis (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

public boolean isVisible()
                  throws java.io.IOException,
                         AutomationException
Indicates if Traverse Window is visible.

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

getStartPoint

public IPoint getStartPoint()
                     throws java.io.IOException,
                            AutomationException
The specified start point of the traverse.

Specified by:
getStartPoint in interface ITraverseWindow2
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStartPoint

public void setStartPoint(IPoint start)
                   throws java.io.IOException,
                          AutomationException
The specified start point of the traverse.

Specified by:
setStartPoint in interface ITraverseWindow2
Parameters:
start - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFinishPoint

public IPoint getFinishPoint()
                      throws java.io.IOException,
                             AutomationException
The specified end point of the traverse.

Specified by:
getFinishPoint in interface ITraverseWindow2
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFinishPoint

public void setFinishPoint(IPoint finish)
                    throws java.io.IOException,
                           AutomationException
The specified end point of the traverse.

Specified by:
setFinishPoint in interface ITraverseWindow2
Parameters:
finish - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCourseCount

public int getCourseCount()
                   throws java.io.IOException,
                          AutomationException
The number of courses in the traverse.

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

getCourse

public ICourse getCourse(int index)
                  throws java.io.IOException,
                         AutomationException
A reference to the ith course.

Specified by:
getCourse in interface ITraverseWindow2
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.editor.ICourse
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCourseType

public int getCourseType()
                  throws java.io.IOException,
                         AutomationException
The type of the course being added.

Specified by:
getCourseType in interface ITraverseWindow2
Returns:
A com.esri.arcgis.editor.esriCourseType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCourseType

public void setCourseType(int type)
                   throws java.io.IOException,
                          AutomationException
The type of the course being added.

Specified by:
setCourseType in interface ITraverseWindow2
Parameters:
type - A com.esri.arcgis.editor.esriCourseType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMeasureSelected

public boolean isMeasureSelected(int index)
                          throws java.io.IOException,
                                 AutomationException
Indicates if the text in the ith measure is selected.

Specified by:
isMeasureSelected in interface ITraverseWindow2
Parameters:
index - The index (in)
Returns:
The sel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMeasureSelected

public void setMeasureSelected(int index,
                               boolean sel)
                        throws java.io.IOException,
                               AutomationException
Indicates if the text in the ith measure is selected.

Specified by:
setMeasureSelected in interface ITraverseWindow2
Parameters:
index - The index (in)
sel - The sel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMeasureText

public java.lang.String getMeasureText(int index)
                                throws java.io.IOException,
                                       AutomationException
The ith value that defines the course to add.

Specified by:
getMeasureText in interface ITraverseWindow2
Parameters:
index - The index (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMeasureText

public void setMeasureText(int index,
                           java.lang.String text)
                    throws java.io.IOException,
                           AutomationException
The ith value that defines the course to add.

Specified by:
setMeasureText in interface ITraverseWindow2
Parameters:
index - The index (in)
text - The text (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMeasureHWND

public int getMeasureHWND(int index)
                   throws java.io.IOException,
                          AutomationException
The handle of the ith measure text control.

Specified by:
getMeasureHWND in interface ITraverseWindow2
Parameters:
index - The index (in)
Returns:
The hWND (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurveParameter

public int getCurveParameter(int index)
                      throws java.io.IOException,
                             AutomationException
If the course type is esriCTCurve or esriCTTangentCurve, describes the type of curve paramater that the ith measure text represents.

Specified by:
getCurveParameter in interface ITraverseWindow2
Parameters:
index - The index (in)
Returns:
A com.esri.arcgis.editor.esriCurveParameter constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCurveParameter

public void setCurveParameter(int index,
                              int curveParam)
                       throws java.io.IOException,
                              AutomationException
If the course type is esriCTCurve or esriCTTangentCurve, describes the type of curve paramater that the ith measure text represents.

Specified by:
setCurveParameter in interface ITraverseWindow2
Parameters:
index - The index (in)
curveParam - A com.esri.arcgis.editor.esriCurveParameter constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTurnDirection

public int getTurnDirection()
                     throws java.io.IOException,
                            AutomationException
If the course type is esriCTCurve or esriCTTangentCurve, indicates if the curve turns to the left or right.

Specified by:
getTurnDirection in interface ITraverseWindow2
Returns:
A com.esri.arcgis.editor.esriTurnDirection constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTurnDirection

public void setTurnDirection(int direction)
                      throws java.io.IOException,
                             AutomationException
If the course type is esriCTCurve or esriCTTangentCurve, indicates if the curve turns to the left or right.

Specified by:
setTurnDirection in interface ITraverseWindow2
Parameters:
direction - A com.esri.arcgis.editor.esriTurnDirection constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurveDirectionType

public int getCurveDirectionType()
                          throws java.io.IOException,
                                 AutomationException
If the course type is esriCTCurve, defines the direction type of the curve.

Specified by:
getCurveDirectionType in interface ITraverseWindow2
Returns:
A com.esri.arcgis.editor.esriCurveDirectionType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCurveDirectionType

public void setCurveDirectionType(int direction)
                           throws java.io.IOException,
                                  AutomationException
If the course type is esriCTCurve, defines the direction type of the curve.

Specified by:
setCurveDirectionType in interface ITraverseWindow2
Parameters:
direction - A com.esri.arcgis.editor.esriCurveDirectionType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAddEnabled

public boolean isAddEnabled()
                     throws java.io.IOException,
                            AutomationException
Indicates if the Add command on the Traverse Window dialog is enabled.

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

add

public void add()
         throws java.io.IOException,
                AutomationException
Add the course that is defined by the current course parameters.

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

setFocusToMeasure

public void setFocusToMeasure(int index)
                       throws java.io.IOException,
                              AutomationException
Change the focus to the ith measure text control.

Specified by:
setFocusToMeasure in interface ITraverseWindow2
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isClosedLoop

public boolean isClosedLoop()
                     throws java.io.IOException,
                            AutomationException
Indicates if the traverse is a closed loop.

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

setIsClosedLoop

public void setIsClosedLoop(boolean closed)
                     throws java.io.IOException,
                            AutomationException
Indicates if the traverse is a closed loop.

Specified by:
setIsClosedLoop in interface ITraverseWindow2
Parameters:
closed - The closed (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFinishEnabled

public boolean isFinishEnabled()
                        throws java.io.IOException,
                               AutomationException
Indicates if the Finish command on the Traverse Window dialog is enabled.

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

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes the ith course from the traverse.

Specified by:
remove in interface ITraverseWindow2
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

finish

public void finish()
            throws java.io.IOException,
                   AutomationException
Finishes the traverse.

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