com.esri.arcgis.carto
Class IACValueMapRendererProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.carto.IACValueMapRendererProxy
All Implemented Interfaces:
java.io.Externalizable, IACValueMapRenderer, java.io.Serializable

public class IACValueMapRendererProxy
extends Dispatch
implements IACValueMapRenderer, java.io.Serializable

Provides access to members that control ArcIMS value map renderer.

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
  IACValueMapRendererProxy()
          For internal use only
  IACValueMapRendererProxy(java.lang.Object obj)
           
protected IACValueMapRendererProxy(java.lang.Object obj, java.lang.String iid)
           
  IACValueMapRendererProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IACValueMapRendererProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void add(IACSymbol symbol, int range, java.lang.String value, java.lang.String label, java.lang.String lower, java.lang.String upper)
          Adds a value and corresponding symbol to the list.
 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 clear()
          Clears all values.
 int getCount()
          Number of unique values used to categorize the data.
 java.lang.String getLabel(int index)
          Label for the specified value.
 java.lang.String getLookupField()
          Field name that is used to categorize features.
 java.lang.String getLower(int index)
          The lower value of the range.
 int getRangeType(int index)
          The type of categorization for the values within the specified field.
 IACSymbol getSymbol(int index)
          Symbol associated with the specified value.
 java.lang.String getUpper(int index)
          The upper value of the range.
 java.lang.String getValue(int index)
          The unique value for the specified field.
 void remove(int index)
          Removes a value.
 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 setLabel(int index, java.lang.String label)
          Label for the specified value.
 void setLookupField(java.lang.String lookupField)
          Field name that is used to categorize features.
 void setLower(int index, java.lang.String value)
          The lower value of the range.
 void setRangeType(int index, int range)
          The type of categorization for the values within the specified field.
 void setSymbol(int index, IACSymbol symbol)
          Symbol associated with the specified value.
 void setUpper(int index, java.lang.String value)
          The upper value of the range.
 void setValue(int index, java.lang.String value)
          The unique value for the specified field.
 
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

IACValueMapRendererProxy

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

IACValueMapRendererProxy

public IACValueMapRendererProxy()
For internal use only


IACValueMapRendererProxy

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

IACValueMapRendererProxy

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

IACValueMapRendererProxy

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

getLookupField

public java.lang.String getLookupField()
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: IACValueMapRenderer
Field name that is used to categorize features.

Supported Platforms

Windows, Solaris, Linux

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

setLookupField

public void setLookupField(java.lang.String lookupField)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IACValueMapRenderer
Field name that is used to categorize features.

Supported Platforms

Windows, Solaris, Linux

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

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IACValueMapRenderer
Number of unique values used to categorize the data.

Supported Platforms

Windows, Solaris, Linux

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

getSymbol

public IACSymbol getSymbol(int index)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IACValueMapRenderer
Symbol associated with the specified value.

Supported Platforms

Windows, Solaris, Linux

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

setSymbol

public void setSymbol(int index,
                      IACSymbol symbol)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IACValueMapRenderer
Symbol associated with the specified value.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setSymbol in interface IACValueMapRenderer
Parameters:
index - The index (in)
symbol - A reference to a com.esri.arcgis.carto.IACSymbol (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getRangeType

public int getRangeType(int index)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IACValueMapRenderer
The type of categorization for the values within the specified field.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRangeType in interface IACValueMapRenderer
Parameters:
index - The index (in)
Returns:
A com.esri.arcgis.carto.acRangeType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRangeType

public void setRangeType(int index,
                         int range)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IACValueMapRenderer
The type of categorization for the values within the specified field.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setRangeType in interface IACValueMapRenderer
Parameters:
index - The index (in)
range - A com.esri.arcgis.carto.acRangeType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public java.lang.String getValue(int index)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IACValueMapRenderer
The unique value for the specified field.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getValue in interface IACValueMapRenderer
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

public void setValue(int index,
                     java.lang.String value)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IACValueMapRenderer
The unique value for the specified field.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setValue in interface IACValueMapRenderer
Parameters:
index - The index (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLabel

public java.lang.String getLabel(int index)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IACValueMapRenderer
Label for the specified value.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLabel in interface IACValueMapRenderer
Parameters:
index - The index (in)
Returns:
The label
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setLabel

public void setLabel(int index,
                     java.lang.String label)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IACValueMapRenderer
Label for the specified value.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setLabel in interface IACValueMapRenderer
Parameters:
index - The index (in)
label - The label (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpper

public java.lang.String getUpper(int index)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IACValueMapRenderer
The upper value of the range.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getUpper in interface IACValueMapRenderer
Parameters:
index - The index (in)
Returns:
The value
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setUpper

public void setUpper(int index,
                     java.lang.String value)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IACValueMapRenderer
The upper value of the range.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setUpper in interface IACValueMapRenderer
Parameters:
index - The index (in)
value - The value (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getLower

public java.lang.String getLower(int index)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IACValueMapRenderer
The lower value of the range.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLower in interface IACValueMapRenderer
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLower

public void setLower(int index,
                     java.lang.String value)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IACValueMapRenderer
The lower value of the range.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setLower in interface IACValueMapRenderer
Parameters:
index - The index (in)
value - The value (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

add

public void add(IACSymbol symbol,
                int range,
                java.lang.String value,
                java.lang.String label,
                java.lang.String lower,
                java.lang.String upper)
         throws java.io.IOException,
                AutomationException
Description copied from interface: IACValueMapRenderer
Adds a value and corresponding symbol to the list.

Supported Platforms

Windows, Solaris, Linux

Specified by:
add in interface IACValueMapRenderer
Parameters:
symbol - A reference to a com.esri.arcgis.carto.IACSymbol (in)
range - A com.esri.arcgis.carto.acRangeType constant (in)
value - The value (in)
label - The label (in)
lower - The lower (in)
upper - The upper (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Description copied from interface: IACValueMapRenderer
Clears all values.

Supported Platforms

Windows, Solaris, Linux

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

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IACValueMapRenderer
Removes a value.

Supported Platforms

Windows, Solaris, Linux

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