com.esri.arcgis.display
Interface IPresetColorRamp

All Superinterfaces:
IColorRamp, java.io.Serializable
All Known Implementing Classes:
IPresetColorRampProxy, PresetColorRamp

public interface IPresetColorRamp
extends IColorRamp, java.io.Serializable

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

Description: 'Provides access to members that control the PresetColorRamp. A color ramp that must contain exactly 13 preset colors.' 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 IIDbeb87097_c0b4_11d0_8379_080009b996cc
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.display.IColorRamp
IIDbeb87091_c0b4_11d0_8379_080009b996cc
 
Method Summary
 int getNumberOfPresetColors()
          The number of valid colors in the color ramp.
 IColor getPresetColor(int index)
          The color at the index position.
 void setPresetColor(int index, IColor color)
          The color at the index position.
 
Methods inherited from interface com.esri.arcgis.display.IColorRamp
createRamp, getColor, getColors, getName, getSize, setName, setSize
 

Field Detail

IIDbeb87097_c0b4_11d0_8379_080009b996cc

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

setPresetColor

void setPresetColor(int index,
                    IColor color)
                    throws java.io.IOException,
                           AutomationException
The color at the index position.

Parameters:
index - The index (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.

getPresetColor

IColor getPresetColor(int index)
                      throws java.io.IOException,
                             AutomationException
The color at the index position.

Parameters:
index - The index (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.

getNumberOfPresetColors

int getNumberOfPresetColors()
                            throws java.io.IOException,
                                   AutomationException
The number of valid colors in the color ramp. This must equal 13 before you can get values from the ramp.

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