com.esri.arcgis.display
Interface IRepresentationRule

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IRepresentationRule2
All Known Implementing Classes:
IRepresentationRule2Proxy, IRepresentationRuleProxy, RepresentationRule

public interface IRepresentationRule
extends java.io.Serializable

COM Interface 'IRepresentationRule'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to members that control a representation rule.' 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 IID2b7be3ab_bb72_49d0_a6ee_63acd1f9068c
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void draw(int index, IOutputContext context, IGeometry geometry, IEnvelope envelope)
          Draws a layer of a representation rule.
 IBasicSymbol getLayer(int index)
          Layer at a given index.
 int getLayerCount()
          Number of layers in the representation rule.
 void insertLayer(int index, IBasicSymbol symbol)
          Adds a layer to the representation rule.
 void removeLayer(int index)
          Removes a layer from the representation rule.
 

Field Detail

IID2b7be3ab_bb72_49d0_a6ee_63acd1f9068c

static final int IID2b7be3ab_bb72_49d0_a6ee_63acd1f9068c
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

getLayerCount

int getLayerCount()
                  throws java.io.IOException,
                         AutomationException
Number of layers in the representation rule.

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

getLayer

IBasicSymbol getLayer(int index)
                      throws java.io.IOException,
                             AutomationException
Layer at a given index.

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

insertLayer

void insertLayer(int index,
                 IBasicSymbol symbol)
                 throws java.io.IOException,
                        AutomationException
Adds a layer to the representation rule.

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

removeLayer

void removeLayer(int index)
                 throws java.io.IOException,
                        AutomationException
Removes a layer from the representation rule.

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

draw

void draw(int index,
          IOutputContext context,
          IGeometry geometry,
          IEnvelope envelope)
          throws java.io.IOException,
                 AutomationException
Draws a layer of a representation rule. If index is -1, all layers are drawn.

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