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

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

public class ENCAnnotationHandler
extends AnnotationHandler<ENCObject>
implements ContentHandler<ENCObject>

This content handler renders text attributes for ENCObjects. 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 EncAnnotationPainterSpec passed into this class at the constructor.

Author:
Cunningham

Constructor Summary
ENCAnnotationHandler()
           
ENCAnnotationHandler(EncAnnotationPainterSpec spec)
           
 
Method Summary
 GeoAttributeType getAttributeTypeToAnnotate()
           
 java.lang.Integer getScaleMin(ENCObject object)
           
 
Methods inherited from class com.metsci.glimpse.charts.vector.display.AnnotationHandler
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
paintEnc, reset
 

Constructor Detail

ENCAnnotationHandler

public ENCAnnotationHandler()

ENCAnnotationHandler

public ENCAnnotationHandler(EncAnnotationPainterSpec spec)
Method Detail

getAttributeTypeToAnnotate

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

getScaleMin

public java.lang.Integer getScaleMin(ENCObject object)
Specified by:
getScaleMin in interface ContentHandler<ENCObject>
Overrides:
getScaleMin in class AnnotationHandler<ENCObject>


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