com.metsci.glimpse.charts.vector.display
Class ENCAnnotationHandler
java.lang.Object
com.metsci.glimpse.charts.vector.display.AnnotationHandler<ENCObject>
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCAnnotationHandler
public ENCAnnotationHandler()
ENCAnnotationHandler
public ENCAnnotationHandler(EncAnnotationPainterSpec spec)
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.