|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ILegend2
COM Interface 'ILegend2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description: 'Provides access to additional members that control a legend.' 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 |
IID15abe7f6_49e8_4012_be72_d14e5a755ace
|
static int |
xxDummy
Deprecated. Internal use only |
| 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. |
java.lang.String |
getName()
Name of the map surround. |
java.lang.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 |
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 |
isFlowRight()
Reserved for future use. |
boolean |
isScaleSymbols()
Indicates if symbols are scaled for the layer. |
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 |
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 |
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 |
setName(java.lang.String name)
Name of the map surround. |
void |
setScaleSymbols(boolean scale)
Indicates if symbols are scaled for the layer. |
void |
setTitle(java.lang.String title)
Title. |
| Field Detail |
|---|
static final int IID15abe7f6_49e8_4012_be72_d14e5a755ace
static final int xxDummy
static final java.lang.String IID
| Method Detail |
|---|
IMap getMap()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setMapByRef(IMap map)
throws java.io.IOException,
AutomationException
map - A reference to a com.esri.arcgis.carto.IMap (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
java.lang.String getName()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
name - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getIcon()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryBounds(IDisplay display,
IEnvelope oldBounds,
IEnvelope newBounds)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void fitToBounds(IDisplay display,
IEnvelope bounds,
boolean[] changed)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void delayEvents(boolean delay)
throws java.io.IOException,
AutomationException
delay - The delay (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void refresh()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void draw(IDisplay display,
ITrackCancel trackCancel,
IEnvelope bounds)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ILegendFormat getFormat()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setFormatByRef(ILegendFormat legendFormat)
throws java.io.IOException,
AutomationException
legendFormat - A reference to a com.esri.arcgis.carto.ILegendFormat (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
java.lang.String getTitle()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setTitle(java.lang.String title)
throws java.io.IOException,
AutomationException
title - The title (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isAutoAdd()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setAutoAdd(boolean autoAdd)
throws java.io.IOException,
AutomationException
autoAdd - The autoAdd (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isAutoReorder()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setAutoReorder(boolean autoReorder)
throws java.io.IOException,
AutomationException
autoReorder - The autoReorder (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isAutoVisibility()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setAutoVisibility(boolean autoVisibility)
throws java.io.IOException,
AutomationException
autoVisibility - The autoVisibility (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isFlowRight()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setFlowRight(boolean flag)
throws java.io.IOException,
AutomationException
flag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getItemCount()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ILegendItem getItem(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.
void addItem(ILegendItem item)
throws java.io.IOException,
AutomationException
item - A reference to a com.esri.arcgis.carto.ILegendItem (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void insertItem(int index,
ILegendItem item)
throws java.io.IOException,
AutomationException
index - The index (in)item - A reference to a com.esri.arcgis.carto.ILegendItem (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void removeItem(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.
void clearItems()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ILegendItem getDefaultLegendItem(ILayer layer)
throws java.io.IOException,
AutomationException
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isScaleSymbols()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setScaleSymbols(boolean scale)
throws java.io.IOException,
AutomationException
scale - The scale (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void adjustColumns(int columns)
throws java.io.IOException,
AutomationException
columns - The columns (in)
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 | ||||||||