|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.LocatorRectangle
public class LocatorRectangle
A map locator rectangle.
Constructor Summary | |
---|---|
LocatorRectangle()
Constructs a LocatorRectangle using ArcGIS Engine. |
|
LocatorRectangle(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LocatorRectangle theLocatorRectangle = (LocatorRectangle) obj; |
Method Summary | |
---|---|
void |
draw(IDisplay display,
IMapFrame parent)
Obsolete. |
void |
drawExtent(IDisplay mapDisplay,
IMapFrame parent)
Draws the locator shape on the Map display. |
void |
drawLeader(IDisplay layoutDisplay,
IMapFrame parent)
Draws the leader line on the Layout display. |
boolean |
equals(Object o)
Compare this object with another |
IBackground |
getBackground()
The page background. |
IBorder |
getBorder()
The page border. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IEnumElement |
getGraphics(IDisplay display,
Object data)
Graphic elements that are used to render this object. |
ISymbol |
getLeaderSymbol()
The symbol used to render the leader line. |
IMapFrame |
getMapFrame()
The map frame being referenced. |
IShadow |
getShadow()
Frame shadow used by this element. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
IBackground |
IFrameProperties_getBackground()
Frame background used by this element. |
void |
isDirty()
isDirty |
boolean |
isShowLeader()
Indicates if leader lines should be drawn. |
boolean |
isUseSimpleExtent()
Use other data frame extent even if clipping is set or data driven pages are enabled. |
void |
load(IStream pstm)
load |
void |
queryBounds(IDisplay display,
IMapFrame parent,
IEnvelope bounds)
Returns the bounds of the locator. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setBackground(IBackground background)
The page background. |
void |
setBorder(IBorder border)
The page border. |
void |
setLeaderSymbol(ISymbol symbol)
The symbol used to render the leader line. |
void |
setMapFrameByRef(IMapFrame mapFrame)
The map frame being referenced. |
void |
setShadow(IShadow shadow)
Frame shadow used by this element. |
void |
setShowLeader(boolean flag)
Indicates if leader lines should be drawn. |
void |
setUseSimpleExtent(boolean flag)
Use other data frame extent even if clipping is set or data driven pages are enabled. |
void |
writeExternal(ObjectOutput out)
|
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 LocatorRectangle() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic LocatorRectangle(Object obj) throws IOException
LocatorRectangle theLocatorRectangle = (LocatorRectangle) obj;
obj
to LocatorRectangle
.
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 setMapFrameByRef(IMapFrame mapFrame) throws IOException, AutomationException
setMapFrameByRef
in interface ILocatorRectangle
setMapFrameByRef
in interface ILocatorRectangle2
mapFrame
- A reference to a com.esri.arcgis.carto.IMapFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapFrame getMapFrame() throws IOException, AutomationException
getMapFrame
in interface ILocatorRectangle
getMapFrame
in interface ILocatorRectangle2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IBorder getBorder() throws IOException, AutomationException
getBorder
in interface IFrameProperties
getBorder
in interface ILocatorRectangle
getBorder
in interface ILocatorRectangle2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBorder(IBorder border) throws IOException, AutomationException
setBorder
in interface IFrameProperties
setBorder
in interface ILocatorRectangle
setBorder
in interface ILocatorRectangle2
border
- A reference to a com.esri.arcgis.carto.IBorder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IBackground getBackground() throws IOException, AutomationException
getBackground
in interface ILocatorRectangle
getBackground
in interface ILocatorRectangle2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackground(IBackground background) throws IOException, AutomationException
setBackground
in interface IFrameProperties
setBackground
in interface ILocatorRectangle
setBackground
in interface ILocatorRectangle2
background
- A reference to a com.esri.arcgis.carto.IBackground (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLeaderSymbol(ISymbol symbol) throws IOException, AutomationException
setLeaderSymbol
in interface ILocatorRectangle
setLeaderSymbol
in interface ILocatorRectangle2
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getLeaderSymbol() throws IOException, AutomationException
getLeaderSymbol
in interface ILocatorRectangle
getLeaderSymbol
in interface ILocatorRectangle2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowLeader() throws IOException, AutomationException
isShowLeader
in interface ILocatorRectangle
isShowLeader
in interface ILocatorRectangle2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowLeader(boolean flag) throws IOException, AutomationException
setShowLeader
in interface ILocatorRectangle
setShowLeader
in interface ILocatorRectangle2
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBounds(IDisplay display, IMapFrame parent, IEnvelope bounds) throws IOException, AutomationException
queryBounds
in interface ILocatorRectangle
queryBounds
in interface ILocatorRectangle2
display
- A reference to a com.esri.arcgis.display.IDisplay (in)parent
- A reference to a com.esri.arcgis.carto.IMapFrame (in)bounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IDisplay display, IMapFrame parent) throws IOException, AutomationException
draw
in interface ILocatorRectangle
draw
in interface ILocatorRectangle2
display
- A reference to a com.esri.arcgis.display.IDisplay (in)parent
- A reference to a com.esri.arcgis.carto.IMapFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseSimpleExtent() throws IOException, AutomationException
isUseSimpleExtent
in interface ILocatorRectangle2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseSimpleExtent(boolean flag) throws IOException, AutomationException
setUseSimpleExtent
in interface ILocatorRectangle2
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawExtent(IDisplay mapDisplay, IMapFrame parent) throws IOException, AutomationException
drawExtent
in interface ILocatorRectangle2
mapDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)parent
- A reference to a com.esri.arcgis.carto.IMapFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawLeader(IDisplay layoutDisplay, IMapFrame parent) throws IOException, AutomationException
drawLeader
in interface ILocatorRectangle2
layoutDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)parent
- A reference to a com.esri.arcgis.carto.IMapFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IBackground IFrameProperties_getBackground() throws IOException, AutomationException
IFrameProperties_getBackground
in interface IFrameProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IShadow getShadow() throws IOException, AutomationException
getShadow
in interface IFrameProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShadow(IShadow shadow) throws IOException, AutomationException
setShadow
in interface IFrameProperties
shadow
- A reference to a com.esri.arcgis.carto.IShadow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumElement getGraphics(IDisplay display, Object data) throws IOException, AutomationException
getGraphics
in interface IGraphicsComposite
display
- A reference to a com.esri.arcgis.display.IDisplay (in)data
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |