com.esri.arcgis.editor
Class AttributeWindow

java.lang.Object
  extended by com.esri.arcgis.editor.AttributeWindow
All Implemented Interfaces:
IAttributeWindow, com.esri.arcgis.interop.RemoteObjRef, IExtension, Serializable

public class AttributeWindow
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAttributeWindow, IExtension

Dialog for inspecting selected/editable features.

Remarks

The AttributeWindow is an Editor extension that provides a window for viewing additional information about selected features involved in the current edit session. The attributes window has two panels: the left panel lists the selected features, and the right panel houses an object inspector.

ArcMap ships with a default object inspector called the FeatureInspector, which facilitates attribute editing. A custom object inspector may be associated with Geodatabase feature classes; in this case, the custom inspector will show up in the right attributes window panel whenever a feature that belongs to one of these features classes is selected in the left panel.

Right-clicking a feature listed in the attributes window reveals a context menu with commands such as Highlight and Zoom To. This menu is not customizable; you cannot add or remove commands from this menu.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IExtension
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
 
Constructor Summary
AttributeWindow(Object obj)
          Construct a AttributeWindow using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIAttributeWindowEventsListener(IAttributeWindowEvents theListener)
          addIAttributeWindowEventsListener.
 boolean equals(Object o)
          Compare this object with another
 String getName()
          The name of the extension.
 IObjectInspector getObjectInspector()
          Current object attribute inspector.
 int hashCode()
          the hashcode for this object
 boolean isVisible()
          Indicates if Attribute Window is visible.
 void removeIAttributeWindowEventsListener(IAttributeWindowEvents theListener)
          removeIAttributeWindowEventsListener.
 void setVisible(boolean vis)
          Indicates if Attribute Window is visible.
 void shutdown()
          Shuts down the extension.
 void startup(Object initializationData)
          Starts up the extension with the given initialization data.
 
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

AttributeWindow

public AttributeWindow(Object obj)
                throws IOException
Construct a AttributeWindow using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AttributeWindow.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
AttributeWindow o = (AttributeWindow)obj; // will not work

AttributeWindow o = new AttributeWindow(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems AttributeWindow theAttributeWindow = (AttributeWindow) obj;
Method Detail

equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

addIAttributeWindowEventsListener

public void addIAttributeWindowEventsListener(IAttributeWindowEvents theListener)
                                       throws IOException
addIAttributeWindowEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.editor.IAttributeWindowEvents interface.
Throws:
IOException - If there are communications problems.

removeIAttributeWindowEventsListener

public void removeIAttributeWindowEventsListener(IAttributeWindowEvents theListener)
                                          throws IOException
removeIAttributeWindowEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.editor.IAttributeWindowEvents interface.
Throws:
IOException - If there are communications problems.

setVisible

public void setVisible(boolean vis)
                throws IOException,
                       AutomationException
Indicates if Attribute Window is visible.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setVisible in interface IAttributeWindow
Parameters:
vis - The vis (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

public boolean isVisible()
                  throws IOException,
                         AutomationException
Indicates if Attribute Window is visible.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
isVisible in interface IAttributeWindow
Returns:
The vis
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectInspector

public IObjectInspector getObjectInspector()
                                    throws IOException,
                                           AutomationException
Current object attribute inspector.

Remarks

Use IAttributeWindow::ObjectInspector to access the object inspector and listen for events triggered in the inspector.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getObjectInspector in interface IAttributeWindow
Returns:
A reference to a com.esri.arcgis.editor.IObjectInspector
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the extension.

Specified by:
getName in interface IExtension
Returns:
The extensionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startup

public void startup(Object initializationData)
             throws IOException,
                    AutomationException
Starts up the extension with the given initialization data.

Specified by:
startup in interface IExtension
Parameters:
initializationData - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws IOException,
                     AutomationException
Shuts down the extension.

Specified by:
shutdown in interface IExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.