org.geotools.swing.tool
Class InfoToolResult
Object
InfoToolResult
public class InfoToolResult
- extends Object
Used by InfoToolHelper
classes to pass feature data to the
parent InfoTool
object.
- Since:
- 8.0
- Author:
- Michael Bedward
InfoToolResult
public InfoToolResult()
newFeature
public void newFeature(String id)
- Adds a new feature entry to this result. This must
be called prior to calling the
setFeatureValue
methods.
setFeatureValue
public void setFeatureValue(Name name,
Object value)
setFeatureValue
public void setFeatureValue(String name,
Object value)
getNumFeatures
public int getNumFeatures()
toString
public String toString()
- Overrides:
toString
in class Object
getFeatureData
public Map<String,Object> getFeatureData(int featureIndex)
getFeatureId
public String getFeatureId(int featureIndex)
Copyright © 1996-2014 Geotools. All Rights Reserved.