com.esri.arcgis.analyst3d
Class IGeometryMaterialProxy

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

public class IGeometryMaterialProxy
extends Dispatch
implements IGeometryMaterial, java.io.Serializable

Provides access to Material properties.

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
  IGeometryMaterialProxy()
          For internal use only
  IGeometryMaterialProxy(java.lang.Object obj)
           
protected IGeometryMaterialProxy(java.lang.Object obj, java.lang.String iid)
           
  IGeometryMaterialProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IGeometryMaterialProxy(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 clearTextureImage()
          Clear Texture Image file.
 void clearTransparentTextureColor()
          Clear the transparent color to the texture image.
 void getColor(double[] pRed, double[] pGreen, double[] pBlue)
          Get color, red, green, blue is in range of 0.0 - 1.0.
 IRgbColor getColor2()
          The color.
 void getTextureColorPalette(IArray[] ppRgbColors)
          The values of unique RGB colors in the texture image.
 java.lang.String getTextureImage()
          The Texture Image file.
 double getTransparency()
          The transparency, in range of 0.0 - 1.0.
 IRgbColor getTransparentTextureColor()
          The transparent texture color.
 boolean isHasTransparentTextureColor()
          Indicates if a transparent color has been assigned to the texture image.
 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 setColor(double red, double green, double blue)
          Set color, red, green, blue is in range of 0.0 - 1.0.
 void setColorByRef(IRgbColor ppRgbColor)
          The color.
 void setTextureImage(java.lang.String pFilePath)
          The Texture Image file.
 void setTransparency(double pTransparency)
          The transparency, in range of 0.0 - 1.0.
 void setTransparentTextureColorByRef(IRgbColor ppRgbColor)
          The transparent texture color.
 
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

IGeometryMaterialProxy

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

IGeometryMaterialProxy

public IGeometryMaterialProxy()
For internal use only


IGeometryMaterialProxy

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

IGeometryMaterialProxy

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

IGeometryMaterialProxy

protected IGeometryMaterialProxy(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

setColor

public void setColor(double red,
                     double green,
                     double blue)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IGeometryMaterial
Set color, red, green, blue is in range of 0.0 - 1.0.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setColor in interface IGeometryMaterial
Parameters:
red - The red (in)
green - The green (in)
blue - The blue (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getColor

public void getColor(double[] pRed,
                     double[] pGreen,
                     double[] pBlue)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IGeometryMaterial
Get color, red, green, blue is in range of 0.0 - 1.0.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getColor in interface IGeometryMaterial
Parameters:
pRed - The pRed (out: use single element array)
pGreen - The pGreen (out: use single element array)
pBlue - The pBlue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColorByRef

public void setColorByRef(IRgbColor ppRgbColor)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IGeometryMaterial
The color.

Specified by:
setColorByRef in interface IGeometryMaterial
Parameters:
ppRgbColor - A reference to a com.esri.arcgis.display.IRgbColor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor2

public IRgbColor getColor2()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGeometryMaterial
The color.

Specified by:
getColor2 in interface IGeometryMaterial
Returns:
A reference to a com.esri.arcgis.display.IRgbColor
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setTransparency

public void setTransparency(double pTransparency)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IGeometryMaterial
The transparency, in range of 0.0 - 1.0.

Supported Platforms

Windows, Solaris, Linux

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

getTransparency

public double getTransparency()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IGeometryMaterial
The transparency, in range of 0.0 - 1.0.

Supported Platforms

Windows, Solaris, Linux

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

setTextureImage

public void setTextureImage(java.lang.String pFilePath)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IGeometryMaterial
The Texture Image file.

Supported Platforms

Windows, Solaris, Linux

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

getTextureImage

public java.lang.String getTextureImage()
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IGeometryMaterial
The Texture Image file.

Supported Platforms

Windows, Solaris, Linux

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

clearTextureImage

public void clearTextureImage()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IGeometryMaterial
Clear Texture Image file.

Supported Platforms

Windows, Solaris, Linux

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

setTransparentTextureColorByRef

public void setTransparentTextureColorByRef(IRgbColor ppRgbColor)
                                     throws java.io.IOException,
                                            AutomationException
Description copied from interface: IGeometryMaterial
The transparent texture color.

Specified by:
setTransparentTextureColorByRef in interface IGeometryMaterial
Parameters:
ppRgbColor - A reference to a com.esri.arcgis.display.IRgbColor (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getTransparentTextureColor

public IRgbColor getTransparentTextureColor()
                                     throws java.io.IOException,
                                            AutomationException
Description copied from interface: IGeometryMaterial
The transparent texture color.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getTransparentTextureColor in interface IGeometryMaterial
Returns:
A reference to a com.esri.arcgis.display.IRgbColor
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isHasTransparentTextureColor

public boolean isHasTransparentTextureColor()
                                     throws java.io.IOException,
                                            AutomationException
Description copied from interface: IGeometryMaterial
Indicates if a transparent color has been assigned to the texture image.

Supported Platforms

Windows, Solaris, Linux

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

clearTransparentTextureColor

public void clearTransparentTextureColor()
                                  throws java.io.IOException,
                                         AutomationException
Description copied from interface: IGeometryMaterial
Clear the transparent color to the texture image.

Supported Platforms

Windows, Solaris, Linux

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

getTextureColorPalette

public void getTextureColorPalette(IArray[] ppRgbColors)
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IGeometryMaterial
The values of unique RGB colors in the texture image.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getTextureColorPalette in interface IGeometryMaterial
Parameters:
ppRgbColors - A reference to a com.esri.arcgis.system.IArray (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.