org.shapelogic.polygon
Interface AnnotatedShape

All Known Implementing Classes:
AnnotatedShapeImplementation, BaseAnnotatedShape, ChainCodeHandler, MultiLine, MultiLinePolygon, Polygon

public interface AnnotatedShape

Interface of an annotated shape. Polygon, MultiLine and ChainCodeHander implement this.

Currently there are a few base classes that implements the functionality in this. And the other subclass them .

Author:
Sami Badawi

Method Summary
 AnnotatedShapeImplementation getAnnotatedShape()
           
 java.util.Set<java.lang.Object> getAnnotationForShapes(GeometricShape2D shape)
           
 java.util.Map<java.lang.Object,java.util.Set<GeometricShape2D>> getMap()
           
 java.util.Set<GeometricShape2D> getShapesForAnnotation(java.lang.Object annotation)
           
 void putAllAnnotation(GeometricShape2D shape, java.util.Set<java.lang.Object> annotationKeySet)
           
 void putAnnotation(GeometricShape2D shape, java.lang.Object annotation)
           
 void setup()
           
 

Method Detail

getMap

java.util.Map<java.lang.Object,java.util.Set<GeometricShape2D>> getMap()

putAnnotation

void putAnnotation(GeometricShape2D shape,
                   java.lang.Object annotation)

setup

void setup()

getAnnotatedShape

AnnotatedShapeImplementation getAnnotatedShape()

getShapesForAnnotation

java.util.Set<GeometricShape2D> getShapesForAnnotation(java.lang.Object annotation)

getAnnotationForShapes

java.util.Set<java.lang.Object> getAnnotationForShapes(GeometricShape2D shape)

putAllAnnotation

void putAllAnnotation(GeometricShape2D shape,
                      java.util.Set<java.lang.Object> annotationKeySet)


Copyright © 2008. All Rights Reserved.