|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.cartoUI.LegendWizard
public class LegendWizard
Legend wizard.
Constructor Summary | |
---|---|
LegendWizard()
Constructs a LegendWizard using ArcGIS Engine. |
|
LegendWizard(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LegendWizard theLegendWizard = (LegendWizard) obj; |
Method Summary | |
---|---|
boolean |
doModal(int parentHWnd)
Displays the legend wizard. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IMapSurroundFrame |
getLegendFrame()
The legend frame (valid after calling DoModal). |
int |
hashCode()
the hashcode for this object |
void |
setInitialLegendFrame(IMapSurroundFrame rhs1)
The initial legend frame (optional). |
void |
setPageLayoutByRef(IPageLayout rhs1)
The page layout containing the map frame. |
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 LegendWizard() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic LegendWizard(Object obj) throws IOException
LegendWizard theLegendWizard = (LegendWizard) obj;
obj
to LegendWizard
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setPageLayoutByRef(IPageLayout rhs1) throws IOException, AutomationException
setPageLayoutByRef
in interface ILegendWizard
rhs1
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInitialLegendFrame(IMapSurroundFrame rhs1) throws IOException, AutomationException
setInitialLegendFrame
in interface ILegendWizard
rhs1
- A reference to a com.esri.arcgis.carto.IMapSurroundFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapSurroundFrame getLegendFrame() throws IOException, AutomationException
getLegendFrame
in interface ILegendWizard
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean doModal(int parentHWnd) throws IOException, AutomationException
Before calling the DoModal method on the LegendWizard, you must first do appropriate setup of a Legend object. This includes creating a Legend object, adding it as a MapSurround to the FocusMap, and assigning a valid Envelope to the Legend's element geometry.
doModal
in interface ILegendWizard
parentHWnd
- The parentHWnd (A COM typedef) (in)
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 |