|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILookupSymbol
Provides access to functionality for looking up a renderer's symbol via a feature.
I LookupSymbol is used as a faster alternative to IFeatureRenderer::SymbolByFeature when querying for a features symbol during labeling. While SymbolByFeature hands out clones of a symbol, ISymbolLookup provides a framework where references to symbols are handed out and modifications of the symbol are reset. Your renderer should implement this interface to make labeling perform efficiently.
Method Summary | |
---|---|
ISymbol |
lookupSymbol(boolean firstPass,
IFeature feature)
Returns a reference to the renderer's symbol for the input feature. |
void |
resetLookupSymbol(ISymbol symbol)
Resets temporary options on the symbol (e.g. |
Method Detail |
---|
ISymbol lookupSymbol(boolean firstPass, IFeature feature) throws IOException, AutomationException
This method hands out a reference to the symbol for a specific feature. The firstPass parameter is passed in as True on the first call of this method. This allows the renderer to internally cache the symbols for succesive calls.
firstPass
- The firstPass (in)feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void resetLookupSymbol(ISymbol symbol) throws IOException, AutomationException
This method resets modifications to marker symbol angles that may be set on the symbol reference handed to the label engine. When implementing this interface it is important to reset any marker symbol rotation changes in this method.
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |