co.uk.sentinelweb.views.draw.render
Class VecRenderer

java.lang.Object
  extended by co.uk.sentinelweb.views.draw.render.VecRenderer
Direct Known Subclasses:
AndGraphicsRenderer

public abstract class VecRenderer
extends java.lang.Object


Nested Class Summary
static class VecRenderer.Operator
           
 
Field Summary
 java.util.HashMap<DrawingElement,VecRenderer.Operator> animations
           
 Context c
           
 java.util.HashMap<DrawingElement,VecRenderObject> renderObjects
           
 
Constructor Summary
VecRenderer(Context c)
           
 
Method Summary
 void dropCache()
           
 VecRenderObject getObject(DrawingElement de)
           
 void removeFromCache(java.util.Collection<DrawingElement> els)
           
 void removeFromCache(DrawingElement oldDE)
           
abstract  void render(DrawingElement de)
           
abstract  void revertViewPort()
           
abstract  void setup()
           
abstract  void setupViewPort()
           
abstract  void update(DrawingElement de, UpdateFlags flags)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

public Context c

renderObjects

public java.util.HashMap<DrawingElement,VecRenderObject> renderObjects

animations

public java.util.HashMap<DrawingElement,VecRenderer.Operator> animations
Constructor Detail

VecRenderer

public VecRenderer(Context c)
Method Detail

update

public abstract void update(DrawingElement de,
                            UpdateFlags flags)

render

public abstract void render(DrawingElement de)

setup

public abstract void setup()

setupViewPort

public abstract void setupViewPort()

revertViewPort

public abstract void revertViewPort()

removeFromCache

public void removeFromCache(java.util.Collection<DrawingElement> els)

removeFromCache

public void removeFromCache(DrawingElement oldDE)

dropCache

public void dropCache()

getObject

public VecRenderObject getObject(DrawingElement de)