com.esri.arcgis.schematic
Class INgBoundedPropertyProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.schematic.INgBoundedPropertyProxy
All Implemented Interfaces:
INgBoundedProperty, Externalizable, Serializable

public class INgBoundedPropertyProxy
extends com.esri.arcgis.interop.Dispatch
implements INgBoundedProperty, Serializable

Provides access to members that control the bounded property.

Description

A bounded property lets you specify the graphic effects matching different value ranges.

To associate graphic effects with a bounded property, the possible value ranges of the property must be specified; that is, you will have to define the bounded filters of the property (AddFilter method).

Product Availability

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

See Also:
INgDiscreteProperty, INgDirectProperty, INgTextualProperty, INgProperty, INgElementType.createProperty(String, int, int, int), Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INgBoundedPropertyProxy()
           
  INgBoundedPropertyProxy(Object obj)
           
protected INgBoundedPropertyProxy(Object obj, String iid)
           
 
Method Summary
 INgBoundedFilter addFilter(int filterNum, String name, Object lowerBound, Object upperBound)
          Creates the filter 'filterNum' named 'name' for the property values ranging between the 'lowerBound' and 'upperBound' values.
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void deleteFilter(int filterNum)
          Deletes the bounded filter 'filterNum'.
 INgElements getElementsByFilter(INgDiagram diagram, int filterNum, int mode)
          Returns all the elements contained in the diagram 'Diagram' whose property value is equal or not equal (see esriNgFilterSelectionMode) to a value in the value range of the filter 'filterNum' defined for that same property.
 INgElementType getElementType()
          Element type the bounded property applies to.
 INgBoundedFilters getFilters()
          Collection of bounded filters defined for the bounded property.
 String getName()
          Name of the bounded property.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setName(String pVal)
          Name of the bounded property.
 void writeExternal(ObjectOutput out)
           
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INgBoundedPropertyProxy

public INgBoundedPropertyProxy()

INgBoundedPropertyProxy

public INgBoundedPropertyProxy(Object obj)
                        throws IOException
Throws:
IOException

INgBoundedPropertyProxy

protected INgBoundedPropertyProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getName

public String getName()
               throws IOException,
                      AutomationException
Name of the bounded property.

Description

This name is defined when the bounded property is created:

- either by calling the INgElementType CreateProperty method in the program code

- or through ArcGIS Schematics Designer, when the bounded property has been created.

Product Availability

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

Specified by:
getName in interface INgBoundedProperty
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String pVal)
             throws IOException,
                    AutomationException
Name of the bounded property.

Product Availability

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

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

getFilters

public INgBoundedFilters getFilters()
                             throws IOException,
                                    AutomationException
Collection of bounded filters defined for the bounded property.

Product Availability

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

Specified by:
getFilters in interface INgBoundedProperty
Returns:
A reference to a com.esri.arcgis.schematic.INgBoundedFilters
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementsByFilter

public INgElements getElementsByFilter(INgDiagram diagram,
                                       int filterNum,
                                       int mode)
                                throws IOException,
                                       AutomationException
Returns all the elements contained in the diagram 'Diagram' whose property value is equal or not equal (see esriNgFilterSelectionMode) to a value in the value range of the filter 'filterNum' defined for that same property.

Product Availability

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

Specified by:
getElementsByFilter in interface INgBoundedProperty
Parameters:
diagram - A reference to a com.esri.arcgis.schematic.INgDiagram (in)
filterNum - The filterNum (in)
mode - A com.esri.arcgis.schematic.esriNgFilterSelectionMode constant (in)
Returns:
A reference to a com.esri.arcgis.schematic.INgElements
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFilter

public INgBoundedFilter addFilter(int filterNum,
                                  String name,
                                  Object lowerBound,
                                  Object upperBound)
                           throws IOException,
                                  AutomationException
Creates the filter 'filterNum' named 'name' for the property values ranging between the 'lowerBound' and 'upperBound' values.

Product Availability

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

Specified by:
addFilter in interface INgBoundedProperty
Parameters:
filterNum - The filterNum (in)
name - The name (in)
lowerBound - A Variant (in)
upperBound - A Variant (in)
Returns:
A reference to a com.esri.arcgis.schematic.INgBoundedFilter
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgBoundedProperty.deleteFilter(int)

deleteFilter

public void deleteFilter(int filterNum)
                  throws IOException,
                         AutomationException
Deletes the bounded filter 'filterNum'.

Product Availability

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

Specified by:
deleteFilter in interface INgBoundedProperty
Parameters:
filterNum - The filterNum (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgBoundedProperty.addFilter(int, String, java.lang.Object, java.lang.Object)

getElementType

public INgElementType getElementType()
                              throws IOException,
                                     AutomationException
Element type the bounded property applies to.

Product Availability

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

Specified by:
getElementType in interface INgBoundedProperty
Returns:
A reference to a com.esri.arcgis.schematic.INgElementType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException