com.esri.arcgis.schematic
Class ISchematicAttributeScriptProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.schematic.ISchematicAttributeProxy
          extended by com.esri.arcgis.schematic.ISchematicAttributeScriptProxy
All Implemented Interfaces:
ISchematicAttribute, ISchematicAttributeScript, Externalizable, Serializable

public class ISchematicAttributeScriptProxy
extends ISchematicAttributeProxy
implements ISchematicAttributeScript, Serializable

Provides access to members that manage the schematic attribute script.

Description

An attribute Script is an attribute whose values will be computed by a VB script. This type of attribute may be used instead of a Function attribute in many cases. Configuring Script schematic attribute parameters consists of specifying that VB script.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ISchematicAttributeScriptProxy()
           
  ISchematicAttributeScriptProxy(Object obj)
           
protected ISchematicAttributeScriptProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 Object getParameterNames()
          Parameters names of the schematic attribute script.
 String getScript()
          Script of the schematic attribute script.
 void removeListener(String iidStr, Object theListener)
           
 void setParameterNames(Object names)
          Parameters names of the schematic attribute script.
 void setScript(String script)
          Script of the schematic attribute script.
 
Methods inherited from class com.esri.arcgis.schematic.ISchematicAttributeProxy
delete, getCLSID, getDescription, getName, getSchematicObjectClass, getValue, setName
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, 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.schematic.ISchematicAttribute
delete, getCLSID, getDescription, getName, getSchematicObjectClass, getValue, setName
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ISchematicAttributeScriptProxy

public ISchematicAttributeScriptProxy()

ISchematicAttributeScriptProxy

public ISchematicAttributeScriptProxy(Object obj)
                               throws IOException
Throws:
IOException

ISchematicAttributeScriptProxy

protected ISchematicAttributeScriptProxy(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 ISchematicAttributeProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class ISchematicAttributeProxy
Throws:
IOException

getScript

public String getScript()
                 throws IOException,
                        AutomationException
Script of the schematic attribute script.

Product Availability

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

Specified by:
getScript in interface ISchematicAttributeScript
Returns:
The script
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScript

public void setScript(String script)
               throws IOException,
                      AutomationException
Script of the schematic attribute script.

Remarks

Any VB Script statement (Looping, If, Select,... statement) or VB expression can be interpreted.

Product Availability

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

Specified by:
setScript in interface ISchematicAttributeScript
Parameters:
script - The script (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameterNames

public Object getParameterNames()
                         throws IOException,
                                AutomationException
Parameters names of the schematic attribute script.

Product Availability

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

Specified by:
getParameterNames in interface ISchematicAttributeScript
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParameterNames

public void setParameterNames(Object names)
                       throws IOException,
                              AutomationException
Parameters names of the schematic attribute script.

Product Availability

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

Specified by:
setParameterNames in interface ISchematicAttributeScript
Parameters:
names - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.