com.esri.arcgis.carto
Interface IBarrierCollection

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BarrierCollection, IBarrierCollectionProxy

public interface IBarrierCollection
extends java.io.Serializable

COM Interface 'IBarrierCollection'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control a collection of objects that act as barriers to label placement.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID01c12b92_a3fb_11d2_a2fe_080009b6f22b
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(IGeometryCollection barriers, int weight)
          Adds the specified item to the collection.
 void clear()
          Removes all the items in the collection.
 int getCount()
          The number of items in the collection.
 void queryItem(int index, IGeometryCollection[] barrier, int[] weight)
          Returns the item in the collection at the specified index.
 

Field Detail

IID01c12b92_a3fb_11d2_a2fe_080009b6f22b

static final int IID01c12b92_a3fb_11d2_a2fe_080009b6f22b
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

add

void add(IGeometryCollection barriers,
         int weight)
         throws java.io.IOException,
                AutomationException
Adds the specified item to the collection.

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

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The number of items in the collection.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryItem

void queryItem(int index,
               IGeometryCollection[] barrier,
               int[] weight)
               throws java.io.IOException,
                      AutomationException
Returns the item in the collection at the specified index.

Parameters:
index - The index (in)
barrier - A reference to a com.esri.arcgis.geometry.IGeometryCollection (out: use single element array)
weight - A com.esri.arcgis.carto.esriBasicOverposterWeight constant (out: use single element array, optional, pass single element of null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws java.io.IOException,
                  AutomationException
Removes all the items in the collection.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.