|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILegend3
Provides access to additional members that control a legend.
Method Summary | |
---|---|
void |
addItem(ILegendItem item)
Adds a new item to the legend (to the end of the list). |
void |
adjustColumns(int columns)
Adjust the item settings so that the legend contains the specified number of columns. |
void |
clearItems()
Removes all items from the legend. |
void |
delayEvents(boolean delay)
Used to batch operations together to minimize notifications. |
void |
draw(IDisplay display,
ITrackCancel trackCancel,
IEnvelope bounds)
Draws the map surround into the specified display bounds. |
void |
fitToBounds(IDisplay display,
IEnvelope bounds,
boolean[] changed)
Adjusts the map surround to fit the bounds. |
ILegendItem |
getDefaultLegendItem(ILayer layer)
The default legend item for the specified layer. |
ILegendFormat |
getFormat()
The formatting options for the legend (can be stored in the style gallery). |
int |
getIcon()
Icon used to represent the map surround. |
ILegendItem |
getItem(int index)
The specified item from the legend. |
int |
getItemCount()
Number of items in the legend. |
IMap |
getMap()
The parent map. |
double |
getMinFontSize()
Minimumn font size when AutoFit is true. |
String |
getName()
Name of the map surround. |
String |
getTitle()
Title. |
void |
insertItem(int index,
ILegendItem item)
Inserts a new item into the legend (at the location specified by index). |
boolean |
isAutoAdd()
Indicates if a new item should be added when a new layer is added to the map. |
boolean |
isAutoColumns()
Automatically flow legend items to fit fixed frame. |
boolean |
isAutoFit()
Automatically resize legend items to fit fixed frame. |
boolean |
isAutoReorder()
Indicates if the legend items should be kept in the same order as the layers. |
boolean |
isAutoVisibility()
Indicates if items should be shown only when associated layers are visible. |
boolean |
isFixedFrame()
Indicates frame should not shrink or grow with legend. |
boolean |
isFlowRight()
Reserved for future use. |
boolean |
isScaleSymbols()
Indicates if symbols are scaled for the layer. |
boolean |
isSupportsAutoColumns()
Can legend items be automatically flowed to fit fixed frame? |
void |
queryBounds(IDisplay display,
IEnvelope oldBounds,
IEnvelope newBounds)
Returns the bounds of the map surround. |
void |
refresh()
Makes sure the latest updates are refected the next time the Map Surround is drawn. |
void |
removeItem(int index)
Removes the specified item from the legend. |
void |
setAutoAdd(boolean autoAdd)
Indicates if a new item should be added when a new layer is added to the map. |
void |
setAutoColumns(boolean flag)
Automatically flow legend items to fit fixed frame. |
void |
setAutoFit(boolean flag)
Automatically resize legend items to fit fixed frame. |
void |
setAutoReorder(boolean autoReorder)
Indicates if the legend items should be kept in the same order as the layers. |
void |
setAutoVisibility(boolean autoVisibility)
Indicates if items should be shown only when associated layers are visible. |
void |
setFixedFrame(boolean flag)
Indicates frame should not shrink or grow with legend. |
void |
setFlowRight(boolean flag)
Reserved for future use. |
void |
setFormatByRef(ILegendFormat legendFormat)
The formatting options for the legend (can be stored in the style gallery). |
void |
setMapByRef(IMap map)
The parent map. |
void |
setMinFontSize(double fontSize)
Minimumn font size when AutoFit is true. |
void |
setName(String name)
Name of the map surround. |
void |
setScaleSymbols(boolean scale)
Indicates if symbols are scaled for the layer. |
void |
setTitle(String title)
Title. |
Method Detail |
---|
IMap getMap() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMapByRef(IMap map) throws IOException, AutomationException
map
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getIcon() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryBounds(IDisplay display, IEnvelope oldBounds, IEnvelope newBounds) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)oldBounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)newBounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void fitToBounds(IDisplay display, IEnvelope bounds, boolean[] changed) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)bounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)changed
- The changed (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void delayEvents(boolean delay) throws IOException, AutomationException
delay
- The delay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refresh() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void draw(IDisplay display, ITrackCancel trackCancel, IEnvelope bounds) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)bounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILegendFormat getFormat() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFormatByRef(ILegendFormat legendFormat) throws IOException, AutomationException
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.String getTitle() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTitle(String title) throws IOException, AutomationException
title
- The title (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAutoAdd() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAutoAdd(boolean autoAdd) throws IOException, AutomationException
autoAdd
- The autoAdd (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAutoReorder() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAutoReorder(boolean autoReorder) throws IOException, AutomationException
autoReorder
- The autoReorder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAutoVisibility() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAutoVisibility(boolean autoVisibility) throws IOException, AutomationException
autoVisibility
- The autoVisibility (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isFlowRight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFlowRight(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getItemCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILegendItem getItem(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addItem(ILegendItem item) throws IOException, AutomationException
item
- A reference to a com.esri.arcgis.carto.ILegendItem (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insertItem(int index, ILegendItem item) throws IOException, AutomationException
index
- The index (in)item
- A reference to a com.esri.arcgis.carto.ILegendItem (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeItem(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearItems() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILegendItem getDefaultLegendItem(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 isScaleSymbols() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setScaleSymbols(boolean scale) throws IOException, AutomationException
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void adjustColumns(int columns) throws IOException, AutomationException
columns
- The columns (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isFixedFrame() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFixedFrame(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAutoColumns() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAutoColumns(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAutoFit() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAutoFit(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMinFontSize() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMinFontSize(double fontSize) throws IOException, AutomationException
fontSize
- The fontSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isSupportsAutoColumns() throws IOException, AutomationException
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 |