|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFlagDisplay
Provides access to members that specify the network element on which a flag is located.
Flags need to be created on features in a geometric network. Using the IFlagDisplay interface you can specify which features have a flag on them. Flags need to be created differently depending on whether they are on edge features or junction features.
IJunctionFlagDisplay
,
IEdgeFlagDisplay
,
IFlagDisplay
,
Once the EdgeFlagDisplay or JunctionFlagDisplay object is created, you need to get a reference to the IFlagDisplay interface to specify to which feature the flag belongs. This requires knowing three items about a feature:
1. UserClassID - This is the ID of the feature class which the feature belongs to.
2. UserID - This is the ID of the feature within the feature class.
3. UserSubID - This is the ID of an individual element within a feature.
These three properties can be queried from a network element ID (EID) by calling INetElements::QueryIDs.
The utility network analysis extension now needs to know about this flag to use it in any tracing functions. You can add the flag to the extensions using the INetworkAnalysisExtFlags interface.
Method Summary | |
---|---|
int |
getClientClassID()
User-specified client class ID of this flag. |
int |
getClientFID()
User-specified feature ID of the flag. |
int |
getFeatureClassID()
Feature class ID of the element on which the flag is placed. |
int |
getFID()
Feature ID of the network element on which the flag is placed. |
IGeometry |
getGeometry()
Point object containing the flag's coordinates. |
int |
getSubID()
Sub ID of the network element on which the flag is placed. |
ISymbol |
getSymbol()
Symbol used to display the flag. |
void |
setClientClassID(int clientClassID)
User-specified client class ID of this flag. |
void |
setClientFID(int clientFID)
User-specified feature ID of the flag. |
void |
setFeatureClassID(int fClassID)
Feature class ID of the element on which the flag is placed. |
void |
setFID(int fID)
Feature ID of the network element on which the flag is placed. |
void |
setGeometryByRef(IGeometry geometry)
Point object containing the flag's coordinates. |
void |
setSubID(int subID)
Sub ID of the network element on which the flag is placed. |
void |
setSymbolByRef(ISymbol symbol)
Symbol used to display the flag. |
Method Detail |
---|
int getFID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFID(int fID) throws IOException, AutomationException
fID
- The fID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSubID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSubID(int subID) throws IOException, AutomationException
subID
- The subID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFeatureClassID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFeatureClassID(int fClassID) throws IOException, AutomationException
fClassID
- The fClassID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISymbol getSymbol() throws IOException, AutomationException
This property is used only for displaying of the flag in ArcMap.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSymbolByRef(ISymbol symbol) throws IOException, AutomationException
This property is used only for displaying of the flag in ArcMap.
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry getGeometry() throws IOException, AutomationException
This property is primarily used for displaying the flag in ArcMap.
It is also used by the Utility Network Analysis extension for relocating the flag on the geometric network after edits have been made to the geodatabase.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGeometryByRef(IGeometry geometry) throws IOException, AutomationException
This property is primarily used for displaying the flag in ArcMap.
It is also used by the Utility Network Analysis extension for relocating the flag on the geometric network after edits have been made to the geodatabase.
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getClientClassID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setClientClassID(int clientClassID) throws IOException, AutomationException
clientClassID
- The clientClassID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getClientFID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setClientFID(int clientFID) throws IOException, AutomationException
clientFID
- The clientFID (in)
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 |