info.aduna.graphics.render
Class SemanticZoomRenderer

java.lang.Object
  extended by info.aduna.graphics.render.SemanticZoomRenderer

public class SemanticZoomRenderer
extends Object

Renders the details found in a list of SemanticZoomInfoBlocks in a circular area. Whether or not a SemanticZoomInfoBlock is shown depends on its height, the heights of the blocks and separators above it and how much space is available in the rendering area.


Constructor Summary
SemanticZoomRenderer()
           
 
Method Summary
 void add(SemanticZoomInfoBlock block)
           
 void addSeparator(double height)
           
 void render(Graphics2D g, double x, double y, double diameter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemanticZoomRenderer

public SemanticZoomRenderer()
Method Detail

add

public void add(SemanticZoomInfoBlock block)

addSeparator

public void addSeparator(double height)

render

public void render(Graphics2D g,
                   double x,
                   double y,
                   double diameter)


Copyright © 1997-2008 Aduna. All Rights Reserved.