com.esri.arcgis.display
Class IMultiLayerFillSymbolProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.display.IFillSymbolProxy
          extended bycom.esri.arcgis.display.IMultiLayerFillSymbolProxy
All Implemented Interfaces:
java.io.Externalizable, IFillSymbol, IMultiLayerFillSymbol, java.io.Serializable

public class IMultiLayerFillSymbolProxy
extends IFillSymbolProxy
implements IMultiLayerFillSymbol, java.io.Serializable

Provides access to members that control the multilayer fill symbol.

Product Availability

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

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
  IMultiLayerFillSymbolProxy()
          For internal use only
  IMultiLayerFillSymbolProxy(java.lang.Object obj)
           
protected IMultiLayerFillSymbolProxy(java.lang.Object obj, java.lang.String iid)
           
  IMultiLayerFillSymbolProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IMultiLayerFillSymbolProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addLayer(IFillSymbol fillLayer)
          Add fill symbol layer.
 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 clearLayers()
          Remove all symbol layers.
 void deleteLayer(IFillSymbol fillLayer)
          Delete fill symbol layer.
 void drawLayer(int index, IGeometry geometry)
          Draw a symbol layer.
 IFillSymbol getLayer(int index)
          Fill symbol per layer position.
 int getLayerCount()
          Symbol layer count.
 void moveLayer(IFillSymbol fillLayer, int toIndex)
          Change symbol layer position index.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 
Methods inherited from class com.esri.arcgis.display.IFillSymbolProxy
getColor, getOutline, setColor, setOutline
 
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
 
Methods inherited from interface com.esri.arcgis.display.IFillSymbol
getColor, getOutline, setColor, setOutline
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IMultiLayerFillSymbolProxy

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

IMultiLayerFillSymbolProxy

public IMultiLayerFillSymbolProxy()
For internal use only


IMultiLayerFillSymbolProxy

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

IMultiLayerFillSymbolProxy

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

IMultiLayerFillSymbolProxy

protected IMultiLayerFillSymbolProxy(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 IFillSymbolProxy
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 IFillSymbolProxy
Throws:
java.io.IOException

getLayerCount

public int getLayerCount()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IMultiLayerFillSymbol
Symbol layer count.

Supported Platforms

Windows, Solaris, Linux

Description

LayerCount returns the total number of layers currently contained in the IMultiLayerFillSymbol.

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

getLayer

public IFillSymbol getLayer(int index)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IMultiLayerFillSymbol
Fill symbol per layer position.

Supported Platforms

Windows, Solaris, Linux

Description

GetLayer returns an IFillSymbol from the specified index of the IMultiLayerFillSymbol.

Specified by:
getLayer in interface IMultiLayerFillSymbol
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.display.IFillSymbol
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

addLayer

public void addLayer(IFillSymbol fillLayer)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IMultiLayerFillSymbol
Add fill symbol layer.

Supported Platforms

Windows, Solaris, Linux

Description

AddLayer adds a single layer to the IMultiLayerFillSymbol. The layer can be of any type supported by the IFillSymbol interface except types implementing IMultiLayerFillSymbol.  In this case an E_INVALIDARG HRESULT will be thrown. Therefore, a MultiLayerFillSymbol cannot be imbeded within another MultiLayerFillSymbol.

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

deleteLayer

public void deleteLayer(IFillSymbol fillLayer)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IMultiLayerFillSymbol
Delete fill symbol layer.

Supported Platforms

Windows, Solaris, Linux

Description

DeleteLayer deletes the layer at the given index.

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

moveLayer

public void moveLayer(IFillSymbol fillLayer,
                      int toIndex)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IMultiLayerFillSymbol
Change symbol layer position index.

Supported Platforms

Windows, Solaris, Linux

Description

MoveLayer moves the spcefied IFillSymbol to the specified index within the IMultiLayerFillSymbol.

Specified by:
moveLayer in interface IMultiLayerFillSymbol
Parameters:
fillLayer - A reference to a com.esri.arcgis.display.IFillSymbol (in)
toIndex - The toIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearLayers

public void clearLayers()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IMultiLayerFillSymbol
Remove all symbol layers.

Supported Platforms

Windows, Solaris, Linux

Description

ClearLayers removes all the layers contained within the IMultiLayerFillSymbol.

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

drawLayer

public void drawLayer(int index,
                      IGeometry geometry)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IMultiLayerFillSymbol
Draw a symbol layer.

Supported Platforms

Windows, Solaris, Linux

Description

DrawLayer draws the IFillSymbol stored at the specified index within the IMultiLayerFillSymbol.

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