|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MapServerQuerySublayer
public class MapServerQuerySublayer
Provides programmatic access to a map server sublayer with Find and Identify capability.
Constructor Summary | |
---|---|
MapServerQuerySublayer(Object obj)
Construct a MapServerQuerySublayer using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
draw(int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
Draws the layer to the specified display for the given draw phase. |
boolean |
equals(Object o)
Compare this object with another |
IArray |
find(String search,
boolean contains,
Object fields,
ITrackCancel trackCancel)
Finds the specified search string in the given attribute fields. |
IEnvelope |
getAreaOfInterest()
The default area of interest for the layer. |
void |
getClassID(GUID[] pClassID)
getClassID |
int |
getCount()
Number of layers in the collection. |
IEnvelope |
getExtent()
The extent of the GeoDataset. |
String |
getFindDisplayField()
The display field. |
Object |
getFindFields()
The attribute fields. |
String |
getHTMLOutput(IFeature pFeature)
The content is the XML text for the input feature. |
int |
getHTMLPresentationStyle()
Indicates the content formating style for the HTML Popup tool. |
String |
getHTMLRedirectField()
Indicates the fieldname of the layer that contains the HTML redirect URL values. |
String |
getHTMLRedirectFieldPrefix()
Indicates the text to precede the HTMLRedirectField value for the redirect URL. |
String |
getHTMLRedirectFieldSuffix()
Indicates the text to follow the HTMLRedirectField value for the redirect URL. |
String |
getHTMLXSLStylesheet()
Indicates the content of the XSL stylesheet to parse the feature attributes through. |
double |
getLastMaximumScale()
Last maximum scale setting used by layer. |
double |
getLastMinimumScale()
Last minimum scale setting used by layer. |
ILayer |
getLayer(int index)
Layer in the collection at the specified index. |
ILayerDescription |
getLayerDescription()
The layer description. |
ILegendGroup |
getLegendGroup(int index)
Legend group at the specified index. |
int |
getLegendGroupCount()
Number of legend groups contained by the object. |
ILegendItem |
getLegendItem()
Optional. |
double |
getMaximumScale()
Maximum scale (representative fraction) at which the layer will display. |
double |
getMinimumScale()
Minimum scale (representative fraction) at which the layer will display. |
String |
getName()
Layer name. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
String |
getSourceID()
The source ID of the layer. |
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset. |
int |
getSupportedDrawPhases()
Supported draw phases. |
String |
getTipText(double x,
double y,
double tolerance)
Map tip text at the specified location. |
int |
hashCode()
the hashcode for this object |
void |
hTMLIdentify(IDisplay pDisplay,
IGeometry pGeometry,
IPropertySet pOptions,
IStringArray[] ppItemNames,
IStringArray[] ppItemHTML)
The content is the XML text at the specified point. |
String |
hTMLIdentify(IPoint pPoint,
double tolerance)
The content is the XML text at the specified point. |
String |
hTMLOutput(IFeature pFeature,
IPropertySet pOptions)
The content is the XML text for the input feature, pOptions is an optional parameter. |
String |
hTMLTipText(IPoint pPoint,
double tolerance)
The tooltip at the specified point. |
IArray |
identify(IGeometry pGeom)
Identifies objects at the specified location. |
IArray |
identify(IGeometry pGeom,
ITrackCancel pTrackCancel)
Identifies objects at the specified location. |
IArray |
identifyEx(IDisplay pDisplay,
IGeometry pGeom,
ITrackCancel pTrackCancel)
Identifies objects at the specified location for the given display. |
String |
ILayerGeneralProperties_getLayerDescription()
Description for the layer. |
boolean |
isCached()
Indicates if the layer needs its own display cache. |
void |
isDirty()
isDirty |
boolean |
isDrawingPropsDirty()
Indicates if the layer drawing properties are dirty. |
boolean |
isHasLabels()
Indicates if the layer has labels to turn on and off. |
boolean |
isHTMLDownloadAttachmentData()
Indicates that all data for attachments will be retrieved. |
boolean |
isHTMLHideFieldNameColumn()
Indicates if Field name column will be output to the HTML Popup tool. |
boolean |
isHTMLPopupEnabled()
Indicates if this layer currently responds to the HTML Popup tool. |
boolean |
isHTMLUseCodedDomainValues()
Indicates whether to use coded values (rather than literal stored values) for feature values. |
boolean |
isScaleSymbols()
Indicates whether the layer should scale its symbols according to the reference scale. |
boolean |
isShowLabels()
Indicates whether the layer should display its dynamic labels. |
boolean |
isShowTips()
Indicates if the layer shows map tips. |
boolean |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
boolean |
isValid()
Indicates if the layer is currently valid. |
boolean |
isVisible()
Indicates if the layer is currently visible. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setCached(boolean cached)
Indicates if the layer needs its own display cache. |
void |
setDrawingPropsDirty(boolean dirty)
Indicates if the layer drawing properties are dirty. |
void |
setHTMLDownloadAttachmentData(boolean pDownloadAttachmentData)
Indicates that all data for attachments will be retrieved. |
void |
setHTMLHideFieldNameColumn(boolean pHide)
Indicates if Field name column will be output to the HTML Popup tool. |
void |
setHTMLPopupEnabled(boolean pEnabled)
Indicates if this layer currently responds to the HTML Popup tool. |
void |
setHTMLPresentationStyle(int pStyle)
Indicates the content formating style for the HTML Popup tool. |
void |
setHTMLRedirectField(String pField)
Indicates the fieldname of the layer that contains the HTML redirect URL values. |
void |
setHTMLRedirectFieldPrefix(String pPrefix)
Indicates the text to precede the HTMLRedirectField value for the redirect URL. |
void |
setHTMLRedirectFieldSuffix(String pSufix)
Indicates the text to follow the HTMLRedirectField value for the redirect URL. |
void |
setHTMLUseCodedDomainValues(boolean pCodedValues)
Indicates whether to use coded values (rather than literal stored values) for feature values. |
void |
setHTMLXSLStylesheet(String pStyleSheet)
Indicates the content of the XSL stylesheet to parse the feature attributes through. |
void |
setLayerDescription(String text)
Description for the layer. |
void |
setMaximumScale(double maxScale)
Maximum scale (representative fraction) at which the layer will display. |
void |
setMinimumScale(double minScale)
Minimum scale (representative fraction) at which the layer will display. |
void |
setName(String name)
Layer name. |
void |
setScale(double rhs1)
The current scale of the display. |
void |
setScaleSymbols(boolean scaleSymbols)
Indicates whether the layer should scale its symbols according to the reference scale. |
void |
setShowLabels(boolean show)
Indicates whether the layer should display its dynamic labels. |
void |
setShowTips(boolean show)
Indicates if the layer shows map tips. |
void |
setSourceID(String sourceID)
The source ID of the layer. |
void |
setSpatialReferenceByRef(ISpatialReference rhs1)
Spatial reference for the layer. |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
void |
setVisible(boolean visible)
Indicates if the layer is currently visible. |
void |
showLayers(boolean show,
ILongArray layerIds)
Shows/ hides the layers given layer ids. |
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 MapServerQuerySublayer(Object obj) throws IOException
obj
to MapServerQuerySublayer
. *
MapServerQuerySublayer o = (MapServerQuerySublayer)obj; // will not work
MapServerQuerySublayer o = new MapServerQuerySublayer(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
MapServerQuerySublayer theMapServerQuerySublayer = (MapServerQuerySublayer) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean isHasLabels() throws IOException, AutomationException
isHasLabels
in interface IMapServerSublayer
isHasLabels
in interface IMapServerSublayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowLabels() throws IOException, AutomationException
This only applies to layers where the property HasLabels on IMapServerSubLayer is TRUE. This means that the layer's labels must be "on" in the original map document.
isShowLabels
in interface IMapServerSublayer
isShowLabels
in interface IMapServerSublayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowLabels(boolean show) throws IOException, AutomationException
setShowLabels
in interface IMapServerSublayer
setShowLabels
in interface IMapServerSublayer2
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isScaleSymbols() throws IOException, AutomationException
A reference scale set for a map containing a Map Server object will have no effect on Map Server layer symbology. In order for symbols to scale, the originial map document on which the Map Server object is based must have a reference scale set. The Map layer must also support symbol scaling. If both these conditions are true, use ScaleSymbols to activate or deactivate a Map Server Sublayer's symbol scaling.
isScaleSymbols
in interface IMapServerSublayer
isScaleSymbols
in interface IMapServerSublayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setScaleSymbols(boolean scaleSymbols) throws IOException, AutomationException
setScaleSymbols
in interface IMapServerSublayer
setScaleSymbols
in interface IMapServerSublayer2
scaleSymbols
- The scaleSymbols (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayerDescription getLayerDescription() throws IOException, AutomationException
Use LayerDescription to access properties of ILayerDescription. The ID value may not match the Layer index value on ICompositeLayer or ICompositeLayer2. This is because the count on ICompositeLayer or ICompositeLayer2 does not include members of composite layers embedded within the MapServerSublayer. Only the parent layer is counted.
MapServerSubLayer does not support the ILayerDescription properties ScaleSymbols, ShowLabels and Visible. ScaleSymbols and ShowLabels can be accessed via IMapServerSubLayer. The property controlling a MapServerSubLayers visibility, Visible, can be accessed via ILayer.
The ILayerDescription properties SelectionFeatures, SelectionColor, SelectionSymbol, SetSelectionSymbol, SelectionBufferDistance and ShowSelectionBuffer can be used to select and buffer (euclidean buffer) features of a Map Server SubLayer.
getLayerDescription
in interface IMapServerSublayer
getLayerDescription
in interface IMapServerSublayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSourceID() throws IOException, AutomationException
getSourceID
in interface IMapServerSublayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSourceID(String sourceID) throws IOException, AutomationException
setSourceID
in interface IMapServerSublayer2
sourceID
- The sourceID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void showLayers(boolean show, ILongArray layerIds) throws IOException, AutomationException
showLayers
in interface IMapServerGroupLayer
show
- The show (in)layerIds
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IMapServerGroupLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(int index) throws IOException, AutomationException
getLayer
in interface IMapServerGroupLayer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
Use this property to associate a string with a layer.
getName
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface ILayer
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws IOException, AutomationException
The valid property indicates if the layer is currently valid. Layers that reference feature classes are valid when they hold a reference to a valid feature class. The property does not however validate the integrity of the feature classes reference to the database. Therefore, in rare situations if a datasource is removed after a layer is initialized, the layer will report itself as valid but query attempts to the data source will error due to the lack of underlying data.
isValid
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getAreaOfInterest() throws IOException, AutomationException
Returns the spatial-referenced extent of the layer.
getAreaOfInterest
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMinimumScale() throws IOException, AutomationException
Specifies the minimum scale at which the layer will be displayed. This means that if you zoom out beyond this scale, the layer will not display. For example, specify 1000 to have the layer not display when zoomed out beyond 1:1000.
getMinimumScale
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinimumScale(double minScale) throws IOException, AutomationException
setMinimumScale
in interface ILayer
minScale
- The minScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaximumScale() throws IOException, AutomationException
Specifies the maximum scale at which the layer will be displayed. This means that if you zoom in beyond this scale, the layer will not display. For example, specify 500 to have the layer not display when zoomed in beyond 1:500.
getMaximumScale
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaximumScale(double maxScale) throws IOException, AutomationException
setMaximumScale
in interface ILayer
maxScale
- The maxScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws IOException, AutomationException
isVisible
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(boolean visible) throws IOException, AutomationException
setVisible
in interface ILayer
visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowTips() throws IOException, AutomationException
Indicates whether or not map tips are shown for the layer. If set to True, then map tips will be shown for the layer. You can determine the text that will be shown via TipText. For a FeatureLayer, this text comes from the data for IFeatureLayer::DisplayField.
isShowTips
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowTips(boolean show) throws IOException, AutomationException
setShowTips
in interface ILayer
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTipText(double x, double y, double tolerance) throws IOException, AutomationException
getTipText
in interface ILayer
x
- The x (in)y
- The y (in)tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCached() throws IOException, AutomationException
This property indicates whether or not the layer requires its own display cache. If this property is True, then the Map will use a separate display cache for the layer so that it can be refreshed indpendently of other layers.
The Map is responsible for cache management. See IScreenDisplay::AddCache for more information on caches.
isCached
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCached(boolean cached) throws IOException, AutomationException
Informational property. Container is responsible for cache management.
setCached
in interface ILayer
cached
- The cached (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSupportedDrawPhases() throws IOException, AutomationException
Indicates the draw phases supported by the layer (esriDPGeography, esriDPAnnotation, esriDPSelection, or any combination of the three). The supported draw phases are defined by esriDrawPhase. When multiple draw phases are supported, the sum of the constants is used. For example, if SupportedDrawPhases = 3 then the layer supports drawing in the geography and annotation phases.
getSupportedDrawPhases
in interface ILayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference rhs1) throws IOException, AutomationException
This property is only used for map display, setting this property does not change the spatial reference of the layer's underlying data. The ArcGIS framework uses this property to pass the spatial reference from the map to the layer in order to support on-the-fly projection.
setSpatialReferenceByRef
in interface ILayer
rhs1
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(int drawPhase, IDisplay display, ITrackCancel trackCancel) throws IOException, AutomationException
This method draws the layer to the Display for the specified DrawPhase. Use the TrackCancel object to allow the drawing of the layer to be interrupted by the user.
draw
in interface ILayer
drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLegendGroupCount() throws IOException, AutomationException
The number of legend groups is determined by the implementation of the renderer, consequently this property is read only. For example, SimpleRenderer has one group, while a BiUniqueValueRenderer has any number of groups.
getLegendGroupCount
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendGroup getLegendGroup(int index) throws IOException, AutomationException
getLegendGroup
in interface ILegendInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendItem getLegendItem() throws IOException, AutomationException
Layer or renderer legend information is further formatted for display in ArcMap legends. A renderer can override this formatting by returning a LegendItem for this property. ESRI renderers typically do not return anything for this property. With this configuration, legend formatting becomes a user or developer choice on the legend object.
getLegendItem
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSymbolsAreGraduated() throws IOException, AutomationException
Indicates whether the symbols used for a layer or renderer's legend vary by size.
For example the proportional symbol renderer returns True for this property.
You can use this property to distinguish between a layer symbolized with graduated color or graduated symbol type layer symbology. Both of these symbolizations use a ClassBreaksRenderer, but only a graduated symbol symbolization will return True for this property.
isSymbolsAreGraduated
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolsAreGraduated(boolean symbolsAreGraduated) throws IOException, AutomationException
setSymbolsAreGraduated
in interface ILegendInfo
symbolsAreGraduated
- The symbolsAreGraduated (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws IOException, AutomationException
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
getSpatialReference
in interface IGeoDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws IOException, AutomationException
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.
If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.
If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.
ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
getExtent
in interface IGeoDataset
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 double getLastMinimumScale() throws IOException, AutomationException
getLastMinimumScale
in interface ILayerGeneralProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLastMaximumScale() throws IOException, AutomationException
getLastMaximumScale
in interface ILayerGeneralProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String ILayerGeneralProperties_getLayerDescription() throws IOException, AutomationException
ILayerGeneralProperties_getLayerDescription
in interface ILayerGeneralProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerDescription(String text) throws IOException, AutomationException
setLayerDescription
in interface ILayerGeneralProperties
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray identify(IGeometry pGeom) throws IOException, AutomationException
When the IIdentify interface is on a map layer, the Identify method returns an array of FeatureIdentifyObject objects.
On a FeatureIdentifyObject, you can do a QI to the IIdentifyObj interface to get more information about the identified feature. The IIdentifyObj interface returns the window handle, layer, and name of the feature; it has methods to flash the feature in the display and to display a context menu at the Identify location.
This method performs an identify operation with the provided geometry. When identifying layers, typically a small envelope is passed in rather than a point to account for differences in the precision of the display and the feature geometry.
identify
in interface IIdentify
pGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray identify(IGeometry pGeom, ITrackCancel pTrackCancel) throws IOException, AutomationException
When the IIdentify interface is on a map layer, the Identify method returns an array of FeatureIdentifyObject objects.
On a FeatureIdentifyObject, you can do a QI to the IIdentifyObj interface to get more information about the identified feature. The IIdentifyObj interface returns the window handle, layer, and name of the feature; it has methods to flash the feature in the display and to display a context menu at the Identify location.
This method performs an identify operation with the provided geometry. When identifying layers, typically a small envelope is passed in rather than a point to account for differences in the precision of the display and the feature geometry.
identify
in interface IIdentify2
pGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setScale(double rhs1) throws IOException, AutomationException
setScale
in interface IIdentify2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray find(String search, boolean contains, Object fields, ITrackCancel trackCancel) throws IOException, AutomationException
This method returns an reference to an Array of FeatureFindData objects. To search, pass in a reference to an Fields object along with the search string and a boolean option to return features that have attributes that contain the string. If Contains = False, only objects with an attribute that consists of the entire search string will be returned.
find
in interface IFind
search
- The search (in)contains
- The contains (in)fields
- A Variant (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getFindFields() throws IOException, AutomationException
getFindFields
in interface IFind
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFindDisplayField() throws IOException, AutomationException
getFindDisplayField
in interface IFind
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray identifyEx(IDisplay pDisplay, IGeometry pGeom, ITrackCancel pTrackCancel) throws IOException, AutomationException
identifyEx
in interface IIdentifyDisplay
pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)pGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHTMLPopupEnabled() throws IOException, AutomationException
isHTMLPopupEnabled
in interface IHTMLPopupIdentify
isHTMLPopupEnabled
in interface IHTMLPopupInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLPopupEnabled(boolean pEnabled) throws IOException, AutomationException
setHTMLPopupEnabled
in interface IHTMLPopupInfo
pEnabled
- The pEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHTMLPresentationStyle() throws IOException, AutomationException
getHTMLPresentationStyle
in interface IHTMLPopupIdentify
getHTMLPresentationStyle
in interface IHTMLPopupInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLPresentationStyle(int pStyle) throws IOException, AutomationException
setHTMLPresentationStyle
in interface IHTMLPopupInfo
pStyle
- A com.esri.arcgis.carto.esriHTMLPopupStyle constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHTMLHideFieldNameColumn() throws IOException, AutomationException
isHTMLHideFieldNameColumn
in interface IHTMLPopupInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLHideFieldNameColumn(boolean pHide) throws IOException, AutomationException
setHTMLHideFieldNameColumn
in interface IHTMLPopupInfo
pHide
- The pHide (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHTMLRedirectField() throws IOException, AutomationException
getHTMLRedirectField
in interface IHTMLPopupInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLRedirectField(String pField) throws IOException, AutomationException
setHTMLRedirectField
in interface IHTMLPopupInfo
pField
- The pField (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHTMLRedirectFieldPrefix() throws IOException, AutomationException
getHTMLRedirectFieldPrefix
in interface IHTMLPopupInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLRedirectFieldPrefix(String pPrefix) throws IOException, AutomationException
setHTMLRedirectFieldPrefix
in interface IHTMLPopupInfo
pPrefix
- The pPrefix (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHTMLRedirectFieldSuffix() throws IOException, AutomationException
getHTMLRedirectFieldSuffix
in interface IHTMLPopupInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLRedirectFieldSuffix(String pSufix) throws IOException, AutomationException
setHTMLRedirectFieldSuffix
in interface IHTMLPopupInfo
pSufix
- The pSufix (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHTMLXSLStylesheet() throws IOException, AutomationException
getHTMLXSLStylesheet
in interface IHTMLPopupInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLXSLStylesheet(String pStyleSheet) throws IOException, AutomationException
setHTMLXSLStylesheet
in interface IHTMLPopupInfo
pStyleSheet
- The pStyleSheet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHTMLUseCodedDomainValues() throws IOException, AutomationException
isHTMLUseCodedDomainValues
in interface IHTMLPopupInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLUseCodedDomainValues(boolean pCodedValues) throws IOException, AutomationException
setHTMLUseCodedDomainValues
in interface IHTMLPopupInfo
pCodedValues
- The pCodedValues (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHTMLOutput(IFeature pFeature) throws IOException, AutomationException
getHTMLOutput
in interface IHTMLPopupInfo
pFeature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHTMLDownloadAttachmentData() throws IOException, AutomationException
isHTMLDownloadAttachmentData
in interface IHTMLPopupInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHTMLDownloadAttachmentData(boolean pDownloadAttachmentData) throws IOException, AutomationException
setHTMLDownloadAttachmentData
in interface IHTMLPopupInfo2
pDownloadAttachmentData
- The pDownloadAttachmentData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String hTMLOutput(IFeature pFeature, IPropertySet pOptions) throws IOException, AutomationException
hTMLOutput
in interface IHTMLPopupInfo2
pFeature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)pOptions
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String hTMLIdentify(IPoint pPoint, double tolerance) throws IOException, AutomationException
hTMLIdentify
in interface IHTMLPopupIdentify
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String hTMLTipText(IPoint pPoint, double tolerance) throws IOException, AutomationException
hTMLTipText
in interface IHTMLPopupIdentify
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hTMLIdentify(IDisplay pDisplay, IGeometry pGeometry, IPropertySet pOptions, IStringArray[] ppItemNames, IStringArray[] ppItemHTML) throws IOException, AutomationException
hTMLIdentify
in interface IHTMLPopupIdentify2
pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pOptions
- A reference to a com.esri.arcgis.system.IPropertySet (in)ppItemNames
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)ppItemHTML
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDrawingPropsDirty() throws IOException, AutomationException
isDrawingPropsDirty
in interface ILayerDrawingProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDrawingPropsDirty(boolean dirty) throws IOException, AutomationException
setDrawingPropsDirty
in interface ILayerDrawingProperties
dirty
- The dirty (in)
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 |