nl.cloudfarming.client.area.field
Class HelpLineLayerObject
java.lang.Object
nl.cloudfarming.client.area.field.HelpLineLayerObject
- All Implemented Interfaces:
- Geographical<com.vividsolutions.jts.geom.MultiLineString>, Geometrical<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
public class HelpLineLayerObject
- extends Object
- implements Geometrical<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
LayerObject representing a plot
- Author:
- Timon Veenstra
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelpLineLayerObject
public HelpLineLayerObject(HelpLine helpLine)
throws IntrospectionException
- Throws:
IntrospectionException
getGeometry
public com.vividsolutions.jts.geom.MultiLineString getGeometry()
- Specified by:
getGeometry in interface Geometrical<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
- Returns:
- The Geometry of type MultiLineString
- See Also:
LayerObject
getObject
public HelpLine getObject()
- Specified by:
getObject in interface Geometrical<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
- Returns:
- The Object of type HelpLine this LayerObject is representing
- See Also:
LayerObject
getKey
public String getKey()
- Specified by:
getKey in interface Geometrical<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
- Returns:
- Key as String
- See Also:
LayerObject
getKeyAttributeValue
public Long getKeyAttributeValue()
- Specified by:
getKeyAttributeValue in interface Geometrical<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
getTooltipText
public String getTooltipText()
- Specified by:
getTooltipText in interface Geographical<com.vividsolutions.jts.geom.MultiLineString>
- Returns:
- TooltipText as String
- See Also:
LayerObject
getId
public long getId()
- Specified by:
getId in interface Geographical<com.vividsolutions.jts.geom.MultiLineString>
- Returns:
- The Id of the wrapped object
- See Also:
LayerObject
getActions
public GeographicalAction[] getActions()
- Specified by:
getActions in interface Geographical<com.vividsolutions.jts.geom.MultiLineString>
- Returns:
- Array with actions for this LayerObject
- See Also:
LayerObject
getPlotAreaService
protected final AreaService getPlotAreaService()
- Returns the service this class is using. Primarily used for unittesting.
- Returns:
- (PlotArea) Service this class is using
setPlotAreaService
protected void setPlotAreaService(AreaService service)
- Returns the service this class is using. Primarily used for unittesting.
- Parameters:
service - (PlotArea) Service this class should be using
getRenderObject
public com.vividsolutions.jts.geom.MultiLineString getRenderObject(com.vividsolutions.jts.geom.Envelope envelope)
- Specified by:
getRenderObject in interface Geographical<com.vividsolutions.jts.geom.MultiLineString>
getCentroid
public com.vividsolutions.jts.geom.Point getCentroid()
- Specified by:
getCentroid in interface Geographical<com.vividsolutions.jts.geom.MultiLineString>
Copyright © 2011. All Rights Reserved.