|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.RasterIdentifyObj
public class RasterIdentifyObj
A raster object identified on the display.
IIdentifyObj
,
Serialized FormConstructor Summary | |
---|---|
RasterIdentifyObj(Object obj)
Construct a RasterIdentifyObj using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
canIdentify(ILayer pLayer)
Indicates if the object can identify the specified layer. |
boolean |
equals(Object o)
Compare this object with another |
void |
flash(IScreenDisplay pDisplay)
Flashes the identified object on the screen. |
int |
getHWnd()
The window handle. |
ILayer |
getLayer()
Target layer for identification. |
IPoint |
getLocation()
Identified location. |
String |
getMapTip()
Property value. |
String |
getName()
Property name. |
void |
getPropAndValues(int index,
String[] property,
String[] value)
Gets the next pair of property and value of the Identify Object. |
IRow |
getRow()
The row used by the identify object. |
int |
hashCode()
the hashcode for this object |
void |
insertPropAndValue(String property,
String value)
Inserts a property name and value pair to the RasterIdentifyObj. |
void |
popUpMenu(int x,
int y)
Displays a context sensitive popup menu at the specified location. |
void |
setLocationByRef(IPoint pPoint)
Identified location. |
void |
setMapTip(String bMapTip)
Property value. |
void |
setName(String bName)
Property name. |
void |
setRow(IRow row)
The row used by the identify object. |
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 RasterIdentifyObj(Object obj) throws IOException
obj
to RasterIdentifyObj
. *
RasterIdentifyObj o = (RasterIdentifyObj)obj; // will not work
RasterIdentifyObj o = new RasterIdentifyObj(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
RasterIdentifyObj theRasterIdentifyObj = (RasterIdentifyObj) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void insertPropAndValue(String property, String value) throws IOException, AutomationException
insertPropAndValue
in interface IRasterIdentifyObj
property
- The property (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IIdentifyObj
getName
in interface IRasterIdentifyObj
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String bName) throws IOException, AutomationException
setName
in interface IRasterIdentifyObj
bName
- The bName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMapTip() throws IOException, AutomationException
getMapTip
in interface IRasterIdentifyObj
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapTip(String bMapTip) throws IOException, AutomationException
setMapTip
in interface IRasterIdentifyObj
bMapTip
- The bMapTip (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getLocation() throws IOException, AutomationException
getLocation
in interface IRasterIdentifyObj
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLocationByRef(IPoint pPoint) throws IOException, AutomationException
setLocationByRef
in interface IRasterIdentifyObj
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPropAndValues(int index, String[] property, String[] value) throws IOException, AutomationException
getPropAndValues
in interface IRasterIdentifyObj2
index
- The index (in)property
- The property (out: use single element array)value
- The value (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canIdentify(ILayer pLayer) throws IOException, AutomationException
canIdentify
in interface IIdentifyObj
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws IOException, AutomationException
getHWnd
in interface IIdentifyObj
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer() throws IOException, AutomationException
getLayer
in interface IIdentifyObj
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void flash(IScreenDisplay pDisplay) throws IOException, AutomationException
The Flash method is not supported with ArcGIS Engine, use the IHookActions.DoActions() method with the esriHookActionsFlash for this functionality.
flash
in interface IIdentifyObj
pDisplay
- A reference to a com.esri.arcgis.display.IScreenDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void popUpMenu(int x, int y) throws IOException, AutomationException
popUpMenu
in interface IIdentifyObj
x
- The x (in)y
- The y (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRow(IRow row) throws IOException, AutomationException
setRow
in interface IRowIdentifyObject
row
- A reference to a com.esri.arcgis.geodatabase.IRow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRow getRow() throws IOException, AutomationException
getRow
in interface IRowIdentifyObject
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 |