|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INgDiscreteProperty
Provides access to members that control the discrete property.
A discrete property lets you specify the graphic effects matching a final list of values for the property.
To associate graphic effects with a discrete property, the possible finite set of numbers or alphanumeric code of the property must be specified; that is, you will have to define the discrete filters of the property (AddFilter method).
INgDirectProperty,
INgTextualProperty,
INgBoundedProperty,
INgProperty,
INgElementType.createProperty(String, int, int, int)| Method Summary | |
|---|---|
INgDiscreteFilter |
addFilter(int filterNum,
String name,
Object value)
Creates the filter 'filterNum' named 'name' for the property value 'value'. |
void |
deleteFilter(int filterNum)
Deletes the discrete filter 'filterNum'. |
INgElements |
getElementsByFilter(INgDiagram diagram,
int filterNum,
int mode)
Returns all the elements contained in the diagram 'Diagram' that match the 'filternum' discrete filter (mode=esriNgFilterEqual) or that do not match the 'filterNum' discrete filter (mode = esriNgFilterDifferent) (see esriNgFilterSelectionMode). |
INgElementType |
getElementType()
Element type the discrete property applies to. |
INgDiscreteFilters |
getFilters()
Collection of the discrete filters defined for the discrete property. |
String |
getName()
Name of the discrete property. |
void |
setName(String pVal)
Name of the discrete property. |
| Method Detail |
|---|
String getName()
throws IOException,
AutomationException
This name is defined when the discrete property is created:
- either by calling the INgElementType CreateProperty method in the program code,
- or through ArcGIS Schematics Designer, when the discrete property has been created.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
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.
INgDiscreteFilters getFilters()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiscreteProperty.addFilter(int, String, java.lang.Object)
INgElements getElementsByFilter(INgDiagram diagram,
int filterNum,
int mode)
throws IOException,
AutomationException
diagram - A reference to a com.esri.arcgis.schematic.INgDiagram (in)filterNum - The filterNum (in)mode - A com.esri.arcgis.schematic.esriNgFilterSelectionMode constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INgDiscreteFilter addFilter(int filterNum,
String name,
Object value)
throws IOException,
AutomationException
filterNum - The filterNum (in)name - The name (in)value - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiscreteProperty.getFilters(),
INgDiscreteProperty.deleteFilter(int)
void deleteFilter(int filterNum)
throws IOException,
AutomationException
filterNum - The filterNum (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiscreteProperty.addFilter(int, String, java.lang.Object)
INgElementType getElementType()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||