com.metsci.glimpse.charts.vector.painter
Class EncChartPainter<V extends GeoObject>

java.lang.Object
  extended by com.metsci.glimpse.painter.base.GlimpsePainterImpl
      extended by com.metsci.glimpse.painter.base.GlimpsePainter2D
          extended by com.metsci.glimpse.charts.vector.painter.EncChartPainter<V>
All Implemented Interfaces:
GlimpsePainter

public class EncChartPainter<V extends GeoObject>
extends GlimpsePainter2D

Draws encobjects.

Author:
cunningham

Field Summary
 
Fields inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
BYTES_PER_FLOAT, logger
 
Constructor Summary
EncChartPainter(GeoProjection projection, double[] annotationZoomRangesInNM, java.util.List<Skin<V>> skins)
           
EncChartPainter(GeoProjection projection, java.util.List<Skin<V>> skins)
           
EncChartPainter(GeoProjection projection, Skin<V> skin)
           
EncChartPainter(GeoProjection projection, Skin<V> skin1, Skin<V> skin2)
           
 
Method Summary
 void addENCObject(V encObject)
           
 void addENCObjects(GeoReader<V> reader)
           
 void addENCObjects(java.util.Iterator<V> encIterator)
           
 void addPainter(GlimpsePainter painter)
           
 void changeSkins(java.util.Iterator<V> encIterator, java.util.List<Skin<V>> skins)
           
 void clearAll()
           
 void dispose(GlimpseContext context)
          Free GPU and CPU memory associated with this this GlimpsePainter.
 void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis2D axis)
           
 void removePainter(GlimpsePainter painter)
           
 void setLookAndFeel(LookAndFeel laf)
          Sets display options for the painter based on the provided LookAndFeel.
 void setZoomAdjustedDisplay(boolean enable)
           
 
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainter2D
paintTo
 
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
isDisposed, isVisible, paintTo, setErrorHandling, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncChartPainter

public EncChartPainter(GeoProjection projection,
                       Skin<V> skin)

EncChartPainter

public EncChartPainter(GeoProjection projection,
                       Skin<V> skin1,
                       Skin<V> skin2)

EncChartPainter

public EncChartPainter(GeoProjection projection,
                       java.util.List<Skin<V>> skins)

EncChartPainter

public EncChartPainter(GeoProjection projection,
                       double[] annotationZoomRangesInNM,
                       java.util.List<Skin<V>> skins)
Method Detail

addPainter

public void addPainter(GlimpsePainter painter)

removePainter

public void removePainter(GlimpsePainter painter)

setLookAndFeel

public void setLookAndFeel(LookAndFeel laf)
Description copied from interface: GlimpsePainter
Sets display options for the painter based on the provided LookAndFeel.

Specified by:
setLookAndFeel in interface GlimpsePainter
Overrides:
setLookAndFeel in class GlimpsePainterImpl

paintTo

public void paintTo(GlimpseContext context,
                    GlimpseBounds bounds,
                    Axis2D axis)
Specified by:
paintTo in class GlimpsePainter2D

clearAll

public void clearAll()

changeSkins

public void changeSkins(java.util.Iterator<V> encIterator,
                        java.util.List<Skin<V>> skins)
                 throws java.lang.Exception
Throws:
java.lang.Exception

addENCObjects

public void addENCObjects(GeoReader<V> reader)

addENCObjects

public void addENCObjects(java.util.Iterator<V> encIterator)
                   throws java.lang.Exception
Throws:
java.lang.Exception

addENCObject

public void addENCObject(V encObject)

dispose

public void dispose(GlimpseContext context)
Description copied from interface: GlimpsePainter
Free GPU and CPU memory associated with this this GlimpsePainter. After this call returns, the results of calling other GlimpsePainter methods besides isDisposed( ) are undefined.

Specified by:
dispose in interface GlimpsePainter
Overrides:
dispose in class GlimpsePainterImpl

setZoomAdjustedDisplay

public void setZoomAdjustedDisplay(boolean enable)


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