|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INgPropertyFilter
Provides access to members that control the property filter.
A discrete filter refers to a specific value of a property. It can be assigned a name that may be displayed on its related elements. One or several graphic effects matching the property value can be specified for each filter. The graphic effects thus defined apply to all the network elements that are then assigned this property value. In the following example, all the links in the network whose Road Type property value is equal to IS will be represented by a red dotted line.
A bounded filter corresponds to a range of values a property can take. Besides specifying the lower and higher bounds of the value range, the filter can be assigned a name that can be displayed on the element it is related to. One or more graphic effects matching the range of values defined for the property can be specified for each filter. The graphic effects thus defined apply to all the network elements that are then assigned a value within the corresponding value range. In the following example, all the links in the network whose Traffic property value is equal to 125 will be represented by a pattern composed of two red circles.
INgDiscreteFilter,
INgBoundedFilter| Method Summary | |
|---|---|
String |
getName()
Name of the property filter. |
int |
getNumber()
Number associated with the property filter. |
int |
getType()
Type of the property filter. |
void |
setName(String pVal)
Name of the property filter. |
| Method Detail |
|---|
int getNumber()
throws IOException,
AutomationException
This number is defined when the property filter is created:
- Either by calling the INgBoundedProperty AddFilter or INgDiscreteProperty AddFilter methods in the program code,
- Or when it is created with ArcGIS Schematics Designer.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgPropertyFilter.getName()
String getName()
throws IOException,
AutomationException
This name is defined when the property filter is created:
- Either by calling the INgBoundedProperty AddFilter or INgDiscreteProperty AddFilter methods in the program code,
- Or when it is created with ArcGIS Schematics Designer.
If needed, property filter name can be redefined.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgPropertyFilter.getNumber()
void setName(String pVal)
throws IOException,
AutomationException
pVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getType()
throws IOException,
AutomationException
This depends on the type of the associated property: For a discrete property, the filter type is esriNgDiscreteFilterType and for a bounded property, esriNgBoundedFilterType.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiscreteFilter,
INgBoundedFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||