com.esri.arcgis.cartoUI
Interface IAVObject

All Superinterfaces:
Serializable
All Known Implementing Classes:
AVObject

public interface IAVObject
extends Serializable

Provides access to members that control the ArcView (3.x) object.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void addProperty(IProperty prop)
          Adds a property to the object.
 void clearProperties()
          Clears out all of the properties of the object.
 IProperty getProperty(int index)
          The properties at the given index.
 int getPropertyCount()
          Number of properties for the object.
 String getType()
          Type of object.
 String queryPropertyValue(String propertyName)
          Returns the value of one of the object's properties.
 void setType(String type)
          Type of object.
 

Method Detail

getType

String getType()
               throws IOException,
                      AutomationException
Type of object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setType

void setType(String type)
             throws IOException,
                    AutomationException
Type of object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
type - The type (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertyCount

int getPropertyCount()
                     throws IOException,
                            AutomationException
Number of properties for the object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getProperty

IProperty getProperty(int index)
                      throws IOException,
                             AutomationException
The properties at the given index.

Product Availability

Available with ArcGIS Desktop.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IProperty
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addProperty

void addProperty(IProperty prop)
                 throws IOException,
                        AutomationException
Adds a property to the object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
prop - A reference to a com.esri.arcgis.geodatabase.IProperty (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPropertyValue

String queryPropertyValue(String propertyName)
                          throws IOException,
                                 AutomationException
Returns the value of one of the object's properties. Only valid if you're expecting a single property with the given name.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
propertyName - The propertyName (in)
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearProperties

void clearProperties()
                     throws IOException,
                            AutomationException
Clears out all of the properties of the object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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