com.esri.arcgis.carto
Class IBarrierProperties2Proxy

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

public class IBarrierProperties2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IBarrierProperties2, java.io.Serializable

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

Description: 'Provides access to members that control how objects (text, features, graphics) act as barriers for labelling with the cancel tracker.' 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.carto.IBarrierProperties2
IID, IIDe2d07333_5605_4ea6_87bd_7830927452e0
 
Constructor Summary
  IBarrierProperties2Proxy()
          For internal use only
  IBarrierProperties2Proxy(java.lang.Object obj)
           
protected IBarrierProperties2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IBarrierProperties2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IBarrierProperties2Proxy(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)
           
 int getWeight()
          Weight of the barriers for this layer.
 void queryBarriers(IDisplay display, IGeometryCollection pBarriers, IEnvelope extent, ITrackCancel trackCancel)
          List of barriers within the specified extent, or all barriers if no extent given.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setWeight(int weight)
          Weight of the barriers for this layer.
 
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

IBarrierProperties2Proxy

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

IBarrierProperties2Proxy

public IBarrierProperties2Proxy()
For internal use only


IBarrierProperties2Proxy

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

IBarrierProperties2Proxy

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

IBarrierProperties2Proxy

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

getWeight

public int getWeight()
              throws java.io.IOException,
                     AutomationException
Weight of the barriers for this layer.

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

setWeight

public void setWeight(int weight)
               throws java.io.IOException,
                      AutomationException
Weight of the barriers for this layer.

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

queryBarriers

public void queryBarriers(IDisplay display,
                          IGeometryCollection pBarriers,
                          IEnvelope extent,
                          ITrackCancel trackCancel)
                   throws java.io.IOException,
                          AutomationException
List of barriers within the specified extent, or all barriers if no extent given.

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