|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.schematic.INgLegendProxy
public class INgLegendProxy
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,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
INgLegendProxy()
|
|
INgLegendProxy(Object obj)
|
protected |
INgLegendProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
readExternal(ObjectInput in)
|
void |
refresh(int displayMode)
Refreshes the legend window and diplays it in the 'displayMode' mode. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
show(int displayMode)
Displays the legend in the 'displayMode' mode (see esriNgLegendDisplayMode). |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public INgLegendProxy()
public INgLegendProxy(Object obj)
throws IOException
IOException
protected INgLegendProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public INgView getView()
throws IOException,
AutomationException
getView in interface INgLegendIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVisible()
throws IOException,
AutomationException
isVisible in interface INgLegendIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLegend.hide(),
INgLegend.show(int)
public void hide()
throws IOException,
AutomationException
hide in interface INgLegendIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLegend.isVisible(),
INgLegend.show(int)
public void show(int displayMode)
throws IOException,
AutomationException
show in interface INgLegenddisplayMode - 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()
public void refresh(int displayMode)
throws IOException,
AutomationException
refresh in interface INgLegenddisplayMode - 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.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||