com.metsci.glimpse.charts.vector.display
Class DNCAnnotationHandler

java.lang.Object
  extended by com.metsci.glimpse.charts.vector.display.AnnotationHandler<DNCObject>
      extended by com.metsci.glimpse.charts.vector.display.DNCAnnotationHandler
All Implemented Interfaces:
ContentHandler<DNCObject>

public class DNCAnnotationHandler
extends AnnotationHandler<DNCObject>
implements ContentHandler<DNCObject>

This content handler renders text attributes for DNCObjects. It delegates most of the work to the base class (see class for more info). This classes sole value add is to determine which attribute to render. This is determined from DncAnnotationPainterSpec passed into this class at the constructor.

Author:
Cunningham

Constructor Summary
DNCAnnotationHandler()
           
DNCAnnotationHandler(DncAnnotationPainterSpec spec)
           
 
Method Summary
 GeoAttributeType getAttributeTypeToAnnotate()
           
 
Methods inherited from class com.metsci.glimpse.charts.vector.display.AnnotationHandler
getScaleMin, paintEnc, reset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.metsci.glimpse.charts.vector.display.ContentHandler
getScaleMin, paintEnc, reset
 

Constructor Detail

DNCAnnotationHandler

public DNCAnnotationHandler()

DNCAnnotationHandler

public DNCAnnotationHandler(DncAnnotationPainterSpec spec)
Method Detail

getAttributeTypeToAnnotate

public GeoAttributeType getAttributeTypeToAnnotate()
Specified by:
getAttributeTypeToAnnotate in class AnnotationHandler<DNCObject>


Copyright © 2012 Metron, Inc.. All Rights Reserved.