com.esri.arcgis.carto
Class IOverposter2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IOverposter2Proxy
All Implemented Interfaces:
IOverposter2, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IOverposter2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that place labels for features using conflict detection.' 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 =

public class IOverposter2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IOverposter2, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
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.carto.IOverposter2
IID, IIDffec8117_ec4f_4329_bb7d_420453d29edd
 
Constructor Summary
  IOverposter2Proxy()
          Deprecated. For internal use only
  IOverposter2Proxy(java.lang.Object obj)
          Deprecated.  
protected IOverposter2Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IOverposter2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IOverposter2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addBarriers(int weight, IGeometryCollection barriers)
          Deprecated. Adds a barrier object that placed objects must avoid.
 int addClass(IOverposterLayerProperties props)
          Deprecated. Adds a class to the overposter and specifies its properties.
 void addCurvedLabel(int classIndex, java.lang.String label, java.lang.Object widths, java.lang.Object ascents, java.lang.Object descents, double fontHeight, double fontDescent, IGeometry controlShape, int featureId, ISymbol symbol)
          Deprecated. Adds a curved label object to be placed.
 void addLabel(int classIndex, java.lang.String label, double width, double height, IGeometry controlShape, int featureId, ISymbol symbol)
          Deprecated. Adds a label object to be placed.
 void addLabel2(int classIndex, java.lang.String label, double width, double height, IGeometry controlShape, int featureId, ISymbol symbol, double angle)
          Deprecated. Adds a label object to be placed.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void addSymbol(int classIndex, ISymbol symbol, IGeometry geometry, int featureId)
          Deprecated. Adds a symbol to be placed.
 int getCapabilities(ILayer layer)
          Deprecated. Overposter capabilities for the specified layer.
 int getNumberOfPlacedLabels()
          Deprecated. The number of unplaced labels.
 int getNumberOfUnplacedLabels()
          Deprecated. The number of unplaced labels.
 int getNumClasses()
          Deprecated. The number of classes.
 void initialize(IEnvelope extent, IDisplay display)
          Deprecated. Initializes the overposter for drawing into the specified area of the map display.
 void insertClass(int index, IOverposterLayerProperties props)
          Deprecated. Inserts a class at a specific index, and specifies its peoperties.
 void nextPlaced(IPlacedObject[] object, ITrackCancel trackCancel, IStepProgressor stepProgressor)
          Deprecated. The next object that was successfully placed.
 void nextUnplaced(IPlacedObject[] object)
          Deprecated. The next object that was not successfully placed.
 void nextUnused(IPlacedObject[] object)
          Deprecated. The next object that was not used.
 void placeObjects()
          Deprecated. Places objects using the overposter.
 void releaseResources()
          Deprecated. Releases current objects from memory.
 void removeClass(int classIndex)
          Deprecated. Removes the class at the specified index from the overposter.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void resetClasses()
          Deprecated. Removes all classes from the overposter.
 
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
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IOverposter2Proxy

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

IOverposter2Proxy

public IOverposter2Proxy()
Deprecated. 
For internal use only


IOverposter2Proxy

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

IOverposter2Proxy

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

IOverposter2Proxy

