|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILegendItem3
Provides access to members that control how a layer appears in a legend. Can be stored in a style.
Method Summary | |
---|---|
void |
changeFlowDirection(boolean rightToLeft)
Indicates if a legend's flow direction changes. |
void |
createGraphics(IDisplay display,
ILegendFormat legendFormat)
Rebuilds the list of graphics. |
short |
getColumns()
Number of columns in the legend item. |
IEnumElement |
getGraphics()
List of graphics that represent the legend item. |
int |
getGroupIndex()
Zero-based index of the legend group shown by this item. |
ITextSymbol |
getHeadingSymbol()
Text symbol used to draw the heading. |
double |
getHeight()
Height of the item in points. |
ILayer |
getLayer()
Associated layer. |
ITextSymbol |
getLayerNameSymbol()
Text symbol used to draw the layer name. |
ILegendClassFormat |
getLegendClassFormat()
Default formatting information for the legend classes. |
String |
getName()
Name of the style. |
double |
getReferenceScaleRatio()
The ratio calculated by dividing the map reference scale by the map scale. |
double |
getWidth()
Width of the item in points. |
boolean |
isCanDisplay(ILayer layer)
Indicates if the style is compatible with the specified layer. |
boolean |
isKeepTogether()
Indicates if classes must appear in a single column or whether they can be split across multiple columns. |
boolean |
isNewColumn()
Indicates if the item starts a new column in the legend. |
boolean |
isShowDescriptions()
Indicates if descriptions are visible. |
boolean |
isShowHeading()
Indicates if heading is visibile. |
boolean |
isShowLabels()
Indicates if labels are visible. |
boolean |
isShowLayerName()
Indicates if layer name is visibile. |
void |
setColumns(short columns)
Number of columns in the legend item. |
void |
setGroupIndex(int index)
Zero-based index of the legend group shown by this item. |
void |
setHeadingSymbol(ITextSymbol symbol)
Text symbol used to draw the heading. |
void |
setKeepTogether(boolean flag)
Indicates if classes must appear in a single column or whether they can be split across multiple columns. |
void |
setLayerByRef(ILayer layer)
Associated layer. |
void |
setLayerNameSymbol(ITextSymbol symbol)
Text symbol used to draw the layer name. |
void |
setLegendClassFormat(ILegendClassFormat format)
Default formatting information for the legend classes. |
void |
setNewColumn(boolean flag)
Indicates if the item starts a new column in the legend. |
void |
setReferenceScaleRatio(double ratio)
The ratio calculated by dividing the map reference scale by the map scale. |
void |
setShowDescriptions(boolean showDescriptions)
Indicates if descriptions are visible. |
void |
setShowHeading(boolean showHeading)
Indicates if heading is visibile. |
void |
setShowLabels(boolean showLabels)
Indicates if labels are visible. |
void |
setShowLayerName(boolean showLayerName)
Indicates if layer name is visibile. |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanDisplay(ILayer layer) throws IOException, AutomationException
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayer getLayer() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLayerByRef(ILayer layer) throws IOException, AutomationException
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isNewColumn() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setNewColumn(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getColumns() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setColumns(short columns) throws IOException, AutomationException
columns
- The columns (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isKeepTogether() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setKeepTogether(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isShowLayerName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowLayerName(boolean showLayerName) throws IOException, AutomationException
showLayerName
- The showLayerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITextSymbol getLayerNameSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLayerNameSymbol(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.int getGroupIndex() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGroupIndex(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isShowHeading() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowHeading(boolean showHeading) throws IOException, AutomationException
showHeading
- The showHeading (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITextSymbol getHeadingSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHeadingSymbol(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.ILegendClassFormat getLegendClassFormat() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLegendClassFormat(ILegendClassFormat format) throws IOException, AutomationException
format
- A reference to a com.esri.arcgis.carto.ILegendClassFormat (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isShowLabels() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowLabels(boolean showLabels) throws IOException, AutomationException
showLabels
- The showLabels (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isShowDescriptions() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowDescriptions(boolean showDescriptions) throws IOException, AutomationException
showDescriptions
- The showDescriptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void createGraphics(IDisplay display, ILegendFormat legendFormat) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)legendFormat
- A reference to a com.esri.arcgis.carto.ILegendFormat (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getWidth() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getHeight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumElement getGraphics() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void changeFlowDirection(boolean rightToLeft) throws IOException, AutomationException
rightToLeft
- The rightToLeft (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getReferenceScaleRatio() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReferenceScaleRatio(double ratio) throws IOException, AutomationException
ratio
- The ratio (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 |