com.esri.arcgis.schematic
Class NgInformation

java.lang.Object
  extended by com.esri.arcgis.schematic.NgInformation
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INgInformation, ISupportErrorInfo, Serializable

public class NgInformation
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INgInformation, ISupportErrorInfo

Graphic information object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
NgInformation()
          Constructs a NgInformation using ArcGIS Engine.
NgInformation(Object obj)
          Construct a NgInformation using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 INgElement getElement()
          Information related to an element.
 INgElement getElementCharacterizedByProperty()
          Information related to the element associated with the property that information concerns.
 INgFlag getFlag()
          Information related to a flag.
 int getHandlePosition()
          Handle position of the selected bounded box.
 int getLinkPointNumber()
          Information related to a link vertex; returns the vertex number.
 INgPatternModel getPatternModel()
          Information related to a pattern model.
 INgPole getPole()
          Information related to a pole.
 int getPortNumber()
          Information related to a port; returns the port number.
 int getPortType()
          Information related to a port; returns the port type.
 INgProperty getProperty()
          Information related to a property.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isHandle()
          Indicates if the graphic information is related to a selected bounding box.
 
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

NgInformation

public NgInformation()
              throws IOException,
                     UnknownHostException
Constructs a NgInformation using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

NgInformation

public NgInformation(Object obj)
              throws IOException
Construct a NgInformation using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NgInformation.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems NgInformation theNgInformation = (NgInformation) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


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

getElement

public INgElement getElement()
                      throws IOException,
                             AutomationException
Information related to an element.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getElement in interface INgInformation
Returns:
A reference to a com.esri.arcgis.schematic.INgElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFlag

public INgFlag getFlag()
                throws IOException,
                       AutomationException
Information related to a flag.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFlag in interface INgInformation
Returns:
A reference to a com.esri.arcgis.schematic.INgFlag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPole

public INgPole getPole()
                throws IOException,
                       AutomationException
Information related to a pole.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPole in interface INgInformation
Returns:
A reference to a com.esri.arcgis.schematic.INgPole
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProperty

public INgProperty getProperty()
                        throws IOException,
                               AutomationException
Information related to a property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getProperty in interface INgInformation
Returns:
A reference to a com.esri.arcgis.schematic.INgProperty
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPatternModel

public INgPatternModel getPatternModel()
                                throws IOException,
                                       AutomationException
Information related to a pattern model.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPatternModel in interface INgInformation
Returns:
A reference to a com.esri.arcgis.schematic.INgPatternModel
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPortType

public int getPortType()
                throws IOException,
                       AutomationException
Information related to a port; returns the port type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPortType in interface INgInformation
Returns:
A com.esri.arcgis.schematic.esriNgPortType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPortNumber

public int getPortNumber()
                  throws IOException,
                         AutomationException
Information related to a port; returns the port number.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPortNumber in interface INgInformation
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLinkPointNumber

public int getLinkPointNumber()
                       throws IOException,
                              AutomationException
Information related to a link vertex; returns the vertex number.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLinkPointNumber in interface INgInformation
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHandle

public boolean isHandle()
                 throws IOException,
                        AutomationException
Indicates if the graphic information is related to a selected bounding box.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isHandle in interface INgInformation
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgInformation.getHandlePosition()

getHandlePosition

public int getHandlePosition()
                      throws IOException,
                             AutomationException
Handle position of the selected bounded box.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getHandlePosition in interface INgInformation
Returns:
A com.esri.arcgis.schematic.esriNgHandlePosition constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgInformation.isHandle()

getElementCharacterizedByProperty

public INgElement getElementCharacterizedByProperty()
                                             throws IOException,
                                                    AutomationException
Information related to the element associated with the property that information concerns.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getElementCharacterizedByProperty in interface INgInformation
Returns:
A reference to a com.esri.arcgis.schematic.INgElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.