com.esri.arcgis.arcmapui
Class IReportUnitFormat2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcmapui.IReportUnitFormat2Proxy
All Implemented Interfaces:
IReportUnitFormat2, java.io.Externalizable, java.io.Serializable

public class IReportUnitFormat2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IReportUnitFormat2, java.io.Serializable

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

Description: 'Provides access to report unit formatting.' 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.arcmapui.IReportUnitFormat2
IID, IID5fc55a42_b276_4e9c_9dce_c54f61419dfe
 
Constructor Summary
  IReportUnitFormat2Proxy()
          For internal use only
  IReportUnitFormat2Proxy(java.lang.Object obj)
           
protected IReportUnitFormat2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IReportUnitFormat2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IReportUnitFormat2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 ILatLonFormat getCoordinateReadoutLatLonFormat()
          The format used for the coordinate readout on the status bar.
 int getCoordinateReadoutUnits()
          The units used for the coordinate readout on the status bar.
 ILatLonFormat getLatLonFormat()
          When a map's display units are set to esriDecimalDegrees, tools use this format to report coordinates.
 INumberFormat getNumericFormat()
          The number format used to report coordinate values.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setCoordinateReadoutLatLonFormatByRef(ILatLonFormat format)
          The format used for the coordinate readout on the status bar.
 void setCoordinateReadoutUnits(int units)
          The units used for the coordinate readout on the status bar.
 void setLatLonFormatByRef(ILatLonFormat format)
          When a map's display units are set to esriDecimalDegrees, tools use this format to report coordinates.
 void setNumericFormatByRef(INumberFormat format)
          The number format used to report coordinate values.
 
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

IReportUnitFormat2Proxy

public IReportUnitFormat2Proxy(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

IReportUnitFormat2Proxy

public IReportUnitFormat2Proxy()
For internal use only


IReportUnitFormat2Proxy

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

IReportUnitFormat2Proxy

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

IReportUnitFormat2Proxy

protected IReportUnitFormat2Proxy(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

getLatLonFormat

public ILatLonFormat getLatLonFormat()
                              throws java.io.IOException,
                                     AutomationException
When a map's display units are set to esriDecimalDegrees, tools use this format to report coordinates.

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

setLatLonFormatByRef

public void setLatLonFormatByRef(ILatLonFormat format)
                          throws java.io.IOException,
                                 AutomationException
When a map's display units are set to esriDecimalDegrees, tools use this format to report coordinates.

Specified by:
setLatLonFormatByRef in interface IReportUnitFormat2
Parameters:
format - A reference to a com.esri.arcgis.system.ILatLonFormat (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumericFormat

public INumberFormat getNumericFormat()
                               throws java.io.IOException,
                                      AutomationException
The number format used to report coordinate values.

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

setNumericFormatByRef

public void setNumericFormatByRef(INumberFormat format)
                           throws java.io.IOException,
                                  AutomationException
The number format used to report coordinate values.

Specified by:
setNumericFormatByRef in interface IReportUnitFormat2
Parameters:
format - A reference to a com.esri.arcgis.system.INumberFormat (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoordinateReadoutLatLonFormat

public ILatLonFormat getCoordinateReadoutLatLonFormat()
                                               throws java.io.IOException,
                                                      AutomationException
The format used for the coordinate readout on the status bar.

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

setCoordinateReadoutLatLonFormatByRef

public void setCoordinateReadoutLatLonFormatByRef(ILatLonFormat format)
                                           throws java.io.IOException,
                                                  AutomationException
The format used for the coordinate readout on the status bar.

Specified by:
setCoordinateReadoutLatLonFormatByRef in interface IReportUnitFormat2
Parameters:
format - A reference to a com.esri.arcgis.system.ILatLonFormat (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoordinateReadoutUnits

public int getCoordinateReadoutUnits()
                              throws java.io.IOException,
                                     AutomationException
The units used for the coordinate readout on the status bar. If set to esriUnknown, map display units are used.

Specified by:
getCoordinateReadoutUnits in interface IReportUnitFormat2
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCoordinateReadoutUnits

public void setCoordinateReadoutUnits(int units)
                               throws java.io.IOException,
                                      AutomationException
The units used for the coordinate readout on the status bar. If set to esriUnknown, map display units are used.

Specified by:
setCoordinateReadoutUnits in interface IReportUnitFormat2
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.