net.clackrouter.router.graph
Class CounterView

java.lang.Object
  extended by VertexView
      extended by net.clackrouter.router.graph.DynamicClackView
          extended by net.clackrouter.router.graph.CounterView
All Implemented Interfaces:
ClackPaintable

public class CounterView
extends DynamicClackView

A specialized view to paint an updating counter value instead of the standard view.


Nested Class Summary
static class CounterView.CounterRenderer
           
 
Field Summary
static int VIEW_HEIGHT
           
static int VIEW_WIDTH
           
 
Fields inherited from class net.clackrouter.router.graph.DynamicClackView
mBorderColor, mFillColor, mFont, mFontSize, mName, mStroke, renderer, sBORDER
 
Constructor Summary
CounterView(java.lang.Object cell, JGraph graph, CellMapper cm)
           
 
Method Summary
 CellViewRenderer getRenderer()
           
 
Methods inherited from class net.clackrouter.router.graph.DynamicClackView
clackPaint, getClackView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_WIDTH

public static int VIEW_WIDTH

VIEW_HEIGHT

public static int VIEW_HEIGHT
Constructor Detail

CounterView

public CounterView(java.lang.Object cell,
                   JGraph graph,
                   CellMapper cm)
Method Detail

getRenderer

public CellViewRenderer getRenderer()
Overrides:
getRenderer in class DynamicClackView