protected IOverposter2Proxy(java.lang.String CLSID,
                            java.lang.String iid,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.io.IOException
Deprecated. 
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
Deprecated. 
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
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getNumClasses

public int getNumClasses()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
The number of classes.

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

getCapabilities

public int getCapabilities(ILayer layer)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Overposter capabilities for the specified layer.

Specified by:
getCapabilities in interface IOverposter2
Parameters:
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
A com.esri.arcgis.carto.esriOverposterCaps constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addClass

public int addClass(IOverposterLayerProperties props)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Adds a class to the overposter and specifies its properties.

Specified by:
addClass in interface IOverposter2
Parameters:
props - A reference to a com.esri.arcgis.carto.IOverposterLayerProperties (in)
Returns:
The classIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertClass

public void insertClass(int index,
                        IOverposterLayerProperties props)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Inserts a class at a specific index, and specifies its peoperties.

Specified by:
insertClass in interface IOverposter2
Parameters:
index - The index (in)
props - A reference to a com.esri.arcgis.carto.IOverposterLayerProperties (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeClass

public void removeClass(int classIndex)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Removes the class at the specified index from the overposter.

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

resetClasses

public void resetClasses()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Removes all classes from the overposter.

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

initialize

public void initialize(IEnvelope extent,
                       IDisplay display)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Initializes the overposter for drawing into the specified area of the map display.

Specified by:
initialize in interface IOverposter2
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addBarriers

public void addBarriers(int weight,
                        IGeometryCollection barriers)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Adds a barrier object that placed objects must avoid.

Specified by:
addBarriers in interface IOverposter2
Parameters:
weight - A com.esri.arcgis.carto.esriBasicOverposterWeight constant (in)
barriers - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLabel

public void addLabel(int classIndex,
                     java.lang.String label,
                     double width,
                     double height,
                     IGeometry controlShape,
                     int featureId,
                     ISymbol symbol)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Adds a label object to be placed.

Specified by:
addLabel in interface IOverposter2
Parameters:
classIndex - The classIndex (in)
label - The label (in)
width - The width (in)
height - The height (in)
controlShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
featureId - The featureId (in)
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addCurvedLabel

public void addCurvedLabel(int classIndex,
                           java.lang.String label,
                           java.lang.Object widths,
                           java.lang.Object ascents,
                           java.lang.Object descents,
                           double fontHeight,
                           double fontDescent,
                           IGeometry controlShape,
                           int featureId,
                           ISymbol symbol)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Adds a curved label object to be placed.

Specified by:
addCurvedLabel in interface IOverposter2
Parameters:
classIndex - The classIndex (in)
label - The label (in)
widths - A Variant (in)
ascents - A Variant (in)
descents - A Variant (in)
fontHeight - The fontHeight (in)
fontDescent - The fontDescent (in)
controlShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
featureId - The featureId (in)
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSymbol

public void addSymbol(int classIndex,
                      ISymbol symbol,
                      IGeometry geometry,
                      int featureId)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Adds a symbol to be placed.

Specified by:
addSymbol in interface IOverposter2
Parameters:
classIndex - The classIndex (in)
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
featureId - The featureId (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

placeObjects

public void placeObjects()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Places objects using the overposter.

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

nextPlaced

public void nextPlaced(IPlacedObject[] object,
                       ITrackCancel trackCancel,
                       IStepProgressor stepProgressor)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The next object that was successfully placed.

Specified by:
nextPlaced in interface IOverposter2
Parameters:
object - A reference to a com.esri.arcgis.carto.IPlacedObject (in/out: use single element array)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
stepProgressor - A reference to a com.esri.arcgis.system.IStepProgressor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextUnplaced

public void nextUnplaced(IPlacedObject[] object)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
The next object that was not successfully placed.

Specified by:
nextUnplaced in interface IOverposter2
Parameters:
object - A reference to a com.esri.arcgis.carto.IPlacedObject (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextUnused

public void nextUnused(IPlacedObject[] object)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The next object that was not used.

Specified by:
nextUnused in interface IOverposter2
Parameters:
object - A reference to a com.esri.arcgis.carto.IPlacedObject (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

releaseResources

public void releaseResources()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Releases current objects from memory.

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

getNumberOfUnplacedLabels

public int getNumberOfUnplacedLabels()
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
The number of unplaced labels. Only valid after calling PlaceObjects.

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

getNumberOfPlacedLabels

public int getNumberOfPlacedLabels()
                            throws java.io.IOException,
                                   AutomationException
Deprecated. 
The number of unplaced labels. Only valid after calling PlaceObjects.

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

addLabel2

public void addLabel2(int classIndex,
                      java.lang.String label,
                      double width,
                      double height,
                      IGeometry controlShape,
                      int featureId,
                      ISymbol symbol,
                      double angle)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Adds a label object to be placed.

Specified by:
addLabel2 in interface IOverposter2
Parameters:
classIndex - The classIndex (in)
label - The label (in)
width - The width (in)
height - The height (in)
controlShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
featureId - The featureId (in)
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
angle - The angle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.