|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.schematic.NgLegend
public class NgLegend
Graphic legend object.
| Constructor Summary | |
|---|---|
NgLegend(Object obj)
Construct a NgLegend using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
INgView |
getView()
View the legend is related to. |
int |
hashCode()
the hashcode for this object |
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). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public NgLegend(Object obj)
throws IOException
obj to NgLegend. *
NgLegend o = (NgLegend)obj; // will not work
NgLegend o = new NgLegend(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
NgLegend theNgLegend = (NgLegend) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||