|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.MapInset
public class MapInset
COM Class 'MapInset'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A map surround for displaying an inset.' 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 long |
serialVersionUID
|
| Fields inherited from interface com.esri.arcgis.carto.IMapInset |
|---|
IID, IID6dfae8f1_ecaa_11d0_8682_0000f8751720, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IMapSurround |
|---|
IIDfe3115e9_ed6c_11d0_8683_0000f8751720 |
| Fields inherited from interface com.esri.arcgis.carto.IMapInset2 |
|---|
IID, IID6dfae8f2_ecaa_11d0_8682_0000f8751720, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IQuerySize |
|---|
IID, IID4d582692_c52a_4287_9fcf_d6286c4775af, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IBoundsProperties |
|---|
IID, IID7ad72c5d_eb8a_11d3_9314_00600802e603, xxDummy |
| Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
|---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersistStream |
|---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersist |
|---|
IID0000010c_0000_0000_c000_000000000046 |
| Fields inherited from interface com.esri.arcgis.system.IClone |
|---|
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy |
| Constructor Summary | |
|---|---|
MapInset()
Constructs a MapInset using ArcGIS Engine. |
|
MapInset(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MapInset theMapInset = (MapInset) obj; |
|
| Method Summary | |
|---|---|
void |
addIMapSurroundEventsListener(IMapSurroundEvents theListener)
addIMapSurroundEventsListener. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
calculateVisibleBounds()
Calculates the visible bounds by applying the zoom or scale parameter to MapBounds (used when snapshot is false). |
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 |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
void |
fitToBounds(IDisplay display,
IEnvelope bounds,
boolean[] changed)
Adjusts the map surround to fit the bounds. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getDescription()
Description reflecting the current settings of the MapInset. |
void |
getDeviceFrame(int[] left,
int[] top,
int[] right,
int[] bottom)
Pixel extent of the inset. |
IEnvelope |
getFullExtent()
The maximum extent shown by the inset. |
int |
getIcon()
Icon used to represent the map surround. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IMap |
getMap()
The parent map. |
IEnvelope |
getMapBounds()
The relative position of the inset to the associated map (used when the inset is live). |
java.lang.String |
getName()
Name of the map surround. |
double |
getReferenceScale()
Reference scale of the inset. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IEnvelope |
getVisibleBounds()
The map extent shown by the inset (used when the inset is not live). |
double |
getZoomPercent()
Zoom amount as a percentage. |
double |
getZoomScale()
The zoom amount as an absolute Scale (i.e., 1:20000). |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isFixedAspectRatio()
Indicates if the bounds has a fixed aspect ratio. |
boolean |
isFixedSize()
Indicates if size is determined by some other property like the symbol. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isLive()
Indicates if the inset shows a live view of the underlying map. |
boolean |
isUsingZoomScale()
Indicates if ZoomScale or ZoomPercent is being used. |
void |
load(IStream pstm)
load |
void |
queryBounds(IDisplay display,
IEnvelope oldBounds,
IEnvelope newBounds)
Returns the bounds of the map surround. |
void |
querySize(double[] widthPoints,
double[] heightPoints)
Get the size in points. |
void |
readExternal(java.io.ObjectInput in)
|
void |
refresh()
Makes sure the latest updates are refected the next time the Map Surround is drawn. |
void |
release()
Release a MapInset. |
void |
removeIMapSurroundEventsListener(IMapSurroundEvents theListener)
removeIMapSurroundEventsListener. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setDeviceFrame(int left,
int top,
int right,
int bottom)
Pixel extent of the inset. |
void |
setFixedAspectRatio(boolean flag)
Indicates if the bounds has a fixed aspect ratio. |
void |
setFullExtent(IEnvelope fullExtent)
The maximum extent shown by the inset. |
void |
setIsLive(boolean isLive)
Indicates if the inset shows a live view of the underlying map. |
void |
setMapBounds(IEnvelope bounds)
The relative position of the inset to the associated map (used when the inset is live). |
void |
setMapByRef(IMap map)
The parent map. |
void |
setName(java.lang.String name)
Name of the map surround. |
void |
setReferenceScale(double refScale)
Reference scale of the inset. |
void |
setVisibleBounds(IEnvelope visibleBounds)
The map extent shown by the inset (used when the inset is not live). |
void |
setZoomPercent(double percent)
Zoom amount as a percentage. |
void |
setZoomScale(double scale)
The zoom amount as an absolute Scale (i.e., 1:20000). |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public MapInset()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public MapInset(java.lang.Object obj)
throws java.io.IOException
MapInset theMapInset = (MapInset) obj;
obj to MapInset.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef
public void addIMapSurroundEventsListener(IMapSurroundEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.carto.IMapSurroundEvents interface.
java.io.IOException - If there are communications problems.
public void removeIMapSurroundEventsListener(IMapSurroundEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.carto.IMapSurroundEvents interface.
java.io.IOException - If there are communications problems.public void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public IEnvelope getMapBounds()
throws java.io.IOException,
AutomationException
getMapBounds in interface IMapInsetgetMapBounds in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapBounds(IEnvelope bounds)
throws java.io.IOException,
AutomationException
setMapBounds in interface IMapInsetsetMapBounds in interface IMapInset2bounds - 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.
public IEnvelope getVisibleBounds()
throws java.io.IOException,
AutomationException
getVisibleBounds in interface IMapInsetgetVisibleBounds in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVisibleBounds(IEnvelope visibleBounds)
throws java.io.IOException,
AutomationException
setVisibleBounds in interface IMapInsetsetVisibleBounds in interface IMapInset2visibleBounds - 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.
public boolean isLive()
throws java.io.IOException,
AutomationException
isLive in interface IMapInsetisLive in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsLive(boolean isLive)
throws java.io.IOException,
AutomationException
setIsLive in interface IMapInsetsetIsLive in interface IMapInset2isLive - The isLive (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUsingZoomScale()
throws java.io.IOException,
AutomationException
isUsingZoomScale in interface IMapInsetisUsingZoomScale in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getZoomPercent()
throws java.io.IOException,
AutomationException
getZoomPercent in interface IMapInsetgetZoomPercent in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setZoomPercent(double percent)
throws java.io.IOException,
AutomationException
setZoomPercent in interface IMapInsetsetZoomPercent in interface IMapInset2percent - The percent (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getZoomScale()
throws java.io.IOException,
AutomationException
getZoomScale in interface IMapInsetgetZoomScale in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setZoomScale(double scale)
throws java.io.IOException,
AutomationException
setZoomScale in interface IMapInsetsetZoomScale in interface IMapInset2scale - The scale (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDescription()
throws java.io.IOException,
AutomationException
getDescription in interface IMapInsetgetDescription in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void calculateVisibleBounds()
throws java.io.IOException,
AutomationException
calculateVisibleBounds in interface IMapInsetcalculateVisibleBounds in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMap getMap()
throws java.io.IOException,
AutomationException
getMap in interface IMapSurroundjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapByRef(IMap map)
throws java.io.IOException,
AutomationException
setMapByRef in interface IMapSurroundmap - 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.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IMapSurroundjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
setName in interface IMapSurroundname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getIcon()
throws java.io.IOException,
AutomationException
getIcon in interface IMapSurroundjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryBounds(IDisplay display,
IEnvelope oldBounds,
IEnvelope newBounds)
throws java.io.IOException,
AutomationException
queryBounds in interface IMapSurrounddisplay - 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.
public void fitToBounds(IDisplay display,
IEnvelope bounds,
boolean[] changed)
throws java.io.IOException,
AutomationException
fitToBounds in interface IMapSurrounddisplay - 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.
public void delayEvents(boolean delay)
throws java.io.IOException,
AutomationException
delayEvents in interface IMapSurrounddelay - The delay (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh()
throws java.io.IOException,
AutomationException
refresh in interface IMapSurroundjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay display,
ITrackCancel trackCancel,
IEnvelope bounds)
throws java.io.IOException,
AutomationException
draw in interface IMapSurrounddisplay - 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.
public IEnvelope getFullExtent()
throws java.io.IOException,
AutomationException
getFullExtent in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFullExtent(IEnvelope fullExtent)
throws java.io.IOException,
AutomationException
setFullExtent in interface IMapInset2fullExtent - 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.
public double getReferenceScale()
throws java.io.IOException,
AutomationException
getReferenceScale in interface IMapInset2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScale(double refScale)
throws java.io.IOException,
AutomationException
setReferenceScale in interface IMapInset2refScale - The refScale (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getDeviceFrame(int[] left,
int[] top,
int[] right,
int[] bottom)
throws java.io.IOException,
AutomationException
getDeviceFrame in interface IMapInset2left - The left (out: use single element array)top - The top (out: use single element array)right - The right (out: use single element array)bottom - The bottom (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDeviceFrame(int left,
int top,
int right,
int bottom)
throws java.io.IOException,
AutomationException
setDeviceFrame in interface IMapInset2left - The left (in)top - The top (in)right - The right (in)bottom - The bottom (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void querySize(double[] widthPoints,
double[] heightPoints)
throws java.io.IOException,
AutomationException
querySize in interface IQuerySizewidthPoints - The widthPoints (in/out: use single element array)heightPoints - The heightPoints (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFixedAspectRatio()
throws java.io.IOException,
AutomationException
isFixedAspectRatio in interface IBoundsPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFixedAspectRatio(boolean flag)
throws java.io.IOException,
AutomationException
setFixedAspectRatio in interface IBoundsPropertiesflag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFixedSize()
throws java.io.IOException,
AutomationException
isFixedSize in interface IBoundsPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws java.io.IOException,
AutomationException
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws java.io.IOException,
AutomationException
findConnectionPoint in interface IConnectionPointContainerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws java.io.IOException,
AutomationException
esri_clone in interface IClonejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws java.io.IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws java.io.IOException,
AutomationException
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws java.io.IOException,
AutomationException
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||