Class IdentifyGraphicsOverlayResult


  • public class IdentifyGraphicsOverlayResult
    extends java.lang.Object
    Represents an identify result from a single GraphicsOverlay in a GeoView. It contains a list of identified graphics and a reference to the layer from whence they came.
    Since:
    100.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ArcGISRuntimeException getError()
      Returns the error that occurred during the identify operation if there was one, otherwise null is returned.
      java.util.List<Graphic> getGraphics()
      Returns an unmodifiable List of the identified Graphics.
      GraphicsOverlay getGraphicsOverlay()
      Returns the GraphicsOverlay the identify result relates to.
      java.util.List<Popup> getPopups()
      Returns an unmodifiable List of the identified Popups.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getGraphics

        public java.util.List<Graphic> getGraphics()
        Returns an unmodifiable List of the identified Graphics. The list may be empty if no graphics were found, also if true was specified for the returnPopupsOnly parameter in the identify operation. Additionally, the number of identified Graphics may be limited by the maxResults parameter of the identify method.
        Returns:
        an unmodifiable List of the identified Graphics
        Since:
        100.0.0
      • getGraphicsOverlay

        public GraphicsOverlay getGraphicsOverlay()
        Returns the GraphicsOverlay the identify result relates to.
        Returns:
        a GraphicsOverlay object
        Since:
        100.0.0
      • getPopups

        public java.util.List<Popup> getPopups()
        Returns an unmodifiable List of the identified Popups. The number of identified Popups may be limited by the maxResults parameter of the identify method.
        Returns:
        an unmodifiable List of the identified Popups
        Since:
        100.0.0
        See Also:
        Popup
      • getError

        public ArcGISRuntimeException getError()
        Returns the error that occurred during the identify operation if there was one, otherwise null is returned.
        Returns:
        the error that occurred during the identify operation if there was one, otherwise null is returned.
        Since:
        100.0.0
        See Also:
        ArcGISRuntimeException