| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFieldOverrides
Provides access to a collection of field overrides.
Use IFieldOverrides interface to manage the different field overrides set for specific graphical attribute of basic symbol, geometric effect and marker placement that are present within a representation rule.
Add method can be used to add a new field override given an Index of a specific graphical attribute within a GraphicAttributes collection and the Name of the field into which the attribute overrides are written to.
Reset method is used to reset all field overrides present on a representation rule. Next method is used to retrieve the individual field override. Use IFieldOverride interface to access properties present for a field override. Note: Reset method has to be called prior to calling Next method.
Note: FieldOverrides can be explicitly made only when the Field type matches with the graphical attribute type.
| Index - esriGraphicAttributeType | 
 Supported esriFieldType (IField::Type)  | 
|---|---|
| 0 - esriAttributeTypeBoolean | esriFieldTypeInteger, esriFieldTypeSmallInteger, esriFieldTypeString | 
| 1 - esriAttributeTypeInteger | esriFieldTypeInteger, esriFieldTypeSmallInteger | 
| 2 - esriAttributeTypeEnum | esriFieldTypeInteger, esriFieldTypeSmallInteger | 
| 3 - esriAttributeTypeDouble | esriFieldTypeSingle, esriFieldTypeDouble | 
| 4 - esriAttributeTypeSize | esriFieldTypeSingle, esriFieldTypeDouble | 
| 5 - esriAttributeTypeText | esriFieldTypeString | 
| 6 - esriAttributeTypeColor | esriFieldTypeBlob | 
| 7 - esriAttributeTypeMarker | esriFieldTypeBlob | 
| 8 - esriAttributeTypeDash | esriFieldTypeString | 
| Method Summary | |
|---|---|
 void | 
add(IGraphicAttributes attributes,
    int graphicAttributeIndex,
    String fieldName)
Creates an explicit override with field content.  | 
 IFieldOverride | 
next()
Accesses the next field override in the collection.  | 
 void | 
reset()
Resets the override collection, before calling Next.  | 
| Method Detail | 
|---|
void add(IGraphicAttributes attributes,
         int graphicAttributeIndex,
         String fieldName)
         throws IOException,
                AutomationException
attributes - A reference to a com.esri.arcgis.display.IGraphicAttributes  (in)graphicAttributeIndex - The graphicAttributeIndex  (in)fieldName - The fieldName  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void reset()
           throws IOException,
                  AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IFieldOverride next()
                    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 | ||||||||