com.esri.arcgis.carto
Interface ICoverageAnnotationLayer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CadAnnotationLayer, CoverageAnnotationLayer, ICoverageAnnotationLayerProxy

public interface ICoverageAnnotationLayer
extends java.io.Serializable

COM Interface 'ICoverageAnnotationLayer'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control a coverage annotation layer.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID0c22a4c7_dafd_11d2_9f46_00c04f6bc78e
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IEnumElement generateGraphics(IEnvelope box, IDisplay display)
          Generates graphic elements from the annotation features.
 ILineSymbol getArrowSymbol()
          The line symbol for the arrow.
 Font getFont(int symbolNumber)
          The font for the specified symbol number.
 IColor getFontColor(int symbolNumber)
          The font color for the specified symbol number.
 int getLevelCount()
          The number of levels in the layer.
 int getLevelNumber(int index)
          The level number at the specified index.
 IElement getNextGraphic()
          Generates the next graphic element in the graphics generation loop.
 int getSymbolCount()
          The number of symbols used by the layer.
 int getSymbolNumber(int index)
          The symbol number at the specified index.
 ITextSymbol getTextSymbol(int symbolNumber)
          The text symbol for the specified symbol number.
 boolean isLevelVisibility(int levelNumber)
          Indicates if the level at the specified level number is visible.
 void nextFeatureAndGraphic(IFeature[] feature, IElement[] element)
          Generates the next feature and graphic element in the graphics generation loop.
 void setArrowSymbolByRef(ILineSymbol symbol)
          The line symbol for the arrow.
 void setFontByRef(int symbolNumber, Font font)
          The font for the specified symbol number.
 void setFontColorByRef(int symbolNumber, IColor color)
          The font color for the specified symbol number.
 void setLevelVisibility(int levelNumber, boolean visible)
          Indicates if the level at the specified level number is visible.
 void setTextSymbolByRef(int symbolNumber, ITextSymbol symbol)
          The text symbol for the specified symbol number.
 void startGeneratingGraphics(IEnvelope box, IDisplay display, boolean withAttributes)
          Starts a graphics generation process from the annotation features.
 

Field Detail

IID0c22a4c7_dafd_11d2_9f46_00c04f6bc78e

static final int IID0c22a4c7_dafd_11d2_9f46_00c04f6bc78e
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getSymbolCount

int getSymbolCount()
                   throws java.io.IOException,
                          AutomationException
The number of symbols used by the layer.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbolNumber

int getSymbolNumber(int index)
                    throws java.io.IOException,
                           AutomationException
The symbol number at the specified index.

Parameters:
index - The index (in)
Returns:
The symbolNumber
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFont

Font getFont(int symbolNumber)
             throws java.io.IOException,
                    AutomationException
The font for the specified symbol number.

Parameters:
symbolNumber - The symbolNumber (in)
Returns:
A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFontByRef

void setFontByRef(int symbolNumber,
                  Font font)
                  throws java.io.IOException,
                         AutomationException
The font for the specified symbol number.

Parameters:
symbolNumber - The symbolNumber (in)
font - A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFontColor

IColor getFontColor(int symbolNumber)
                    throws java.io.IOException,
                           AutomationException
The font color for the specified symbol number.

Parameters:
symbolNumber - The symbolNumber (in)
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFontColorByRef

void setFontColorByRef(int symbolNumber,
                       IColor color)
                       throws java.io.IOException,
                              AutomationException
The font color for the specified symbol number.

Parameters:
symbolNumber - The symbolNumber (in)
color - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextSymbol

ITextSymbol getTextSymbol(int symbolNumber)
                          throws java.io.IOException,
                                 AutomationException
The text symbol for the specified symbol number.

Parameters:
symbolNumber - The symbolNumber (in)
Returns:
A reference to a com.esri.arcgis.display.ITextSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextSymbolByRef

void setTextSymbolByRef(int symbolNumber,
                        ITextSymbol symbol)
                        throws java.io.IOException,
                               AutomationException
The text symbol for the specified symbol number.

Parameters:
symbolNumber - The symbolNumber (in)
symbol - A reference to a com.esri.arcgis.display.ITextSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLevelCount

int getLevelCount()
                  throws java.io.IOException,
                         AutomationException
The number of levels in the layer.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLevelNumber

int getLevelNumber(int index)
                   throws java.io.IOException,
                          AutomationException
The level number at the specified index.

Parameters:
index - The index (in)
Returns:
The pLevelNumber
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLevelVisibility

boolean isLevelVisibility(int levelNumber)
                          throws java.io.IOException,
                                 AutomationException
Indicates if the level at the specified level number is visible.

Parameters:
levelNumber - The levelNumber (in)
Returns:
The visible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLevelVisibility

void setLevelVisibility(int levelNumber,
                        boolean visible)
                        throws java.io.IOException,
                               AutomationException
Indicates if the level at the specified level number is visible.

Parameters:
levelNumber - The levelNumber (in)
visible - The visible (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getArrowSymbol

ILineSymbol getArrowSymbol()
                           throws java.io.IOException,
                                  AutomationException
The line symbol for the arrow.

Returns:
A reference to a com.esri.arcgis.display.ILineSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setArrowSymbolByRef

void setArrowSymbolByRef(ILineSymbol symbol)
                         throws java.io.IOException,
                                AutomationException
The line symbol for the arrow.

Parameters:
symbol - A reference to a com.esri.arcgis.display.ILineSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateGraphics

IEnumElement generateGraphics(IEnvelope box,
                              IDisplay display)
                              throws java.io.IOException,
                                     AutomationException
Generates graphic elements from the annotation features. The optional envelope specifies a bounding box. The display is used for converting from map units.

Parameters:
box - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startGeneratingGraphics

void startGeneratingGraphics(IEnvelope box,
                             IDisplay display,
                             boolean withAttributes)
                             throws java.io.IOException,
                                    AutomationException
Starts a graphics generation process from the annotation features. The optional envelope specifies a bounding box. The display is used for converting from map units.

Parameters:
box - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
withAttributes - The withAttributes (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNextGraphic

IElement getNextGraphic()
                        throws java.io.IOException,
                               AutomationException
Generates the next graphic element in the graphics generation loop. Returns a NULL element after the last annotation feature has been read. Call only after StartGeneratingGraphics.

Returns:
A reference to a com.esri.arcgis.carto.IElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextFeatureAndGraphic

void nextFeatureAndGraphic(IFeature[] feature,
                           IElement[] element)
                           throws java.io.IOException,
                                  AutomationException
Generates the next feature and graphic element in the graphics generation loop. Returns a NULL feature and element after the last annotation feature has been read. Call only after StartGeneratingGraphics.

Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (out: use single element array)
element - A reference to a com.esri.arcgis.carto.IElement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.