com.esri.arcgis.analyst3d
Class IMarker3DSymbolProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.analyst3d.IMarker3DSymbolProxy
All Implemented Interfaces:
java.io.Externalizable, IMarker3DSymbol, java.io.Serializable

public class IMarker3DSymbolProxy
extends Dispatch
implements IMarker3DSymbol, java.io.Serializable

Provides access to members that control the 3D marker symbol.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IMarker3DSymbolProxy()
          For internal use only
  IMarker3DSymbolProxy(java.lang.Object obj)
           
protected IMarker3DSymbolProxy(java.lang.Object obj, java.lang.String iid)
           
  IMarker3DSymbolProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IMarker3DSymbolProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 void createFromFile(java.lang.String fileName)
          Imports the symbol definition.
 int getMaterialCount()
          Number of materials present.
 IGeometry getShape()
          Marker shape geometry.
 IPicture getThumbnail()
          The symbol thumbnail for 2D representation.
 boolean isRestricted()
          Indicates if the marker restricts access to internal shape.
 boolean isUseMaterialDraping()
          Indicates if the marker uses material property for draping.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void restrictAccessToShape()
          Restricts all further access to internal shape.
 void setShapeByRef(IGeometry shape)
          Marker shape geometry.
 void setThumbnailByRef(IPicture thumbnail)
          The symbol thumbnail for 2D representation.
 void setUseMaterialDraping(boolean useDraping)
          Indicates if the marker uses material property for draping.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IMarker3DSymbolProxy

public IMarker3DSymbolProxy(java.lang.String CLSID,
                            java.lang.String host,
                            AuthInfo authInfo)
                     throws java.net.UnknownHostException,
                            java.io.IOException

IMarker3DSymbolProxy

public IMarker3DSymbolProxy()
For internal use only


IMarker3DSymbolProxy

public IMarker3DSymbolProxy(java.lang.Object obj)
                     throws java.io.IOException

IMarker3DSymbolProxy

protected IMarker3DSymbolProxy(java.lang.Object obj,
                               java.lang.String iid)
                        throws java.io.IOException

IMarker3DSymbolProxy

protected IMarker3DSymbolProxy(java.lang.String CLSID,
                               java.lang.String iid,
                               java.lang.String host,
                               AuthInfo authInfo)
                        throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object to be informed of the events
theSource - the proxy class that represents the COM class that is the source of the events
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object that no longer wishes to be informed of the events
Throws:
java.io.IOException

setShapeByRef

public void setShapeByRef(IGeometry shape)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IMarker3DSymbol
Marker shape geometry.

Specified by:
setShapeByRef in interface IMarker3DSymbol
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShape

public IGeometry getShape()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IMarker3DSymbol
Marker shape geometry.

Specified by:
getShape in interface IMarker3DSymbol
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isUseMaterialDraping

public boolean isUseMaterialDraping()
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: IMarker3DSymbol
Indicates if the marker uses material property for draping.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isUseMaterialDraping in interface IMarker3DSymbol
Returns:
The useDraping
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setUseMaterialDraping

public void setUseMaterialDraping(boolean useDraping)
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: IMarker3DSymbol
Indicates if the marker uses material property for draping.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setUseMaterialDraping in interface IMarker3DSymbol
Parameters:
useDraping - The useDraping (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaterialCount

public int getMaterialCount()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IMarker3DSymbol
Number of materials present.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMaterialCount in interface IMarker3DSymbol
Returns:
The cMaterials
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

createFromFile

public void createFromFile(java.lang.String fileName)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IMarker3DSymbol
Imports the symbol definition.

Supported Platforms

Windows, Solaris, Linux

Specified by:
createFromFile in interface IMarker3DSymbol
Parameters:
fileName - The fileName (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getThumbnail

public IPicture getThumbnail()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IMarker3DSymbol
The symbol thumbnail for 2D representation.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getThumbnail in interface IMarker3DSymbol
Returns:
A reference to a com.esri.arcgis.support.ms.stdole.IPicture
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setThumbnailByRef

public void setThumbnailByRef(IPicture thumbnail)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IMarker3DSymbol
The symbol thumbnail for 2D representation.

Specified by:
setThumbnailByRef in interface IMarker3DSymbol
Parameters:
thumbnail - A reference to a com.esri.arcgis.support.ms.stdole.IPicture (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

restrictAccessToShape

public void restrictAccessToShape()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: IMarker3DSymbol
Restricts all further access to internal shape.

Supported Platforms

Windows, Solaris, Linux

Remarks

Once a marker 3D symbol's shape/geometry is set to be restricted, its geometry cannot be obtained via ArcObjects.

Specified by:
restrictAccessToShape in interface IMarker3DSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRestricted

public boolean isRestricted()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IMarker3DSymbol
Indicates if the marker restricts access to internal shape.

Specified by:
isRestricted in interface IMarker3DSymbol
Returns:
The isRestricted
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.