|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILegendClassFormat
Provides access to members that control formatting information for a legend class.
The LegendClassFormat defines the aspect of a LegendItem. Each LegendItem has its own LegendClassFormat which not surprisingly can be accessed through ILegendItem::LegendClassFormat.
A legend item may consist of a patch, a label and an optional description:
An area patch will be used for a layer displaying polygons and a line patch for a layer displaying lines.
A number of properties are provided to manage the patches used for this legend item. For more on patches, see the help under IPatch.
LabelSymbol and DescriptionSymbol allow you to set the TextSymbol used to display the Label and Description.
Method Summary | |
---|---|
IAreaPatch |
getAreaPatch()
The area patch. |
ITextSymbol |
getDescriptionSymbol()
Text symbol used to draw legend group descriptions. |
ITextSymbol |
getLabelSymbol()
Text symbol used to draw the legend group labels. |
ILinePatch |
getLinePatch()
The line patch. |
double |
getPatchHeight()
Height of the patch in points. |
double |
getPatchWidth()
Width of the patch in points. |
void |
setAreaPatch(IAreaPatch shape)
The area patch. |
void |
setDescriptionSymbol(ITextSymbol symbol)
Text symbol used to draw legend group descriptions. |
void |
setLabelSymbol(ITextSymbol symbol)
Text symbol used to draw the legend group labels. |
void |
setLinePatch(ILinePatch shape)
The line patch. |
void |
setPatchHeight(double height)
Height of the patch in points. |
void |
setPatchWidth(double width)
Width of the patch in points. |
Method Detail |
---|
ITextSymbol getLabelSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLabelSymbol(ITextSymbol symbol) throws IOException, AutomationException
symbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITextSymbol getDescriptionSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDescriptionSymbol(ITextSymbol symbol) throws IOException, AutomationException
symbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getPatchWidth() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPatchWidth(double width) throws IOException, AutomationException
width
- The width (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getPatchHeight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPatchHeight(double height) throws IOException, AutomationException
height
- The height (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILinePatch getLinePatch() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLinePatch(ILinePatch shape) throws IOException, AutomationException
shape
- A reference to a com.esri.arcgis.carto.ILinePatch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAreaPatch getAreaPatch() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAreaPatch(IAreaPatch shape) throws IOException, AutomationException
shape
- A reference to a com.esri.arcgis.carto.IAreaPatch (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 |