|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.AnnotateLayerPropertiesCollection
public class AnnotateLayerPropertiesCollection
A collection of annotation settings for a feature layer.
Constructor Summary | |
---|---|
AnnotateLayerPropertiesCollection()
Constructs a AnnotateLayerPropertiesCollection using ArcGIS Engine. |
|
AnnotateLayerPropertiesCollection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AnnotateLayerPropertiesCollection theAnnotateLayerPropertiesCollection = (AnnotateLayerPropertiesCollection) obj; |
Method Summary | |
---|---|
void |
add(IAnnotateLayerProperties item)
Adds an item to the collection. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
clear()
Removes all the items in the collection. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getCount()
The number of items in the collection. |
IAnnotateLayerProperties |
getProperties(int iD)
The item in the collection with the given id. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
int |
IAnnotateLayerPropertiesCollection2_add(IAnnotateLayerProperties item)
Adds an item to the collection. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
void |
load(IStream pstm)
load |
void |
queryItem(int index,
IAnnotateLayerProperties[] item,
IElementCollection[] placedElements,
IElementCollection[] unplacedElements)
Returns the item in the collection at the specified index. |
void |
queryItem(int index,
IAnnotateLayerProperties[] item,
int[] iD)
Returns the item in the collection at the specified index. |
void |
readExternal(ObjectInput in)
|
void |
remove(IAnnotateLayerProperties layerprops)
Removes the item in the collection at the specified index. |
void |
remove(int iD)
Removes the item in the collection with the given id. |
void |
replace(int iD,
IAnnotateLayerProperties pAnnotateLayerProperties)
Replaces the item in the collection with the given id. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
sort()
Sorts the items in the collection. |
void |
writeExternal(ObjectOutput out)
|
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 AnnotateLayerPropertiesCollection() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic AnnotateLayerPropertiesCollection(Object obj) throws IOException
AnnotateLayerPropertiesCollection theAnnotateLayerPropertiesCollection = (AnnotateLayerPropertiesCollection) obj;
obj
to AnnotateLayerPropertiesCollection
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void add(IAnnotateLayerProperties item) throws IOException, AutomationException
Add adds an item to the collection.
add
in interface IAnnotateLayerPropertiesCollection
item
- A reference to a com.esri.arcgis.carto.IAnnotateLayerProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
Count is the number of items in the collection.
getCount
in interface IAnnotateLayerPropertiesCollection
getCount
in interface IAnnotateLayerPropertiesCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryItem(int index, IAnnotateLayerProperties[] item, IElementCollection[] placedElements, IElementCollection[] unplacedElements) throws IOException, AutomationException
QueryItem returns the specified item from the collection.
queryItem
in interface IAnnotateLayerPropertiesCollection
index
- The index (in)item
- A reference to a com.esri.arcgis.carto.IAnnotateLayerProperties (out: use single element array)placedElements
- A reference to a com.esri.arcgis.carto.IElementCollection (out: use single element array, optional, pass single element of null if not required)unplacedElements
- A reference to a com.esri.arcgis.carto.IElementCollection (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 removes all the items in the collection.
clear
in interface IAnnotateLayerPropertiesCollection
clear
in interface IAnnotateLayerPropertiesCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(IAnnotateLayerProperties layerprops) throws IOException, AutomationException
Remove removes the specified item from the collection.
remove
in interface IAnnotateLayerPropertiesCollection
layerprops
- A reference to a com.esri.arcgis.carto.IAnnotateLayerProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void sort() throws IOException, AutomationException
Sort sorts the collection based on the priority of the layer properties.
sort
in interface IAnnotateLayerPropertiesCollection
sort
in interface IAnnotateLayerPropertiesCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int IAnnotateLayerPropertiesCollection2_add(IAnnotateLayerProperties item) throws IOException, AutomationException
IAnnotateLayerPropertiesCollection2_add
in interface IAnnotateLayerPropertiesCollection2
item
- A reference to a com.esri.arcgis.carto.IAnnotateLayerProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryItem(int index, IAnnotateLayerProperties[] item, int[] iD) throws IOException, AutomationException
queryItem
in interface IAnnotateLayerPropertiesCollection2
index
- The index (in)item
- A reference to a com.esri.arcgis.carto.IAnnotateLayerProperties (out: use single element array)iD
- The iD (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int iD) throws IOException, AutomationException
remove
in interface IAnnotateLayerPropertiesCollection2
iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAnnotateLayerProperties getProperties(int iD) throws IOException, AutomationException
getProperties
in interface IAnnotateLayerPropertiesCollection2
iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replace(int iD, IAnnotateLayerProperties pAnnotateLayerProperties) throws IOException, AutomationException
replace
in interface IAnnotateLayerPropertiesCollection2
iD
- The iD (in)pAnnotateLayerProperties
- A reference to a com.esri.arcgis.carto.IAnnotateLayerProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |