|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INgLegend
Provides access to members that control the graphic legend.
The Legend window is a child of the schematic window. By default, each legend entry is featured with its matching element occurrence count. The legend content depends on the element types and properties defined for the related element type.
Custom behavior can be added to the items in a legend. For example, a toggle option to show or hide the legend item in the view can be added to the right-click function on the legend.
The Legend subwindow cannot be printed with the print function of ArcGIS Schematics.
INgLegendDescription| Method Summary | |
|---|---|
INgView |
getView()
View the legend is related to. |
void |
hide()
Hides the legend. |
boolean |
isVisible()
Indicates if the legend window displays in the view. |
void |
refresh(int displayMode)
Refreshes the legend window and diplays it in the 'displayMode' mode. |
void |
show(int displayMode)
Displays the legend in the 'displayMode' mode (see esriNgLegendDisplayMode). |
| Method Detail |
|---|
INgView getView()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isVisible()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLegend.hide(),
INgLegend.show(int)
void hide()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLegend.isVisible(),
INgLegend.show(int)
void show(int displayMode)
throws IOException,
AutomationException
displayMode - A com.esri.arcgis.schematic.esriNgLegendDisplayMode constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLegend.hide(),
INgLegend.isVisible()
void refresh(int displayMode)
throws IOException,
AutomationException
displayMode - A com.esri.arcgis.schematic.esriNgLegendDisplayMode constant (in, optional, pass 1 if not required)
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 | ||||||||