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, Externalizable, Serializable

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

Provides access to report unit formatting.

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
 
Constructor Summary
  IReportUnitFormat2Proxy()
           
  IReportUnitFormat2Proxy(Object obj)
           
protected IReportUnitFormat2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, 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(String iidStr, 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

noncastable

public boolean noncastable
Constructor Detail

IReportUnitFormat2Proxy

public IReportUnitFormat2Proxy()

IReportUnitFormat2Proxy

public IReportUnitFormat2Proxy(Object obj)
                        throws IOException
Throws:
IOException

IReportUnitFormat2Proxy

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

getLatLonFormat

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

Product Availability

Available with ArcGIS Desktop.

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

setLatLonFormatByRef

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

Product Availability

Available with ArcGIS Desktop.

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

getNumericFormat

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

Product Availability

Available with ArcGIS Desktop.

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

setNumericFormatByRef

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

Product Availability

Available with ArcGIS Desktop.

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

getCoordinateReadoutLatLonFormat

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

Product Availability

Available with ArcGIS Desktop.

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

setCoordinateReadoutLatLonFormatByRef

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

Product Availability

Available with ArcGIS Desktop.

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

getCoordinateReadoutUnits

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

Product Availability

Available with ArcGIS Desktop.

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

setCoordinateReadoutUnits

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

Product Availability

Available with ArcGIS Desktop.

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