com.esri.arcgis.schematic
Class INgSymbolProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.schematic.INgSymbolProxy
All Implemented Interfaces:
INgSymbol, Externalizable, Serializable

public class INgSymbolProxy
extends com.esri.arcgis.interop.Dispatch
implements INgSymbol, Serializable

Provides access to members that define a Computer Graphic Metafile (CGM) symbol.

Description

A symbol is either a simple or a complex graphic figure described in a CGM-compliant file or a character symbol available with certain fonts. It is used to represent the nodes, flags, patterns, drawings, and background images.

The file in which a symbol is described may contain basic geometric elements (line, rectangle, circle, circle arc, text, ...), a boundary, a bounding box, a reference point, link ports and label and pole ports.

A symbol may also refer to another symbol (sub-symbol) by means of its anchor point and of its XY scaling factor and rotation angle.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INgSymbolProxy()
           
  INgSymbolProxy(Object obj)
           
protected INgSymbolProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void getBoundingBox(INgPoint[] upperLeftCorner, INgPoint[] lowerRightCorner)
          Returns the 'upperLeftCorner' and 'lowerRightCorner' points defining the symbol bounding box.
 String getName()
          Name of the symbol.
 INgSymbols getSubSymbols()
          List of the sub-symbols that compose the symbol.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INgSymbolProxy

public INgSymbolProxy()

INgSymbolProxy

public INgSymbolProxy(Object obj)
               throws IOException
Throws:
IOException

INgSymbolProxy

protected INgSymbolProxy(Object obj,
                         String iid)
                  throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getBoundingBox

public void getBoundingBox(INgPoint[] upperLeftCorner,
                           INgPoint[] lowerRightCorner)
                    throws IOException,
                           AutomationException
Returns the 'upperLeftCorner' and 'lowerRightCorner' points defining the symbol bounding box.

Product Availability

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

Specified by:
getBoundingBox in interface INgSymbol
Parameters:
upperLeftCorner - A reference to a com.esri.arcgis.schematic.INgPoint (out: use single element array)
lowerRightCorner - A reference to a com.esri.arcgis.schematic.INgPoint (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProject.getSymbol(String)

getSubSymbols

public INgSymbols getSubSymbols()
                         throws IOException,
                                AutomationException
List of the sub-symbols that compose the symbol.

Product Availability

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

Specified by:
getSubSymbols in interface INgSymbol
Returns:
A reference to a com.esri.arcgis.schematic.INgSymbols
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProject.getSymbol(String)

getName

public String getName()
               throws IOException,
                      AutomationException
Name of the symbol.

Description

It is the name of the associated CGM file.

Product Availability

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

Specified by:
getName in interface INgSymbol
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProject.getSymbol(String)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException