nl.cloudfarming.client.area.field.shape
Class ShapeLayerObject
java.lang.Object
nl.cloudfarming.client.area.field.shape.ShapeLayerObject
- All Implemented Interfaces:
- LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
public class ShapeLayerObject
- extends Object
- implements LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
- Author:
- Timon Veenstra
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShapeLayerObject
public ShapeLayerObject(Shape shape)
getObject
public Shape getObject()
- Specified by:
getObject in interface LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
getGeometry
public com.vividsolutions.jts.geom.Geometry getGeometry()
- Specified by:
getGeometry in interface LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
getKey
public String getKey()
- Specified by:
getKey in interface LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
getKeyAttributeValue
public Object getKeyAttributeValue()
- Specified by:
getKeyAttributeValue in interface LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
getTooltipText
public String getTooltipText()
- Specified by:
getTooltipText in interface LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
getId
public Long getId()
- Specified by:
getId in interface LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
getActions
public LayerObjectAction[] getActions()
- Specified by:
getActions in interface LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
save
public void save()
- Shapes should not be persisted.
Therefore Shape.java does not implement persistable and LayerObjectNode will not add the savecookie to the explorerDataProvider.
This save method should never be actually called.
- Specified by:
save in interface LayerObject<com.vividsolutions.jts.geom.Geometry,Shape>
Copyright © 2011. All Rights Reserved.