|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.BarrierCollection
public class BarrierCollection
A collection of objects that act as barriers to label placement.
| Constructor Summary | |
|---|---|
BarrierCollection()
Constructs a BarrierCollection using ArcGIS Engine. |
|
BarrierCollection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. BarrierCollection theBarrierCollection = (BarrierCollection) obj; |
|
| Method Summary | |
|---|---|
void |
add(IGeometryCollection barriers,
int weight)
Adds the specified item to the collection. |
void |
clear()
Removes all the items in the collection. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
The number of items in the collection. |
int |
hashCode()
the hashcode for this object |
void |
queryItem(int index,
IGeometryCollection[] barrier,
int[] weight)
Returns the item in the collection at the specified index. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public BarrierCollection()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public BarrierCollection(Object obj)
throws IOException
BarrierCollection theBarrierCollection = (BarrierCollection) obj;
obj to BarrierCollection.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void add(IGeometryCollection barriers,
int weight)
throws IOException,
AutomationException
add in interface IBarrierCollectionbarriers - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)weight - A com.esri.arcgis.carto.esriBasicOverposterWeight constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws IOException,
AutomationException
getCount in interface IBarrierCollectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryItem(int index,
IGeometryCollection[] barrier,
int[] weight)
throws IOException,
AutomationException
queryItem in interface IBarrierCollectionindex - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clear()
throws IOException,
AutomationException
clear in interface IBarrierCollectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||