|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.SimpleRasterIdentifyObj
public class SimpleRasterIdentifyObj
A simplified raster object identified on the display.
Constructor Summary | |
---|---|
SimpleRasterIdentifyObj(Object obj)
Construct a SimpleRasterIdentifyObj 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()
Name of the identify object. |
void |
getPropAndValues(int index,
String[] property,
String[] value)
Gets the next pair of property and value of the Identify Object. |
IPropertySet |
getPropertySet()
PropertySet of 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 |
setPropertySetByRef(IPropertySet propertySet)
PropertySet of 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 SimpleRasterIdentifyObj(Object obj) throws IOException
obj
to SimpleRasterIdentifyObj
. *
SimpleRasterIdentifyObj o = (SimpleRasterIdentifyObj)obj; // will not work
SimpleRasterIdentifyObj o = new SimpleRasterIdentifyObj(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
SimpleRasterIdentifyObj theSimpleRasterIdentifyObj = (SimpleRasterIdentifyObj) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
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 String getName() throws IOException, AutomationException
getName
in interface IIdentifyObj
getName
in interface IIdentifyObject
getName
in interface IRasterIdentifyObj
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 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 void setName(String bName) throws IOException, AutomationException
setName
in interface IIdentifyObject
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 IPropertySet getPropertySet() throws IOException, AutomationException
getPropertySet
in interface IIdentifyObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertySetByRef(IPropertySet propertySet) throws IOException, AutomationException
setPropertySetByRef
in interface IIdentifyObject
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (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 |