|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that work with an array of symbols.
You can use this interface to work with the properties of a data driven symbol that is comprised of other symbols. Chart symbols are an example of a data driven symbol, as are dot density fill symbols. These symbols are designed only to be used by a ChartRenderer and a DotDensityRenderer respectively.
ISymbolArray is a generic interface that provides access to members that manage the individual symbols that make up the data driven symbols mentioned above. For example, for a PieChartSymbol, Symbol(i) provides access to the fill symbol for the ith pie slice. When rendered, this slice is mapped to a particular field in the data whose value for a particular feature determines the size of the pie slice. For a dot density renderer, Symbol(i) represents the marker symbol used to represent the density of values in the ith field added to the DotDensityRenderer.
You can use MoveSymbol to change the order of the individual symbols that make up a chart symbol or dot density fill symbol. For example, changing the order of symbols for a BarChartSymbol changes the order that bars/columns will appear on the map.
| Method Summary | |
void |
addSymbol(ISymbol symbol)
Adds a symbol to the array. |
void |
clearSymbols()
Removes all symbols from the array. |
void |
deleteSymbol(ISymbol symbol)
Delete the given symbol. |
ISymbol |
getSymbol(int index)
The symbol at the index position. |
int |
getSymbolCount()
The number of symbols. |
void |
moveSymbol(ISymbol symbol,
int toIndex)
Moves the given symbol to new index position. |
void |
setSymbolByRef(int index,
ISymbol symbol)
The symbol at the index position. |
| Method Detail |
public int getSymbolCount()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbol(int index)
throws java.io.IOException,
AutomationException
index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolByRef(int index,
ISymbol symbol)
throws java.io.IOException,
AutomationException
index - The index (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addSymbol(ISymbol symbol)
throws java.io.IOException,
AutomationException
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteSymbol(ISymbol symbol)
throws java.io.IOException,
AutomationException
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveSymbol(ISymbol symbol,
int toIndex)
throws java.io.IOException,
AutomationException
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)toIndex - The toIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearSymbols()
throws java.io.IOException,
AutomationException
java.io.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 | |||||||||